MCROrderEventTable::findTheMostRecentFTCClockEvent Method
Returns the latest clock event for the given sales order.
Syntax
client server public static MCROrderEventTable findTheMostRecentFTCClockEvent(SalesId _salesId, [boolean _forUpdate])
Run On
Called
Parameters
- _salesId
Type: SalesId Extended Data Type
The salesId of the order event to find.
- _forUpdate
Type: boolean
Specifies whether to mark the found record for update.
Return Value
Type: MCROrderEventTable Table
The latest clock event - be it started or stopped for the given salesId.