MCRContinuityCustHeader::markEndRecord Method
Selects a continuity line to update if no continuity customer lines have a continuity action code of end. The selected line's continuity action code is updated to end.
Syntax
client server public static void markEndRecord(InventTransId _inventTransId)
Run On
Called
Parameters
- _inventTransId
Type: InventTransId Extended Data Type
The inventory transaction ID used to find matching continuity customer lines.
Exceptions
Exception | Condition |
---|---|
Error | Thrown if unable to update the continuity line. |
Remarks
The record to change to have a continuity action code of end is chosen in the following manner:
The record with the highest event ID
If there are multiple records with the highest event ID, then the one with the highest record ID will be picked.
If the record that is picked has an action code of skip, it will not be changed.