AgentsSka Posted November 26, 2012 Posted November 26, 2012 I have an Invoice System in which I'd like to define a calculation that analyzes all of the invoice's line items for a status of print ready or ship ready, and set's the order's global status accordingly. In other words, if ALL of the line items status are either "print ready" or "ship ready", set the Invice status to "Good." I can handle that calculation if it was always based on one line item, but I don't know how to handle all of the line items. Please help.
Raybaudi Posted November 26, 2012 Posted November 26, 2012 You'll get ALL of the line items with the List ( ) function. So I think that you could use something like: ValueCount ( FilterValues ( List ( LineItems::Status ) ; "Print Ready¶Ship Ready" ) ) = ValueCount ( List ( LineItems::Status ) )
AgentsSka Posted November 26, 2012 Author Posted November 26, 2012 You'll get ALL of the line items with the List ( ) function. Right. But, then how do I set a calculation that analyzes the list?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now