I am trying to parse out a PURCHASE ORDER in QBFC 13. There are 2 line items, in this particular purchase order
One lineitem has an ItemReceipt against it. One lineitem does not.
There is a column to the right of the LineItem that has a column header with the abbreviation CLSD. I think a safe assumption is that this means CLOSED.
I am starting to string together quite a list of conditions involving ReceivedQuantity, Quantity, and UnbilledQuantity trying to figure out if a line is CLOSED.
I looked in the LinkedTxn collection and there is 1 item. But I am having a problem figuring out how to tie a LinkedTxn to a specific POLine. I can look for an ItemMatch, but thats not great, you can have items repeated.
There must be a more straightforward way? Anyone know how to tell if a line is closed? Or more specifically, if the column is marked.