Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether the value of the catch weight quantity field is the 'Last box'.
Syntax
public boolean lastCWunit(PdsCWQtyFieldPair _fieldPair, boolean _parmUnitSet)
Run On
Called
Parameters
- _fieldPair
Type: PdsCWQtyFieldPair Class
An initialized instance of the PdsCWQtyFieldPair class that defines the standard and catch weight fields for a specified data source.
- _parmUnitSet
Type: boolean
A Boolean value that indicates whether the catch weight quantity is the field that requires an update; optional.
Return Value
Type: boolean
true if the catch weight quantity is all of the inventory in a specified InventDim buffer and the remaining inventory quantity is in the catch weight quantity range; otherwise, false.
Remarks
In most cases the catch weight quantity is the value that is changed and the standard quantity field is the value which must be updated.When it is determined that the catch weight quantity is the last material in the inventory dimension and the remaining inventory quantity is in the acceptable range for the specified catch weight quantity, the remaining inventory quantity is placed in the inventqty field and this method will return true.When the catch weight quantity is not the 'Last Box' or when the remaining inventory is outside of the range for the specified catch weight quantity, no update will be performed.