RetailDevice::setStatusDateTime Method
Updates the Activated/Deactivated date and time based on the device status.
Syntax
server public static void setStatusDateTime(RetailDevice _retailDevice)
Run On
Server
Parameters
- _retailDevice
Type: RetailDevice Table
Device to be updated.
Remarks
If the status is: Pending (Activated=Null, Deactivated= Min. Date), Activated (Activated=Now, Deativated=Null), Deactivated (Activated=Unchanged, Deactivated=Now)