RetailDevice::setStatusDateTime Method [AX 2012]

Updates the Activated/Deactivated date and time based on the device status.

server public static void setStatusDateTime(RetailDevice _retailDevice)

Run On

Server

Parameters

_retailDevice
Type: RetailDevice Table
Device to be updated.

If the status is: Pending (Activated=Null, Deactivated= Min. Date), Activated (Activated=Now, Deativated=Null), Deactivated (Activated=Unchanged, Deactivated=Now)

Show: