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