InventTrans::physicalUpdateSign Method
Checks whether the inventory transaction update is physical and the direction.
Syntax
client server public static int physicalUpdateSign(
StatusIssue _afterStatusIssue,
StatusReceipt _afterStatusReceipt,
StatusIssue _beforeStatusIssue,
StatusReceipt _beforeStatusReceipt)
Run On
Called
Parameters
- _afterStatusIssue
Type: StatusIssue Enumeration
The StatusIssue enumeration value the update is going towards.
- _afterStatusReceipt
Type: StatusReceipt Enumeration
The StatusReceipt enumeration value the update is going towards.
- _beforeStatusIssue
Type: StatusIssue Enumeration
The StatusIssue enumeration value the update is coming from.
- _beforeStatusReceipt
Type: StatusReceipt Enumeration
The StatusReceipt enumeration value the update is coming from.
Return Value
Type: int
-1 if the update is physical and the direction is going from physical to estimated.0 if the update is not physical.1 if the update is physical and the direction is going from estimated to physical.