PdsCWQtyFieldPair::constructFromFieldIds Method [AX 2012]

Initializes a new instance of the PdsCWQtyFieldPair class.

client server public static PdsCWQtyFieldPair constructFromFieldIds(
    FieldId _cwFieldId, 
    FieldId _qtyFieldId, 
    FieldId _unitFieldId, 
   [boolean _allowQtyEdit])

Run On

Called

Parameters

_cwFieldId
Type: FieldId Extended Data Type
A fieldId value to use as the cwFieldId parameter value.
_qtyFieldId
Type: FieldId Extended Data Type
A fieldId value to use as the qtyFieldId parameter value.
_unitFieldId
Type: FieldId Extended Data Type
A fieldId value to use as the unitFieldId parameter value.
_allowQtyEdit
Type: boolean
A Boolean value that indicates whether the quantity ID can be edited.

Return Value

Type: PdsCWQtyFieldPair Class
A new instance of the PdsCWQtyFieldPair class.
Show: