Documentation/ Checking the document header/ The rules screen
The correction rules screen
Every rule in the company on one screen: each one in a sentence, with a switch to turn it off, a pencil to adjust it and a bin to delete it. Until now they could only be created and withdrawn by talking to Dijit IA.
Management › Correction rules
On this page
In the menu
The screen is under Management › Correction rules, with a New tag beside it. It is on every account and for every user.
At the top there is a reminder worth reading once: «Rules apply from the next document. To fix one already uploaded, upload it again.» That still holds, screen or no screen.
The rules, one by one
The rules come grouped by supplier. Each group carries the supplier's name, its tax ID and how many rules it has.
For each rule you read a sentence saying what it does, in plain words, and under it:
- When it applies: «New documents only» if it only affects what arrives from now on, or «Also when reprocessing» if it applies as well when a document already in Dijit is processed again.
- Whether it is off: the tag «Off». The rule stays on the list, in grey, and stops applying.
- Who set it and the dates: when it was created and when it last changed.
- The detail, on the rules that carry one: a link opens the exact text the rule looks for on the document.
- A duplicate warning where two rules may clash: «May be a duplicate of rule» and the number of the other one.
The supplier filter
At the top there is a Supplier dropdown, with each supplier's name and tax ID, and All suppliers to clear it.
The filter is kept in the screen's address. That is why the two shortcuts that lead here — the one on the document and the one in the supplier master — open it already filtered by that supplier.
With no rules yet, the screen says so: «You have no rules yet. They are created with the "Fix" button on a document or with "Create rule".» With the filter on a supplier that has none: «This supplier has no rules.»
Turning off, adjusting, deleting
| Action | What it does | What to know |
|---|---|---|
| The switch | Turns the rule off and on. | Off, it stops applying to documents as they arrive. The ones that already came in under it do not change. |
| Adjust | Changes one value on the rule without redoing it. | It only shows on three kinds of rule. The rest are changed by asking. |
| Request a change | Opens Dijit IA with that rule in the conversation. | It is the way in for anything the screen does not adjust. |
| Delete | Removes the rule. | It asks first: «The rule will be deleted. Documents already uploaded do not change.» |
Every change is saved there and then, and the rule is left as the server returns it. If something fails, the message says so and the rule stays as it was.
The adjust window
| Kind of rule | What changes | The limit |
|---|---|---|
| The words the supplier is recognised by | Remove the ones you do not need, under Words the supplier is recognised by. | The last one cannot be removed: «This is the last one: it cannot be removed. If you do not want the rule, turn it off.» To add one, use Fix supplier on a document. |
| The fixed discount on every line | The percentage, under Discount (%). | More than 0 and less than 100. |
| The fixed charge | The amount, under Charge including VAT. | More than 0. |
On saving, the message says «Rule saved» and the rule's sentence is updated with the new value.
The rules Dijit manages
Some rules are set by the Dijit team. Those carry a padlock, with no switch and no bin: «Managed by Dijit. To change it, request a change.» The request button is there, and that is how they are asked for.
Creating a rule from here
The Create rule button is at the top right. With a supplier picked in the filter it offers two ways in, About the supplier and About the lines, and opens Dijit IA with that supplier already set. With no supplier picked it opens an empty conversation, and you have to say whose rule it is.
The usual way is still from the document, with Fix supplier or Fix list data: there Dijit IA has the page in front of it.
On several of these rules — the batch, the expiry date, the item code, the document number and the lines that should not be there — Dijit IA tests the rule against the document before saving it and shows you what comes out. Where the page can be read in more than one way, it asks with the options in a list for you to pick. Those rules are set for that supplier's invoices and delivery notes at the same time, and when it is done it tells you where to see the rule it created.
The rules for one document
Inside a document there is a box, Rules for this document, with the rules that affect it. Each one with its switch, and the See all link opens this screen filtered by that supplier.
The counter in the supplier master
In the supplier master, next to the name, a counter shows that supplier's rules, with the ones that are off counted separately. Pressing it opens this screen with that supplier already in the filter.
Common situations
| Situation | Why | What to do |
|---|---|---|
| The rule is set and the document is still wrong | A rule counts from the next document on. | Delete that document and upload it again. |
| A rule that is off is still on the list | Turning off is not deleting: it stays in sight so you can turn it back on another day. | If you do not want it any more, delete it. |
| No pencil on a rule | Only three kinds of rule are adjusted here. | Use Request a change. |
| Two similar rules for the same supplier | The screen warns that they may be duplicates. | Read both sentences and delete the one you do not want. |
| «The rules could not be loaded.» | The list did not arrive. | Press Refresh on the message itself. |