A Bharatpur wholesaler takes an order at one counter while another employee quotes the same buyer over the phone. Decide which credit checks and overrides to include in a software brief.
A Bharatpur wholesaler takes an order at one counter while another employee quotes the same buyer over the phone. Both staff members see the old balance and approve the sale. If you are commissioning custom software, ask the provider to demonstrate what happens when those orders are saved together.
Agree what counts against the limit
Write down which amounts count. A hypothetical supplier sets a limit of NPR 200,000 and has NPR 150,000 in unpaid invoices and NPR 30,000 in approved orders that have yet to become invoices. Exposure is NPR 180,000, leaving NPR 20,000. An additional NPR 25,000 order would exceed the limit by NPR 5,000. When an order becomes an invoice, remove the corresponding reserved amount as the invoice is counted.
Decide who can make an exception
Your quote should specify which staff may request an exception and who approves it. Ask whether the approval is valid for one order, a period, or a revised limit. Record who approved it, why and what amounts were used at the time. Agree how a cancellation or a payment changes exposure. Decide whether an imported opening balance starts with outstanding transactions or one approved starting total.
Illustrative credit exposure in NPR. Example only.
Require a demonstration with two counters
PostgreSQL documents that a row-level check constraint cannot safely guarantee a condition based on other rows. Ask how the supplier will keep the balance check and order approval together when different people save orders concurrently. An on-screen warning alone gives the buyer little evidence. Have two staff attempt orders that individually fit but together exceed available credit, then review the system's final state.
| Case |
Working result |
| Invoice for an already approved order |
Exposure reflects the amount once |
| Override request |
Order waits for a named approver |
| Two orders competing for credit |
Available credit is recalculated before both can pass |