VendInvoiceInfoTable::deepCopyFromActiveToSaved Method
Copies data from the VendInvoiceInfoTable table structure of an active invoice into the table structure of a saved invoice.
Syntax
server public static VendInvoiceInfoTable deepCopyFromActiveToSaved(VendInvoiceInfoTable _activeVendInvoiceInfoTable)
Run On
Server
Parameters
- _activeVendInvoiceInfoTable
Type: VendInvoiceInfoTable Table
VendInvoiceInfoTable table record that represents the structure from which to copy.
Return Value
Type: VendInvoiceInfoTable Table
The saved invoice.
Remarks
Data from child tables of the active invoice will also be copied into child tables of the saved invoice.This method will remove any previously-existing draft invoices before inserting the new copy.