4.10 WFS_CMD_CDM_SET_CASH_UNIT_INFO

Description This command is used to adjust both cash unit counters and cash unit IDs. In addition to that, application locks for cash units can be either installed or removed. It is also useful for setting or altering threshold values of cassettes.

This command can be used when a problem has occurred and the start and end cash unit exchange is not acceptable.

The following parameters defined in the WFSCDMCASHUNIT structure cannot be set by the application and, therefore, are ignored by this command:
bDevLock
usStatus
lpPhysicalPositionName
lppPhysical[]->usPStatus
lppPhysical[]->lpPhysicalPositionName

Input Param LPWFSCDMCUINFO lpCUInfo;
For a description of the WFSCDMCUINFO structure, see the WFS_INF_CDM_CASH_UNIT_INFO command.

Output Param None.

Error Codes The following additional error codes can be generated by this command:

Value Meaning

WFS_ERR_CDM_CASHUNITERROR A cash unit specified caused a problem. A WFS_EXEE_CDM_CASHUNITERROR execute event is posted with the details.

WFS_ERR_CDM_INVALIDCASHUNIT Invalid cash unit ID.

WFS_ERR_CDM_INVALIDTELLERID Teller ID not present in service provider’s teller ID list

WFS_ERR_CDM_EXCHANGEACTIVE The CDM service is in an exchange state (see WFS_CMD_CDM_START_EXCHANGE).

Events The following additional events can be generated:

Value Meaning

WFS_SRVE_CDM_CASHUNITINFOCHANGED A cash unit was changed.

Comments This command generates a service event (WFS_SRVE_CDM_CASHUNITINFOCHANGED) that allows applications to be aware that they should update their cash unit status for the service