PurchFormletterParmDataBOE_IN.createParmLine Method [AX 2012]

Creates a purchase parameter line and purchase parameter asset line for the given purchase line.

protected boolean createParmLine(
    Common _purchLine, 
    TradeLineRefId _tableRef, 
   [PurchQty _purchQty, 
    InventQty _inventQty, 
    boolean _callFromCreateParmLineAndSubLines, 
    PurchQty _previousPurchQty, 
    InventQty _previousInventQty, 
    PurchQty _previousPurchQtyVariance, 
    InventQty _previousInventQtyVariance])

Run On

Server

Parameters

_purchLine
Type: Common Table
The purchase line to reference when you create the parameter lines.
_tableRef
Type: TradeLineRefId Extended Data Type
A TradeLineRefId value that is used on the purchase parameter line.
_purchQty
Type: PurchQty Extended Data Type

_inventQty
Type: InventQty Extended Data Type

_callFromCreateParmLineAndSubLines
Type: boolean

_previousPurchQty
Type: PurchQty Extended Data Type

_previousInventQty
Type: InventQty Extended Data Type

_previousPurchQtyVariance
Type: PurchQty Extended Data Type

_previousInventQtyVariance
Type: InventQty Extended Data Type

Return Value

Type: boolean
true if the parameter lines are created successfully; otherwise, false.

Community Additions

ADD
Show: