ZuloOne
English
Sign in
Menu

Register totals layouts

Updated

File Reports/Views/<Name>.view.json, envelope kind: ReportView. configJson is a string, not an object. The layout caption is one English string: the list on the totals tab shows it.

groupBy is a dimension field name or an analytic name (Customer, SalesContract, Supplier), not a caption. The resource is the resource fieldName (Amount, Qty).

An empty variable caption is shown as the column kind name (opening balance, income, expense, closing balance) in the interface language. If the same kind is used for two resources, the resource caption is placed before the kind. An explicit caption stays as it is. nonZeroBalance: true hides a line whose closing balance for every resource column is zero.

Delivered layouts:

Name Register Groups
StockByItemCell Stock item, cell
ReceivableByCustomerContract Receivable customer, contract
ReceivableByBasis ReceivableByBasis customer, contract, basis. Physical dimensions, Basis is a Guid
PayableBySupplier Payable supplier
PayableBySupplierContract Payable supplier, contract. SupplierContract is an optional analytic: the payable tx scripts skip it when empty
PayableByBasis PayableByBasis supplier, contract (optional analytic), basis
PurchasesBySupplierItem Purchases supplier, item. Columns are Qty and Amount. nonZeroTurnover: true
CashBalanceByDesk CashBalance cash desk
BankBalanceByAccount BankBalance bank account
GlByLegalEntityAccount GL legal entity, account. Columns are Debit and Credit
ReservedByItemCell ReservedStock item, cell
InventoryValueByItem InventoryValue item. Columns are Qty and Value
RevenueByItemCustomerContract Revenue item, customer, contract. Columns are Qty and Amount without tax
WipByItemCell WorkInProgress product, order cell. Quantity, not cost
LoyaltyPointsByCustomer LoyaltyPoints customer. Resource Points
TaxLedgerByCodeDirectionEntity TaxLedger code, direction, legal entity. TaxBase, TaxAmount, RecoverableAmount
PayrollLiabilityByEmployee PayrollLiability employee. Amount and Withheld
SocialInsuranceByEmployee SocialInsurance employee. Employee share and employer share
UaPayrollLevyByEmployeeCode UaPayrollLevy legal entity, employee, tax code. Base, withheld, transferred to the budget
UaVatPayableByCustomerContract UaVatPayable customer, contract
UaVatCreditBySupplier UaVatCredit legal entity, supplier

A layout is also a column set#

The dashboard Total widget reads these same views, but only their variables — picking one in the widget's settings copies the columns and leaves the period, grouping and display mode alone. A view saved for one object can be applied to another (the «all available sets» tick): the reader reports the resources the target does not offer rather than drawing them as zeros. One parser serves both callers — frontend/src/pages/registers/reportVariableSets.ts. See widgets.

A layout does not pick a reporting currency. To print a turnover in a currency other than the register's, convert a single-currency slice with ICurrencyRateService.ConvertMoneyAsync — exchange rates.

Same topic for other readers: Analyst · User

Where next#

Was this page helpful?