MCRCustCreditTable::generateRemainingCredit Method
Generates remaining credit based on the entire invoice if the order was partially invoiced before.
Syntax
client server public static void generateRemainingCredit(InventTransId _inventTransId, SalesInvoicedQty _oldQty)
Run On
Called
Parameters
- _inventTransId
Type: InventTransId Extended Data Type
The InventTransID of the order for which credits were applied.
- _oldQty
Type: SalesInvoicedQty Extended Data Type
The SalesInvoicedQty quantity that was invoiced in part.
Remarks
When an order is partially invoiced we only credit them based on how much was invoiced. So when the order is invoiced again we need to generate the remaining credit.