CustInvoiceLine.insertFromCustInvoiceLineTemplate Method
Sets the fields of CustInvoiceLine or MarkupTrans table, depending on the InstanceRelationType field.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
public void insertFromCustInvoiceLineTemplate(
CustInvoiceLineTemplate _custInvoiceLineTemplate,
CustInvoiceTable _custInvoiceTable,
[CustTable _custTable,
CustRecurrenceInvoiceDefaultType _custRecurrenceInvoiceDefaultType,
RecId _custBillingCodeRecId])
Microsoft Dynamics AX 2012 R2 (SYS)
public void insertFromCustInvoiceLineTemplate(
CustInvoiceLineTemplate _custInvoiceLineTemplate,
CustInvoiceTable _custInvoiceTable,
[CustTable _custTable,
CustRecurrenceInvoiceDefaultType _custRecurrenceInvoiceDefaultType])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void insertFromCustInvoiceLineTemplate(CustInvoiceLineTemplate _custInvoiceLineTemplate, CustInvoiceTable _custInvoiceTable)
Microsoft Dynamics AX 2012 (FPK)
public void insertFromCustInvoiceLineTemplate(CustInvoiceLineTemplate _custInvoiceLineTemplate, CustInvoiceTable _custInvoiceTable)
Microsoft Dynamics AX 2012 (SYS)
public void insertFromCustInvoiceLineTemplate(CustInvoiceLineTemplate _custInvoiceLineTemplate, CustInvoiceTable _custInvoiceTable)
Run On
Called
Parameters
- _custInvoiceLineTemplate
Type: CustInvoiceLineTemplate Table
The record buffer of CustInvoiceLineTemplate table.
- _custInvoiceTable
Type: CustInvoiceTable Table
The record buffer of CustInvoiceTable table.
- _custTable
Type: CustTable Table
The record buffer of CustInvoiceTable table.
- _custRecurrenceInvoiceDefaultType
Type: CustRecurrenceInvoiceDefaultType Enumeration
The default type for customer recurrence invoice setup.
- _custBillingCodeRecId
Type: RecId Extended Data Type