InventTransWMS_Register.canUpdateTransSerialId Method [AX 2012]
Determines whether the serial numbers can be assigned to the specified InventTrans record.
Syntax
public boolean canUpdateTransSerialId(
InventTrans _inventTrans,
InventMovement _movement,
[InventTransOrigin _inventTransOrigin,
boolean _errorText])
Run On
Client
Parameters
- _inventTrans
Type: InventTrans Table
A InventTrans record to validate.
- _movement
Type: InventMovement Class
The InventMovement object for which the registration is made.
- _inventTransOrigin
Type: InventTransOrigin Table
The InventTransOrigin record that is referenced by the _inventTrans parameter; optional.
- _errorText
Type: boolean
A Boolean value that indicates whether an error message should be shown in the infolog; optional.
Return Value
Type: boolean
true if the validation succeeded; otherwise, false .