Share via


PurchFormletterParmDataInvoice.createVendInvoiceLineFromPurchAgrLine Method [AX 2012]

Initializes VendInvoiceInfoLine table record by calling the initFromPurchAgreementLine method from the specified AgreementLine record.

Syntax

protected boolean createVendInvoiceLineFromPurchAgrLine(AgreementLine _agreementLine, TradeLineRefId _tableRef)

Run On

Server

Parameters

  • _agreementLine
    Type: AgreementLine Table
    An AgreementLine table record that is used to initialize the new VendInvoiceInfoLine table record.

Return Value

Type: boolean
true if the VendInvoiceInfoLine table record was created; otherwise, false .

See Also

Reference

PurchFormletterParmDataInvoice Class