📊 Sales summary
Updated
The Sales summary is the sales ledger by line: every posted sales realization line — and every return line — with who bought, what, at what price, from which store and cell, through which channel, by which agent, from which batch, and a link to the realization itself. It answers "what did we sell, to whom, and where did the goods come from" without opening documents one by one.
How the process works#
Sales order (Order source, Agent) ──► Sales realization ──► Released
│
one movement per line ──► SalesRealizationDetail register
│
Sales → Inquiries → Sales summary
- Releasing a sales realization writes one movement per line into the
SalesRealizationDetailregister: customer, contract, outlet, legal entity, agent, sales channel, item, unit, price, discounts, store, cell, batch and its receipt, the document and functional currencies, quantity and amounts. - A return writes its own negative movement per line. It carries the agent and the sales channel of the realization it returns, so a return nets against the sale it undoes.
- Sales → Inquiries → Sales summary groups and totals those movements for a period.
What the report shows#
| Column | Where it comes from |
|---|---|
| Sales invoice | The realization (a link that opens it). A return line shows the realization it returns. |
| Sale / return, Document number | Whether the line is a sale or a return, and its own number. |
| Customer, Contract, Outlet, Legal entity | The realization's header. |
| Agent | The realization's agent; an invoice made from an order inherits the order's. |
| Sales channel | The Order source of the sales order the realization was made from: online store, retail, sales representative, marketplace, phone, direct, other. A direct realization has none. |
| Item, Unit, Price, Line discount, %, Document discount, % | The line. |
| Store, Cell | Where the goods left from. The cell appears with addressed storage. |
| Batch, Batch receipt | The batch the line moved and the receipt it came in with (batches and serial numbers). A line whose batches were picked automatically shows the split: A × 7; B × 3. |
| Document currency, Functional currency | The contract's currency and the legal entity's. |
| Quantity, Base quantity, Amount, Revenue | Sold (sales in the period) and Returned (returns in the period). Amount is in the document currency, revenue in the functional currency. |
Amounts in different currencies are never added together: the report always groups by Document currency first. By default it then groups by customer, sales invoice, item and batch; any other column can be added as a grouping.
Example with numbers#
An online-store order for 10 tins of paint at 12.50 is released from the picking cell A-01-03. The store holds 7 tins of batch L-0412 and 5 of L-0507; the paint picks its batches automatically. A customer later returns 1 tin.
| Sale / return | Sales channel | Item | Price | Cell | Batch | Sold qty | Sold amount | Returned qty | Returned amount |
|---|---|---|---|---|---|---|---|---|---|
| Sale | Online store | Paint | 12.5 | A-01-03 | L-0412 × 7; L-0507 × 3 | 10 | 125.00 | ||
| Return | Online store | Paint | 12.5 | R-01-01 | 1 | 12.50 |
Boundaries and edge cases#
- The register is filled when a realization or return is posted. Realizations posted before this report existed are not filled in afterwards: they appear once they are posted again.
- The sales channel is the order's. A realization made without an order has no channel; set Order source on the order.
- A return line is linked to the realization the return names, not to a specific realization line.
- Cell and batch are empty without addressed storage and batches.
What is posted#
Nothing beyond the realization's own postings: the report reads the SalesRealizationDetail register, which SalesRevenueTx (realization) and SalesReturnRevenueTx (return) write next to Revenue. Its functional revenue is the same number as the Revenue movement of the line.
Same topic for other readers: User