Share via


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

Remarks

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.

See Also

Reference

PdsCWValidation_MinDelta Class