ZuloOne
English
Sign inTry it
Menu

Set up analytics rules

Updated

Decide once which cost centre, project and cash-flow item a document takes, and the documents fill them themselves: a sales order and the invoice made from it, a return, a write-off, a payroll accrual, a payment, a cash expense. A rule says «for these documents, under these conditions, take this». The cards keep their simple defaults: a division's cost centre, a supplier's or a cost article's cash-flow item. The rules are for everything else.

Note

A rule fills only an empty field of a document that is not posted yet. A value typed on the document is kept, and a posted document keeps the analytics it was posted with: changing a rule changes no posted document.

How to#

  1. Open Ribbon → General ledger → Setup → Analytics rules and press New.
  2. In Rule, say what it is for in your words: «Agent Ivanov's sales go to the wholesale cost centre».
  3. Choose Documents: Sales (sales orders, invoices, returns, till receipts), Payments from customers, Payments to suppliers, Cash expenses, Other income, Stock (adjustments, counts, goods issues), Payroll (accruals), or Any documents.
  4. Fill the conditions that matter and leave the rest empty — an empty condition fits anything:
    • Legal entity, Division (a store of the division counts), Store;
    • Customer, Contract, Agent — for sales and payments from customers;
    • Supplier — for payments to suppliers;
    • Cost article — for cash expenses.
  5. Fill what the rule sets: Cost centre, Project, Cash-flow item — one, two or all three. Save.

A rule without anything to set, or with Any documents and no condition, is refused: it would fit every document.

Which rule wins#

A document takes, for each analytic separately:

  1. what is typed on the document itself; an invoice made from an order takes the order's;
  2. what the rules give. Of the rules that fit, the one with more conditions filled wins — Documents count as one condition. With as many conditions each, the higher Priority wins;
  3. when no rule sets it, the card: the cost centre of the store's Division (an accrual's division, a fixed asset's own), the cash-flow item of the customer, supplier, cost article or bank counterparty, else the item marked Default for the operation.

Example

Three rules:

Rule Documents Conditions Sets
All sales Sales — cost centre «Sales», project «Spring campaign»
Key account Sales customer «Metro» cost centre «Key accounts»
Agent Ivanov Any documents agent «Ivanov», priority 5 cost centre «Field team»
  • An order from «Metro» takes the cost centre «Key accounts» (two conditions beat one) and the project «Spring campaign» from the rule for all sales.
  • An order Ivanov takes from another customer: «All sales» and «Agent Ivanov» fit with one condition each, and the higher priority gives «Field team».
  • Any other order takes «Sales». The invoices made from these orders take the order's cost centre and project, and so do their revenue and cost of sales.

If something is off#

What you see What to do
A document took the card's cost centre or item instead of the rule's The rule does not fit: check Documents and each condition against the document. A condition the document does not have — an agent on a payment, a cost article on a sale — never fits.
Two rules fight Fill one more condition on the one that should win, or give it a higher Priority.
A posted document has the old analytics after a rule changed That is by design: a rule fills drafts only. Correct a posted document with a journal entry that moves the amount to the right cost centre or project.

See also

Was this page helpful?