Help · version 1.0
Element rules XNQIRUL
ContentsWhere each value of the file comes from, set in one window: every term a rule may set is a row, from the references to a line’s item identifiers, with what the next invoice takes for it. Open it from Setup, on every company, or from the button Element rules of a seller setup or a customer’s row.
Prerequisites. None. A row with no rule takes Nortiqo’s default.
Header
| Field | What to enter or what it shows |
|---|---|
| Company | Empty: every company. A company: its rules. |
| Customer | Empty: every customer. A customer: its rules, and with a company its rules in that company alone. |
| Applies to | Shown: whose rules the rows are, Every company, Company 10, Customer C1 or Customer C1 in company 10. |
| Invoice to try | A posted invoice of either module, for Try on invoice. Its selection lists the job log’s latest 100 of the company and the customer. |
With rows changed and not saved, a change of the company or the customer asks first; No keeps the rows. The selection of Invoice to try lists the newest invoice first, with its customer, accounting date and status.
Block Business terms
| Field | What to enter or what it shows |
|---|---|
| Part, Business term, Name | The term, shown, as References, BT-10, Buyer reference. |
| Source | Shown, read from Value: Fixed text for a text in quotes, Field for a field alone, Formula for anything else, Inherited for no rule here. |
| Value | An X3 formula: a fixed text in quotes, a field alone, as [F:SIH]INVREF, or any other formula. Empty: the row goes back to Inherited. |
| Field | Shown: the field’s class and description, as Product · Item reference; Nortiqo’s default in words on a row that takes it. |
| Set at | Shown: Here, or where an inherited rule is set, or Nortiqo’s default. |
| Gives on invoice | Shown after Try on invoice: what the row gives on that invoice, a failed rule’s message in red, or (left out) for a term left out of the file. |
| About | Shown, at the row’s end: what the term is for. |
An Inherited row has no rule here: it shows the rule the invoice takes from a wider scope, or, with Value empty, Nortiqo’s default in words under Field. After Try on invoice, the title of Gives on invoice names the invoice tried.
A value is typed, built in X3’s Formula wizard, the cell’s menu, or chosen in its selection,
Choose a field. A fixed text goes in quotes,
"Delivered to the site office": X3 refuses a text typed without them. A field alone is its class
and the field, [F:SIH]INVREF, one the term may read that the table holds; any other formula is
checked when the row is left. Typing a value makes the row this scope’s rule; emptying it takes
the row back to Inherited.
A rule may name these classes: [F:SIH] the invoice, [F:SIV] its SINVOICEV row (a sales
invoice), [F:CPY] the company, [F:FCY] the invoice’s site, [F:BPR] the buyer,
[F:BPC] the customer, [F:BIA] the invoicing address, [F:PBR] the pay-by and [F:PBA]
its address, [F:SOH] the first line’s order (a sales invoice); and for a line’s term
[F:SID] the line, or [F:SIL] for accounts receivable, and [F:ITM] its product. A rule
that fails, or gives a value its term cannot take, stops the invoice. An
empty result is left out of the file: "", an empty text, leaves the term out.
A customer’s rule in a company comes first, then the customer’s, the company’s and the one for every company, then Nortiqo’s default.
Example: a folder that keeps the item number in the product’s descriptions. Where a product’s Description 1 holds the number shown on documents and Description 2 its name, a sales line’s description is the number, and so by default is the item’s name in the file. Four rows put each value where the buyer reads it:
| Business term | Value | Gives |
|---|---|---|
| BT-153 Item name | [F:ITM]ITMDES2 |
the product’s name |
| BT-154 Item description | [F:ITM]ITMDES3 |
its longer description |
| BT-155 Seller’s item number | [F:ITM]ITMDES1 |
the number on documents |
| BT-22 Note | "Delivered from site "+[F:FCY]FCY+", "+[F:FCY]FCYNAM |
the invoice’s site, its code and name |
Set at the company, they hold for every customer of it; Try on invoice shows what each gives before the next invoice goes.
Example: the buyer is the pay-by. Where the invoice goes to the partner who pays, its name, address and numbers come from the pay-by and its address:
| Business term | Value | Gives |
|---|---|---|
| BT-44 Buyer name | [F:SIH]BPYNAM(0) |
the pay-by’s name |
| BT-47 Buyer organisation number | [F:PBR]CRN |
its organisation number |
| BT-48 Buyer VAT identifier | [F:PBR]EECNUM |
its VAT number |
| BT-49 Buyer electronic address | "0007:"+[F:PBA]FCYWEB |
the PEPPOL ID kept on its address |
A Swedish buyer’s organisation number is written as its digits alone under scheme 0007, the dash
dropped, as the default writes it. The PEPPOL ID is its scheme, a colon and the ID, as
0007:5569000010 or 0088:7359999000045: a value without a scheme of PEPPOL’s list stops the
invoice, and one that gives nothing leaves the default, the organisation number
under 0007, else the GLN. A customer’s row with a PEPPOL ID comes before the rule. The seller’s
VAT number, BT-31, is set the same way, such as a VAT group’s for one company.
Buttons
| Button | What it does |
|---|---|
| Try on invoice | Builds the file’s values of Invoice to try with the rows as they stand, saved or not, and shows each row’s in Gives on invoice. Nothing is written. Refused for an invoice that is not posted, or is of another company or customer than the rows are for. The references typed for the invoice alone in Invoice references are not taken. |
| Save | X3’s own, on once a row has changed. Checks every row set here, the first refusal naming its term; then writes them and deletes this scope’s rules taken back to Inherited, together, and says how many rules it saved and took back. |
| Cancel | X3’s own, on beside Save. After X3’s question, shows every row again as saved, nothing written; the company and customer go back to the rows loaded, Invoice to try stays. |
The window takes no lock: two people saving the same rows keep the last save.
Stuck? Ask your Sage partner, or write to info@nortiqo.com.