RetailConcessionContractInvoiceHistory::updateAllOpenTrans Method
Updates all open invoice history transactions which do not have the InvoiceId field updated.
Syntax
server public static void updateAllOpenTrans(RetailConcessionContractId contractId)
Run On
Server
Parameters
- contractId
Type: RetailConcessionContractId Extended Data Type
A value for the ContractId field based on which transactions are checked and updated.
Remarks
This method checks for whether the transaction is an open sales order, updating the history as inactive if it is not.
When the sales order is invoiced then this method updates the value for the InvoiceId field from the CustInvoiceJour table.