VendInvoiceInfoTable::deepCopyFromSavedToActive Method
Copies data from the VendInvoiceInfoTable table structure of a saved invoice into the table structure of an active invoice.
Syntax
server public static VendInvoiceInfoTable deepCopyFromSavedToActive(
VendInvoiceInfoTable _savedVendInvoiceInfoTable,
ParmId _parmId,
[boolean _creditRemaining])
Run On
Server
Parameters
- _savedVendInvoiceInfoTable
Type: VendInvoiceInfoTable Table
A VendInvoiceInfoTable table record that represents the structure from which to copy the data.
- _parmId
Type: ParmId Extended Data Type
The parameter ID for the active invoice.
- _creditRemaining
Type: boolean
A Boolean value that indicates whether the remaining quantity on a credit note should be reversed.
Return Value
Type: VendInvoiceInfoTable Table
The active invoice.
Remarks
Data from child tables of the saved invoice will also be copied into child tables of the active invoice.