PdsCWValidation.adjustQtyPair Method [AX 2012]

Syncs a pair of catch weight and inventory quantity fields.

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

Run On

Called

Parameters

_fieldPair
Type: PdsCWQtyFieldPair Class
The field pair specification.
_adjustCWQty
Type: boolean
A Boolean value that indicates whether the catch weight field should be adjusted from the inventory quantity field; optional.

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.

Community Additions

ADD
Show: