Sales Report
See sales, cost and gross profit by item, document, salesman, hour, period, branch or customer category, and tie sales to the money collected. Finalised documents are what count, with three exceptions named below (voided receipt vouchers on Daily Cashflow Analysis, card settlements of any status on Receipt with Credit Card, and redemptions on Voucher Redemption), returns and credit notes reduce the figures, and the profit is only as good as the cost basis you choose: an item with no cost on that basis shows 100% GP.
Your job, and the screen for it
| The job | Screen or tab | Read |
|---|---|---|
| See sales, cost and gross profit by item — an item with no cost on the basis you chose shows 100% GP | SR By Item Code, choosing Calculate Base On in the advanced search | Screens and menus; Advanced search |
| Compare salesmen’s sales and margins | SR By Salesman, Daily GP By Salesman | Screens and menus |
| Tie the day’s sales to the money collected | Daily Cashflow Analysis, Daily Summary, Receipt with Credit Card, Collection Invoice Detail | Screens and menus |
| Check a landlord’s monthly turnover statement before you sign it — the landlord’s hourly feed counts differently | Hourly SR for the same branch and month | Hourly SR and a landlord’s hourly sales feed |
| See sales by date, branch, item, salesman, vendor or category as charts | Dashboard — hidden until DISPLAY_DASHBOARD is on and you hold DISPLAY_SALES_REPORT_DASHBOARD | The Dashboard |
| Export a report | The grid’s status bar (PDF and Excel) | Grid and export |
| Set up item costs, categories and who sees which report and cost column | Inv Item Maintenance applet; Settings › Application Settings and the permission listings | Before you can use it; Applet settings |
Overview
The Sales Report applet is a set of read-only grid reports, mostly over finalised documents — cash bills, sales invoices, sales returns, trade-ins and (for the collection reports) receipt and payment vouchers. Sales managers use it to see sales, cost, gross profit and delta margins by item, document, salesman, hour, day / week / month, branch or customer category; finance uses the collection, credit-card receipt and cashflow views to tie sales to money received.
Every grid report has the same shape: an advanced search on top, an ag-grid listing with totals, and export from the grid’s status bar. Which reports, which cost columns and which cost basis a user sees is decided by applet settings paired with client-side permissions.
Where it fits
| Direction | Document / applet | How it connects |
|---|---|---|
| Upstream | POS General, Sales Invoice (Internal), Sales Return (Internal) | INTERNAL_SALES_CASHBILL, INTERNAL_SALES_INVOICE, INTERNAL_SALES_RETURN in FINAL are the rows of most reports |
| Upstream | Sales Credit Note (Internal), Sales Debit Note (Internal) | Included in SR By Salesman (the CM column) |
| Upstream | Non Stock and Trade In | Sales trade-in lines (INTERNAL_SALES_TRADE_IN) in SR By Item Code, SR By Document, Daily GP By Salesman and SR By Salesman, whose MA cost is the trade-in stock record’s purchase price (the other cost bases use the line’s own figures); purchase trade-ins (INTERNAL_PURCHASE_TRADE_IN) in Multi Branch Sales only |
| Upstream | Receipt Voucher (Internal), Payment Voucher (Internal) | Daily Cashflow Analysis, Daily Summary, Receipt with Credit Card, Collection Invoice Detail, Multi Branch Sales |
| Upstream | Inv Item Maintenance, Pricebook, Customer, Cashbook, Organisation | Item categories 1–20, item types, cost and reference prices; pricing scheme; customer category and state; cashbook; branch / company |
| Upstream | Voucher Management, Membership Admin | Voucher Redemption report; Sales Item and Collection Invoice shows each invoice line’s item points. No report here lists members’ points transactions |
| Sibling | Daily Cashier Report | Z Report and Cashier Collection (same backend service family) |
| Sibling | Sales Report Supplier Access | The supplier-facing subset of SR By Item Code |
Screens and menus
Each menu item can be removed with its HIDE_<MENU>_MENU setting unless the user holds the matching SHOW_<MENU>_MENU permission (see Configuration). The Dashboard is the exception: it is hidden until switched on (below). The reports read FINAL documents, with three exceptions. Daily Cashflow Analysis also runs a query over VOID receipt vouchers and returns them as a section of their own. Receipt with Credit Card lists the active card settlement lines, on an active cashbook, of any active document, whatever its type or posting status, so a draft or voided cash bill paid by card appears there. Voucher Redemption lists redeemed tickets by redemption date without checking the redeeming document’s posting status.
| Menu item | Documents | Main columns |
|---|---|---|
| SR By Item Code | Cash bill, invoice, return, sales trade-in | Item, type, UOM, branch, location, location / company stock balance, qty sold, sales amount, sales cost, landed cost, GP and GP% (MA cost, MA + landed), categories 1–20 |
| SR By Document | Cash bill, invoice, return, credit note, debit note, sales trade-in — a fixed list the screen sends (a search by Invoice No sends invoices only); there is no document-type picker | Branch, location, delivery location, customer code / name / state, ref 1–2, salesman, created by, shipping entity, pricing scheme, item, date / time, doc type / no, doc and line remarks, qty, unit price, unit cost, delta unit cost, gross amount, discount, net, tax, txn amount, GP |
| SR By Finance Charges | Cash bill, invoice, return | Item, qty sold / returned, standard price, discount, net price, net amount, finance rate and charge, sales cost, GP |
| SR By Daily Weekly Monthly | Cash bill, invoice, return | Period, salesman, customer, item, qty, amount, sales cost, GP |
| Daily Cashflow Analysis | Cash bill, invoice, return, refund note, receipt voucher; payment vouchers and returns in a separate section; voided receipt vouchers in a section of their own | Section, branch, customer, doc, remarks, client docs 1–5, doc links, payment info, amount, then cash / card / cheque / PD cheque / coupon / bank transfer / e-wallet / other / DuitNow QR |
| Hourly SR | Cash bill, invoice, return | Branch, item, one column per hour, total row |
| Daily GP By Salesman | Cash bill, invoice, return, sales trade-in | Salesman, date, sales, return, INV and SR counts and Avg On INV (these count item lines, not documents: a three-line invoice counts three), units, net sales, cost, GP, GP%, delta cost / GP / GP% |
| SR By Salesman | Cash bill, invoice, return, credit note, debit note, sales trade-in | Salesman, sales, returns, CM, net sales, cost, GP, GP%, delta cost / GP / GP%, net margin; optional group by salesman |
| Multi Branch Sales | Cash bill, invoice, return, GRN, purchase trade-in, receipt and payment vouchers | Date, branch, sales before / after tax, returns, GP, GRN before / after tax, trade-in, collection, payment |
| Daily Summary | Receipt and payment vouchers | Date, collection, payment voucher, receipts by cash / cheque / PD cheque / card / coupon / e-wallet / other, open balance |
| Receipt with Credit Card | Card settlement lines on any document — cash bill, invoice or receipt — of any posting status (see above) | Cashbook, payment method, doc, payer, card no / name, approval code, batch, amount, card charges, net |
| Collection Invoice Detail | FINAL cash bills, invoices, returns and sales trade-ins, each with its item lines and the documents knocked off against it | Document, amount before / after tax, balance, item, contra doc, contra amount, settlement method, salesman, customer. Another finalised document that has knock-offs can appear too. Items and contras are placed side by side by position only: an item and a receipt on the same row are not an allocation of that receipt to that item, and the document’s header amounts repeat on every row. Amount Contra also repeats once per line of the knock-off document, so do not total that column |
| SR By Serial Number | Cash bill, invoice and return lines that carry serial numbers (a line with none is left out) | Branch, customer, salesman, item, doc, serial number, qty, prices, discount, apportioned discount, net. One row per serial number, each with qty 1 but the whole line’s amounts, cost and GP — a line of three serialised units appears three times at its full value, so the totals overstate it. Take amounts from SR By Document |
| Sales Item and Collection Invoice | FINAL invoice and cash-bill lines, with the sales order, sales return and receipts linked to them | Invoice, SO, item, sold / returned, net price, tax, finance cost and rate, MA unit / total cost (with the SERVICE_ITEM_SHOW_DELTA_PERCENTAGE_PRICE option, a service line with a delta-price-1 percentage is costed at its net price times that percentage instead), margin, item points, receipt and receipt mode |
| SR By Item Salesman Customer Category | Cash bill, invoice, return | Two configurable group-by levels (item category level 1–10), salesman, customer, state, total, cost, GP |
| Voucher Redemption | Redeemed vouchers, by redemption date | Redemption date, voucher code / name / type, serial, amount (the redeeming document line’s amount), validity / assignment / redemption / cancellation status, company, branch, doc type and no, document date, entity. The company and branch you choose blank the document columns of other companies’ redemptions rather than leaving them out (a known issue, reported to engineering) |
The Dashboard
A page of charts, tables and score cards you arrange and save. Each block draws on one of two sources. Sales (live) asks the server, block by block, for finalised cash bills, invoices, returns and sales trade-ins (item lines only): sales amount (net, returns deducted), quantity, return amount and number of documents, grouped by date (day, week, month, quarter or year), hour, branch, store, region or state of the store, item, item category 1–5, salesman, vendor or customer, optionally cut to the top N; it carries no cost or GP. The other source is your saved Dynamic Report outputs, whose stored columns — costs among them, if the report has them — a block can chart as they are.
For the live source, Vendor is one supplier per item — the earliest supplier link on the item — so an item bought from two suppliers counts under one. A block that would return more rows than the server’s limit (20,000 unless the server is configured otherwise) is refused with Too many rows for one dashboard block; use fewer groupings or a shorter period. Dates are grouped in your browser’s time zone.
It needs both the setting DISPLAY_DASHBOARD (Application Settings › Display) and the permission DISPLAY_SALES_REPORT_DASHBOARD; a bookmarked dashboard link without them opens SR By Item Code instead. The server answers the live source under the SR By Item Code read permission and applies that permission’s branch targets.
One further report exists but is not in the menu: a general purchase / sales / inventory report. A member reward redemption route also exists in the build, but it is not a report: the screen calls no endpoint and shows the Item-Salesman-Customer-Category report’s rows under its own column headings, and the backend’s member-points reward-redemption endpoint has no caller in this applet.

Screenshot withdrawn; a recapture from a demo tenant is on the list.

Screenshot withdrawn; a recapture from a demo tenant is on the list.
Screenshot withdrawn; a recapture from a demo tenant is on the list.
Screenshot withdrawn; a recapture from a demo tenant is on the list.




Screenshot withdrawn; a recapture from a demo tenant is on the list.
Screenshot withdrawn; a recapture from a demo tenant is on the list.

Screenshot withdrawn; a recapture from a demo tenant is on the list.
Advanced search
Fields vary per report; the common ones are Branch (multi-select, grouped by company, limited to the branches the user’s API permission targets), Date range (or Date Option for Multi Branch Sales), Customer, Customer Category, Salesman, Shipping Entity, Item Code, Item Type (basic, grouped, NSTI, bundle, coupon, service, warranty, GL code, header adjustment …), Item Status, Item Category Level 1–20, Calculate Base On (cost basis, see below), Sales Lead (sales-lead type / label), Optional (HIDE_GL_CODE_TYPE — leave GL-code lines out), Invoice No (SR By Document), Cashbook and Credit Card item (Receipt with Credit Card), Group By 1 / 2 (SR By Item Salesman Customer Category), Company / Voucher Code / Date Redeem (Voucher Redemption).
Sales Item and Collection Invoice has two dates, a Sales Invoice Date and a Receipts Date, and applies both when both are switched on: to see this month’s collections against older invoices, switch the invoice date off.
Twelve reports also list Conglomerate and Business Nature beside Customer Category, but this build’s shared search form has no input for either, so neither appears; Customer Category appears whatever its Application Settings switch says (that switch, and the two beside it, are saved and read by nothing).
Calculate Base On chooses the cost or price used for the cost and GP columns (except SR By Daily Weekly Monthly’s per-day, per-week and per-month GP columns, which always use MA cost): salesman_cost (SR By Document only), cost_ma (default), cost_wa, cost_fifo, cost_lifo, cost_replacement, cost_manual, ref_price1–3, delta_price1–3, rebate_price1–3, sales_min_price, sales_max_price, purchase_min_price, purchase_max_price, report_unit_replacement_cost, report_unit_manual_cost, report_unit_commission, report_unit_rebate.
Replacement cost and report-unit replacement cost fall back to MA cost when the row’s figure is zero — in a grouped report, when the whole group’s figure is zero, so a group with some lines priced and some not uses the priced total (SR By Document, one row per line, then tries FIFO and WA as well).
GP is not worked out on the same base everywhere. SR By Item Code takes GP from sales net of tax; SR By Document and SR By Serial Number from the transaction amount, tax included; Daily GP By Salesman and SR By Salesman from sales minus returns at the transaction amount, tax included (SR By Salesman also adds the CM column), but Daily GP By Salesman’s GP% divides by sales before returns while SR By Salesman’s divides by its net sales. Compare margins within one report, not across two.
Salesman cost takes, per line, the first non-zero of the sales-promotion amount, replacement cost, report-unit manual cost, commission, rebate, delta price 1, and the delta-price-1 percentage applied to MA cost. SR By Document’s delta columns use delta price 1 and, when it is empty, the delta-price-1 percentage amount scaled to the cost you chose.
The four report_unit_… choices are not item costs. They are figures written onto each document line when the document is saved, by a rule on the item’s category — the Report Item Price tab of a category in Doc Item Maintenance. A line whose item has no such rule carries none (on a report with one row per line, Report Unit Replacement Cost then shows MA cost instead; the other three show zero). The report adds them up as they are, without multiplying by the quantity as it does for every other cost choice, so each one is already a figure for the whole line.
Grid and export
Each grid supports column grouping and a totals footer row; a report that lists document numbers opens the document in a popup from that number (cost amount and GP in the popup are hideable; summary reports such as Hourly SR have no document to open); and export of the current grid — title, filename and date-range subtitle are set per report — from the status bar (PDF and Excel).


Hourly SR and a landlord’s hourly sales feed are two different counts
Some shopping-centre landlords ask each shop to send its takings hour by hour. BigLedger can do this for a branch with two scheduled jobs, and neither of them is the Hourly SR. If GadgetSphere’s branch GS-KV-03 sits in a mall that collects hourly sales, the figure the landlord receives for 14:00 yesterday and the figure Hourly SR shows for the same hour are built differently, and they will not always agree.
What happens behind the scene. Neither job has a screen of its own; both run from the Scheduler:
- The populate job works out the 24 hours of the day before it runs, in Malaysian time. For each hour it counts the branch’s cash bills and adds up their transaction amount and their discount, then stores one row per hour with the machine ID it was given. Leave the branch out and it counts every branch’s cash bills together.
- The send job runs afterwards. It takes the last seven days, sends every day that has exactly 24 hourly rows to the landlord’s system, and records the landlord’s answer as
SYNCEDorFAILEDwith its message. A failure is e-mailed to the addresses on the job. A day without exactly 24 rows is not sent, and its date is e-mailed as missing.
Where the landlord’s number comes from, and why it differs from Hourly SR:
| Landlord’s hourly feed | Hourly SR | |
|---|---|---|
| Documents | Cash bills only | Cash bills, sales invoices and sales returns |
| Posting status | Every cash bill, whatever its posting status or record status, so draft, void, discarded and even deleted ones are included | FINAL only |
| Returns | Not deducted | Deducted |
| Amount | The cash bill’s transaction amount, tax included | Each line’s net amount |
| When it is worked out | Once, the day after, and stored | Live, every time you run the report |
Cautions, and how you will notice:
- Everything goes in as cash. The feed has columns for card schemes, e-wallets and vouchers, but the job fills only the receipt count, the total (as cash and as gross turnover) and the discount. A landlord who reads the split will see 100% cash.
- A missed day is never filled in. The job only ever works out the day before it runs. If it did not run one day, that day stays empty, and the missing-dates e-mail repeats for a week.
- A second run on the same day blocks that day. A second run adds another 24 rows instead of replacing the first 24, and a day with 48 rows is never sent. You find out from the missing-dates e-mail, not from the landlord.
- A stored hour is never recalculated. The hour is worked out once, when the job runs. A cash bill changed after that is not counted again.
The job that remains yours. Your lease decides what counts as turnover, and it may leave out returns or tax. The feed leaves out neither. Before you sign the landlord’s monthly turnover statement, compare its monthly total with Hourly SR for the same branch and month, with your browser set to Malaysian time — the feed’s hours are Malaysian time, Hourly SR’s are your browser’s. Explain any gap by the rows above: voided, draft or deleted cash bills, returns, invoices, or a day that never went. A day that did not go is reported only by e-mail, and only to the addresses on the job, so one of those addresses has to belong to someone who reads it every day.
What it will not do. It does not send sales invoices or returns. Each run sends the last seven complete days again exactly as they were stored, so nothing it resends is corrected. Nothing in BigLedger shows you what it sent.
Settings and Personalization menus
| Entry | Purpose |
|---|---|
| Application Settings | The applet’s own settings screen (not the shared Field Configuration): menu visibility, the Dashboard switch, Calculate Base On options, cost / GP column visibility, own-transactions-only, item-category filters |
| Default Selection | Default Branch, Default Location |
| Webhook, Release Notes, permission listings | Standard |
| Personalization → Default Selection | Per-user Default Branch and Default Location |




Configuration
Before you can use it
| Prerequisite | Where | Why |
|---|---|---|
| FINAL sales documents | POS General, Sales Invoice (Internal), Sales Return (Internal) | The reports read FINAL documents, except the three named in Screens and menus: Daily Cashflow Analysis’s voided receipt vouchers, Receipt with Credit Card and Voucher Redemption |
| Item costs and reference prices maintained | Inv Item Maintenance | Every cost basis is read from the figures stored on each document line, not from the item record today (a trade-in line’s MA cost is the trade-in stock record’s purchase price): MA / WA / FIFO / LIFO from costing, the replacement, manual, reference, delta and rebate prices from the item, report unit figures from the category rule. Filling an item field in later does not change lines already saved. An empty basis gives zero cost and 100% GP, except the two replacement bases, which fall back (see Advanced search) |
| Item categories 1–20 | Inv Item Maintenance | Category columns and category-level filters |
| Customer category and state | Customer | Filters and the State column |
| Cashbooks and settlement methods | Cashbook | Collection and card-receipt reports group by cashbook / method |
| API read permission per report, with branch targets | Settings → permission listings | API_TNT_DM_ERP_SALES_REPORT_BY_ITEM_CODE_READ, …_BY_DOCUMENT_READ, …_BY_FINANCE_CHARGES_READ, …_CASHFLOW_ANALYSIS_READ, …_BY_SALESMAN_READ, API_TNT_DM_ERP_DAILY_GP_BY_SALESMAN_READ, …_HOURLY_SALES_REPORT_READ, …_MULTI_BRANCH_DAILY_SALES_PURCHASE_COLLECTION_READ, …_DAILY_COLLECTION_SUMMARY_READ, …_OFFICIAL_RECEIPT_BY_CREDIT_CARD_READ, …_COLLECTION_INVOICE_DETAILS_READ. SR By Daily Weekly Monthly, SR By Item Salesman Customer Category, Sales Item and Collection Invoice and the Dashboard are served under the SR By Item Code permission rather than one of their own. The branch picker is built in the browser from the targets granted; whether a report also applies those targets on the server differs from report to report, so do not read the picker as the only control |
Applet settings
Default Selection: DEFAULT_BRANCH, DEFAULT_LOCATION. Personalization → Default Selection holds the same two keys per user.
Application Settings — this applet renders its own screen with five tabs:
| Tab | Keys | Effect when on |
|---|---|---|
| Sidebar Menu | HIDE_<MENU>_MENU for every sidebar item, e.g. HIDE_SALES_REPORT_BY_ITEM_CODE_MENU, HIDE_SALES_REPORT_BY_DOCUMENT_MENU, HIDE_SALES_REPORT_BY_FINANCE_CHARGES_MENU, HIDE_SALES_REPORT_BY_DAILY_WEEKLY_MONTHLY_MENU, HIDE_DAILY_SALES_REPORT_CASHFLOW_MENU, HIDE_HOURLY_SALES_REPORT_MENU, HIDE_DAILY_GP_BY_SALESMAN_MENU, HIDE_SALES_REPORT_BY_SALESMAN_MENU, HIDE_MULTI_BRANCH_SALES_PURCHASE_COLLECTION_MENU, HIDE_DAILY_COLLECTION_SUMMARY_MENU, HIDE_RECEIPT_WITH_CREDIT_CARD_MENU, HIDE_COLLECTION_WITH_INVOICE_DETAIL_MENU, HIDE_SALES_REPORT_BY_SERIAL_NUMBER_MENU, HIDE_SALES_ITEM_COLLECTION_INVOICE_MENU, HIDE_SALES_REPORT_BY_ITEM_SALESMAN_CUSTOMER_CATEGORY_MENU, HIDE_VOUCHER_REDEMPTION_MENU | Removes the item from the sidebar for everyone except users holding the matching SHOW_<MENU>_MENU permission |
| Display | DISPLAY_DASHBOARD (off by default) | Shows the Dashboard menu to users who also hold DISPLAY_SALES_REPORT_DASHBOARD |
| Advanced Search | ADVANCED_SEARCH_SHOW_<OPTION> for each Calculate Base On option: ADVANCED_SEARCH_SHOW_SALESMAN_COST, ADVANCED_SEARCH_SHOW_COST_MA, …_COST_WA, …_COST_FIFO, …_COST_LIFO, …_COST_REPLACEMENT, …_COST_MANUAL, …_REF_PRICE1/2/3, …_DELTA_PRICE1/2/3, …_REBATE_PRICE1/2/3, …_SALES_MIN_PRICE, …_SALES_MAX_PRICE, …_PURCHASE_MIN_PRICE, …_PURCHASE_MAX_PRICE, …_REPORT_UNIT_REPLACEMENT_COST, …_REPORT_UNIT_MANUAL_COST, …_REPORT_UNIT_COMMISSION, …_REPORT_UNIT_REBATE | Only options switched on appear in the Calculate Base On list (all off = empty list). The same tab holds ADVANCED_SEARCH_SHOW_CUSTOMER_CATEGORY, …_CONGLOMERATE and …_BUSINESS_NATURE, which nothing reads (Advanced search) |
| Sales Report Listing | HIDE_COST, HIDE_MA_COST, HIDE_UNIT_COST, HIDE_GP, HIDE_GP_PERCENTAGE, HIDE_NET_MARGIN, HIDE_DELTA_COST, HIDE_DELTA_UNIT_COST, HIDE_DELTA_GP, HIDE_DELTA_GP_PERCENTAGE, HIDE_DOC_POPUP_COST_AMOUNT, HIDE_DOC_POPUP_GP | Hides the cost / margin column (or popup value) in every report that has it, unless the user holds the paired SHOW_* permission — or, for grid columns only, SHOW_ALL_COST_FIELDS. A hidden column cannot be brought back from the grid’s column chooser, a reset or a saved layout. HIDE_MA_COST covers every cost column (sales cost, cost, total cost, landed cost); the salesman reports’ Cost column is also hidden by HIDE_COST |
| Sales Report Listing (scope) | VIEW_OWN_CREATED_TRANSACTIONS_ONLY (labelled VIEW_SALESMAN_OWN_TRANSACTION_ONLY) | Despite its name, a salesman scope, not a creator scope, and not confined to one report: thirteen reports (item code, document, finance charges, daily/weekly/monthly, cashflow, hourly, daily GP by salesman, salesman, receipt with credit card, collection invoice detail, serial number, sales item and collection invoice, item-salesman-customer-category) force the Salesman filter to the employee records linked to your login, and the server then filters on the document’s salesman — never on who created it. A login with no employee link gets Account Not Linked and no report. ALLOW_VIEW_ALL_SALESMAN_TRANSACTION lifts the scope. It narrows what the screens ask for; it is not an access control — an SR By Document search by Invoice No does not apply it |
| Item Category Group | ITEM_CATEGORY_GROUP_1 … _20 (a label list) and HIDE_ITEM_CATEGORY_GROUP_1 … _20 (the eye icon) | The label list chooses what the Item Category Level n filter offers; the hide removes that filter from advanced search. Neither touches the grids: the Category 1–20 columns start hidden in every report whatever these say |
Document behaviour settings
Not applicable — the applet creates no documents. Cost basis defaults to cost_ma when nothing is chosen; the document popup opens the source document read-only.
Feature visibility / permissions
Client-side permissions registered for this applet (55 codes in 56 rows; SHOW_SALES_REPORT_BY_DAILY_WEEKLY_MONTHLY_MENU is registered twice):
| Group | Codes | Pairs with |
|---|---|---|
| Menus | SHOW_SALES_REPORT_BY_ITEM_CODE_MENU, SHOW_SALES_REPORT_BY_DOCUMENT_MENU, SHOW_SALES_REPORT_BY_FINANCE_CHARGES_MENU, SHOW_SALES_REPORT_BY_DAILY_WEEKLY_MONTHLY_MENU, SHOW_DAILY_SALES_REPORT_CASHFLOW_MENU, SHOW_HOURLY_SALES_REPORT_MENU, SHOW_DAILY_GP_BY_SALESMAN_MENU, SHOW_SALES_REPORT_BY_SALESMAN_MENU, SHOW_MULTI_BRANCH_SALES_MENU, SHOW_MULTI_BRANCH_SALES_PURCHASE_COLLECTION_MENU, SHOW_DAILY_COLLECTION_SUMMARY_MENU, SHOW_RECEIPT_WITH_CREDIT_CARD_MENU, SHOW_COLLECTION_WITH_INVOICE_DETAIL_MENU, SHOW_SALES_REPORT_BY_SERIAL_NUMBER_MENU, SHOW_SALES_ITEM_COLLECTION_INVOICE_MENU, SHOW_SALES_REPORT_BY_ITEM_SALESMAN_CUSTOMER_CATEGORY_MENU | HIDE_<MENU>_MENU settings (no SHOW_VOUCHER_REDEMPTION_MENU is registered). SHOW_MULTI_BRANCH_SALES_MENU pairs with nothing: the sidebar filter builds both names from the route, so only SHOW_MULTI_BRANCH_SALES_PURCHASE_COLLECTION_MENU reopens that item |
| Columns | SHOW_COST, SHOW_MA_COST, SHOW_UNIT_COST, SHOW_GP, SHOW_GP_PERCENTAGE, SHOW_NET_MARGIN, SHOW_DELTA_COST, SHOW_DELTA_UNIT_COST, SHOW_DELTA_GP, SHOW_DELTA_GP_PERCENTAGE, SHOW_DOC_POPUP_COST_AMOUNT, SHOW_DOC_POPUP_GP, and SHOW_ALL_COST_FIELDS (reopens every grid cost, GP and margin column at once; not the popup values) | HIDE_* column settings |
| Dashboard | DISPLAY_SALES_REPORT_DASHBOARD | DISPLAY_DASHBOARD |
| Scope | ALLOW_VIEW_ALL_SALESMAN_TRANSACTION (read by the thirteen reports that apply the salesman scope), ALLOW_VIEW_TRANSACTION_ALL_USER_CREATE (registered but not read) | VIEW_OWN_CREATED_TRANSACTIONS_ONLY |
| Cost basis (legacy) | SHOW_ADVANCED_SEARCH_COST_MA / _WA / _FIFO / _LIFO / _MANUAL / _REPLACEMENT, …_REF_PRICE1–3, …_DELTA_PRICE1–3, …_REBATE_PRICE1–3, …_SALES_MIN/MAX_PRICE, …_PURCHASE_MIN/MAX_PRICE, …_REPORT_UNIT_* | Registered but no longer read: the shared advanced search gates Calculate Base On on the ADVANCED_SEARCH_SHOW_* settings only |
Fields
Read-only applet; the only inputs are the advanced-search fields above and the two default-selection keys.
Lifecycle and effects
Not applicable. Reports never change documents, stock or the ledger. Most reports multiply amounts by each line’s amount signum, so returns and credit notes reduce sales (Daily GP By Salesman and SR By Salesman instead add sales trade-ins to Sales as stored and subtract returns), and posting status must be FINAL — except the three cases named in Screens and menus.
Related applets
- POS General, Sales Invoice (Internal), Sales Return (Internal), Sales Credit Note (Internal), Sales Debit Note (Internal) — the documents reported.
- Receipt Voucher (Internal), Payment Voucher (Internal) — collection reports.
- Daily Cashier Report — Z Report and Cashier Collection.
- Sales Report Supplier Access — supplier-facing sales by item.
- Non Stock and Trade In, Voucher Management, Membership Admin — trade-in and voucher rows, and the item points on invoice lines.
- Inv Item Maintenance, Pricebook, Customer, Cashbook, Organisation — master data the filters and columns come from.
Troubleshooting
Missing reports, columns and branches
| Symptom | Cause | Fix |
|---|---|---|
| A report is missing from the sidebar for one user | HIDE_<MENU>_MENU on and the user lacks SHOW_<MENU>_MENU | Turn the hide off or grant the permission |
| Calculate Base On list is empty or lacks an option | No ADVANCED_SEARCH_SHOW_<OPTION> setting switched on | Application Settings → advanced search group |
| Cost, GP, GP%, delta or net-margin column missing, and the column chooser will not bring it back | HIDE_* column setting on; user lacks the paired SHOW_* | Turn the hide off, or grant the paired permission (SHOW_GP, SHOW_NET_MARGIN, SHOW_DELTA_GP …) or SHOW_ALL_COST_FIELDS |
| No Dashboard in the sidebar | DISPLAY_DASHBOARD off, or the user lacks DISPLAY_SALES_REPORT_DASHBOARD | Both are needed |
| Branch picker shows only some branches | The picker is built from one permission’s branch targets, and for most reports that is the SR By Item Code read permission, not the report’s own: Hourly SR, SR By Salesman, Multi Branch Sales, Receipt with Credit Card, Collection Invoice Detail, Sales Item and Collection Invoice and SR By Item Salesman Customer Category all use it; SR By Document and SR By Serial Number use the SR By Document permission | Add the branch to the target of the permission the picker reads |
| A report shows only documents where I am the salesman, or opens with Account Not Linked | VIEW_OWN_CREATED_TRANSACTIONS_ONLY on — it scopes by the employee linked to your login, not by who created the document | Grant ALLOW_VIEW_ALL_SALESMAN_TRANSACTION, link the login to its employee record, or turn the setting off |
Figures that look wrong
| Symptom | Cause | Fix |
|---|---|---|
| GP is 100% or cost is zero | The chosen cost basis is empty on those document lines (the figure is read from the line as saved, not from the item today) | Choose a basis the lines carry, such as cost_ma; filling the item field in now only helps documents saved after it |
A report_unit_… basis shows nothing for some lines (or MA cost, for Report Unit Replacement Cost) | Those lines were saved before their category had a Report Item Price rule, or their item is in no category with one | See the Report Item Price tab; a line gets the figure only the next time its document is saved |
| The landlord’s hourly turnover for a branch differs from Hourly SR | The landlord’s feed counts cash bills only, of every posting status, before returns and with tax; Hourly SR counts FINAL cash bills, invoices and returns at net | See Hourly SR and a landlord’s hourly sales feed |
| Receipt with Credit Card net amount wrong; Daily Cashflow Analysis amount wrong for a receipt voucher; net wrong in SR By Salesman or cost wrong in SR By Document; return totals missing in Daily GP By Salesman | Bugs in older builds (release notes 2.25, 2.20, 2.7, 2.29, 2.7) | Fixed in the build tenants are served; reload the applet |
| Export fails with more than two group columns | Older build (release note 1.17) | Fixed; reload the applet |
| Hourly SR shows Branch and Item Code but no hour columns | In the served build the hour columns are created hidden and the routine meant to show the hours that have sales stops before showing any (recorded as a product defect) | Show the hour columns from the grid’s column chooser |
| Category 1–20 column not shown | The category columns start hidden in every report | Show them from the grid’s column chooser |
| Item Category Level filter not shown | HIDE_ITEM_CATEGORY_GROUP_n on | Application Settings › Item Category Group, the eye icon |
| SR By Serial Number totals higher than SR By Document | Each serial number is its own row carrying the whole line’s amount | Read amounts from SR By Document |
| Cannot find a document by its remarks | No report has a Remarks search field | Run SR By Document for the period and filter its Doc Remarks or Line Remarks column, or export to Excel and search there |