Share via


PdsCWValidation.adjustQtyPair Method [AX 2012]

Syncs a pair of catch weight and inventory quantity fields.

Syntax

protected void adjustQtyPair(PdsCWQtyFieldPair _fieldPair, [boolean _adjustCWQty])

Run On

Called

Parameters

  • _adjustCWQty
    Type: boolean
    A Boolean value that indicates whether the catch weight field should be adjusted from the inventory quantity field; optional.

Remarks

To avoid a circular update, the update of the opposite field is only being done when the field has not been set yet.The calculations consider if a secondary unit has been specified for the regular quantity field.

See Also

Reference

PdsCWValidation Class