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.
Returns the number of days since the last event of the specified type was created.
Syntax
client server public static Integer getDaysSinceCreation(RecId _refRecId, MCROrderEventType _eventType)
Run On
Called
Parameters
- _refRecId
Type: RecId Extended Data Type
The referenced record ID on the order event to be found.
- _eventType
Type: MCROrderEventType Enumeration
The order event type to be found.
Return Value
Type: Integer Extended Data Type
The number of days since the creation of the order event. If events are not being tracked then 0 is returend.
Remarks
Uses the orders event to determine how long it has been since the event was logged.