ProjIntercompanyCustomerInvoiceCreator::runFromOrigTransList Method [AX 2012]

Creates a project intercompany invoice from a ProjTmpIntercompanyTransactionSelection record, which is a temporary table with a "select" field that enable users to choose which transactions to invoice.

server public static CustInvoiceTable runFromOrigTransList(
    List _origTransList, 
    InvoiceDate _invoiceDate, 
   [CustInvoiceTable _existingInvoice])

Run On

Server

Parameters

_origTransList
Type: List Class
A List of ProjIntercompanyInvoiceOrigTrans objects to create the invoice from.
_invoiceDate
Type: InvoiceDate Extended Data Type
The invoice date for the new invoice.
_existingInvoice
Type: CustInvoiceTable Table
An optional CustInvoiceTable where the lines will be added to.

Return Value

Type: CustInvoiceTable Table
CustInvoiceTable created from the given parameters.
Show: