RetailTransactionService::staffChangePassword Method [AX 2012]
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.
client server public static container staffChangePassword(
RetailStaffId _staffId,
RetailStaffPassword _oldPassword,
RetailStaffPassword _newPassword,
boolean changePassword,
[boolean _loginToStore])
Run On
CalledParameters
- _staffId
- Type: RetailStaffId Extended Data Type
ID of the RetailStaffLoginLog.staffId field.
- _oldPassword
- Type: RetailStaffPassword Extended Data Type
ID of the RetailStaffLoginLog.storeId field.
- _newPassword
- Type: RetailStaffPassword Extended Data Type
ID of the RetailStaffLoginLog.terminalId field.
- changePassword
- Type: boolean
A flag indicating if the user has to change the password at next POS login.
- _loginToStore
- Type: boolean
Boolean set to true to login to a particular store, set to false to login with only staffId and Password
Show: