PdsCWValidation_MinDelta.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 flag that indicates whether the catch weight field should be adjusted from the inventory quantity field.

To avoid the circular update, the update of the opposite field is only being done, if the field has not been set yet.

The calculations also take into account, if a secondary unit has been specified for the regular quantity field.

Community Additions

ADD
Show: