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.
Method is used for updating the RetailStaffLoginLog.staffId with the value in _staffId if the record exists in RetailStaffLoginLog; else creates the record in RetailStaffLoginLogtable.
Syntax
client server public static container staffLogin(
RetailStaffId _staffId,
RetailStoreId _storeId,
RetailTerminalId _terminalId,
RetailStaffPassword _password)
Run On
Called
Parameters
- _staffId
Type: RetailStaffId Extended Data Type
ID of the RetailStaffLoginLog.staffId field.
- _storeId
Type: RetailStoreId Extended Data Type
ID of the RetailStaffLoginLog.storeId field.
- _terminalId
Type: RetailTerminalId Extended Data Type
ID of the RetailStaffLoginLog.terminalId field.
- _password
Type: RetailStaffPassword Extended Data Type
RetailStaffPassword
Return Value
Type: container
The status as a container.
Exceptions
| Exception | Condition |
|---|---|
| Error | Throws error if fails to create/update. |