AdvanceIssue
Updated
An advance to an employee: money given from a cash desk or a bank account for the employee to spend on the company's behalf and account for with an AdvanceReport. What they do not spend comes back with an AdvanceReturn.
| Kind | Document |
| Module | HR |
| Menu | HR → Operations → Advances to employees |
Fields#
| Field | Caption | Points at |
|---|---|---|
ID |
Number | number sequence |
Employee |
Employee | Employee |
LegalEntity |
Legal entity | LegalEntity: the legal entity of the employee's division unless set |
CashDesk |
Cash desk | CashDesk |
BankAccount |
Bank account | BankAccount |
Currency |
Currency | Currency: the desk's or the bank account's unless set |
Amount |
Amount | money |
Purpose |
Purpose | string, 256: what the money is for |
CashFlowItem |
Cash-flow item | CashFlowItem: the analytics rules' item, else the item for other payments |
ExchangeRate |
Exchange rate | decimal, precision 18, scale 8 |
Employee, LegalEntity, Currency and Amount are required. An advance goes through a cash desk or a bank account, exactly one of them, and Currency must be its currency. Empty Exchange rate means one and is refused when the document currency differs from the legal entity's. Picking the employee fills the legal entity of their division; picking a desk or a bank account fills its currency. A draft saved with them empty takes the same.
ID comes from AdvanceIssueSeq: ADV-{YYYY}- and six digits.
Commands and states#
| State | Command | What happens |
|---|---|---|
| Draft | Post advance | Posted. Desk or bank balance falls by Amount; the employee's balance on the accountable persons account rises by it. |
Post advance (PostAdvanceIssue) is bound to Draft only. Posted is read-only. The stored captions match the names: Draft, Posted.
The command refuses, with a message, an advance without an employee or an amount, with neither or both of a desk and a bank account, in another currency than the desk's, without a rate for a foreign currency, dated in a closed month or outside every fiscal period, or whose ledger accounts are not set: Accountable persons account in AccountingSettings, and the desk's or the bank account's ledger account (else Cash account). A refused advance moves nothing. Posting an advance made for a business trip settles that trip.
Registers#
On Posted:
CashBalanceminus Amount, when Cash desk is set (AdvanceIssueMoneyTx).BankBalanceminus Amount, when Bank account is set (AdvanceIssueMoneyTx).AdvanceIssueGLTxwrites GL: debit Accountable persons account with the employee, credit the desk's or bank account's ledger account with the cash-flow item, at amount × exchange rate.