Hi,
Which data entity contains the PO line item invoiced amount?
I have noticed that PurchPurchaseOrderLineV2Entity has the field PURCHASEORDERLINESTATUS = 1 as long as the PO Line item is not fully invoiced.
The table PurchLine has a field REMAINPURCHPHYSICAL which contains that PO Line Item invoiced quantity, so I guess I can multiply (PurchQuantity - REMAINPURCHPHYSICAL) * PurchAmount.
The issue is that the field REMAINPURCHPHYSICAL doesn't exist in the PurchPurchaseOrderLineV2Entity. Also there could be chances were the user just updates the invoice amount and not the quantity.
What is the best practice to acheive this.
Thanks.