PurchFormletterParmDataSAD.createParmLine Method [AX 2012]

Creates a new record in the VendInvoiceInfoLine table.

protected boolean createParmLine(
    Common _purchLine, 
   [TradeLineRefId _tableRef, 
    boolean _callFromCreateParmLineAndSubLines])

Run On

Server

Parameters

_purchLine
Type: Common Table
A record in the PurchLine table that is used to initialize the new record in the VendInvoiceInfoLine table.
_tableRef
Type: TradeLineRefId Extended Data Type
The table reference of the new record in the VendInvoiceInfoLine table.
_callFromCreateParmLineAndSubLines
Type: boolean
If called from the createParmLineAndSubLines we always want normal behaviour, even though we are creating a packing slip.

Return Value

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

If this method is called from the createParmLineAndSubLines method this should use regular behavior, even though a packing slip is being created.

Community Additions

ADD
Show: