4.12 WFS_CMD_CDM_END_EXCHANGE

Description This command is initiated after a cash unit has been exchanged, refilled, etc. It supplies the latest cash unit information and cash unit IDs. Cash units are set as ready (e.g., lifted upwards; there may also be a dispenser test), any cash unit inoperative conditions are cleared, and reject counters are reset; the current status of the safe door is ignored. After this command the cash dispenser service will accept a WFS[Async]Unlock request.

The service provider may be able to obtain cash unit information directly from the dispenser device, such as cash unit ID and replenishment state. In this case, the corresponding input parameters to this command may be ignored.

Errors can be generated by this command. When a cash unit error is returned, the application must issue a WFS_INF_CDM_CASH_UNIT_INFO command to get the cash unit status.

Input Param LPWFSCDMCUINFO lpCUInfo;
For a description of the WFSCDMCUINFO structure, see the definition of the WFS_INF_CDM_CASH_UNIT_INFO command. If this pointer is NULL, the contents of the cash units are not changed.

Output Param None.

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

Value Meaning

WFS_ERR_CDM_NOEXCHANGEACTIVE There is no exchange active

WFS_ERR_CDM_INVALIDCASHUNIT Invalid cash unit ID

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

Events The following additional events can be generated by this command:

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, using the WFS_INF_CDM_CASH_UNIT_INFO command.