AgentCashHandover
Updated
An agent cash handover moves the cash a sales person collected from customers into a cash desk. The agent says Hand over to cash desk; the money moves only when the cashier presses Accept cash.
| Kind | Document |
| Module | Sales |
| Menu | Sales → Field → Agent cash handovers |
| State change | Command |
| Movements | Posting script — on Accepted |
Fields#
| Field | Caption | Points at |
|---|---|---|
ID |
Number | number sequence |
Agent |
Agent | SalesPerson, required |
CashDesk |
Cash desk | CashDesk, required to accept |
Amount |
Amount | money |
LegalEntity |
Legal entity | LegalEntity |
Notes |
Notes | string, 1000 |
ID comes from AgentCashHandoverSeq, which starts at 1000 and steps by 1. This document has no table part.
Commands and states#
| State | Command | What happens |
|---|---|---|
| Draft | Fill what the agent holds | Amount = the agent's balance in AgentCash. |
| Draft | Hand over to cash desk | Handed over. Nothing moves. Refused when Amount is zero or above what the agent holds. |
| Draft, Handed over | Accept cash | Accepted. Refused without Cash desk, with zero Amount, or above what the agent holds. |
| Handed over | Reject | Rejected. Nothing moves; the cash stays on the agent. |
Draft is the initial state. Accepted and Rejected are read-only. The stored values are Draft, Submitted, Accepted, Rejected; the screen shows Handed over for Submitted.
Registers#
On Accepted:
AgentCashminus Amount, by agent.CashBalanceplus Amount, by cash desk.- The ledger moves the amount from the default cash account of the accounting settings to the desk account (Dr desk account, Cr default cash account), only when Legal entity is set and the two accounts differ.
Where next#
Was this page helpful?