November 26, 201213 yr 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.
November 26, 201213 yr 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 ) )
November 26, 201213 yr Author 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?
Create an account or sign in to comment