Skip to content · Zum Inhalt

Define documents and choose their reports

A document rule is the heart of the app. It says which document is mailed, which report prints it, which file name the result gets, and where the recipient's address is searched. One rule per document is enough for most companies; a rule can carry more than one report.

Before you start

  • The report that prints the document must exist in the company, for example report 1306 for the sales invoice.
  • The document must be one the app can read, such as a sales invoice, a purchase order, a statement or a credit memo.
  • You need the permission set QUADO All.

Create a document rule

A rule is created once and used for every document of that kind.

  1. Choose the search icon, enter QUADO Document Rules and open the page.
  2. Choose New.
  3. In Code, enter the short name of the rule, here ADATUM-FINV for the Adatum invoice.
  4. In Description, enter the words a colleague reads, here Invoice mailing rule.
  5. In Report ID, enter the report that prints the document, here 1306.
  6. Choose Save.
  7. The new row is in the list with its code and its report.

The document rules list with the new action and the columns a rule is filled in.

Tip: Start the code with the customer or the document, as the list does with ADATUM-F... and ADATUM-O..., so the rules stay readable when there are many.

Fix a rule that has no report

A rule without a report has nothing to print. The app refuses to save it.

  1. Open QUADO Document Rules and choose New.
  2. In Code, enter ADATUM-NOREPORT.
  3. Choose Save without filling in a report.
  4. The app stops with a message that a report is needed, and the row is not saved.
  5. Fill in Report ID with 1306, and choose Save again.

The left end of the document rules list where a rule is started and saved.

Set the order in which delivery addresses are searched

A customer can have several addresses: the address on the customer card, the ship-to address, the address of a contact. The search order decides which one the app tries first.

  1. Open QUADO Document Rules and select the rule ADATUM-FINV, or create a new one.
  2. In Deliver-to Search Order, choose the order, here Address Book/Card/Contact.
  3. In Scope, enter the part of the company the rule belongs to, here SHIP-HEAD for the head office shipments.
  4. In Filename, enter the name the mailed file gets, here ADATUM.
  5. Choose Save.

The scope and filename columns of the rules, where the address search is set.

Note: Address Book/Card/Contact tries the address book first, then the customer card, then the contact. Address Book/Contact/Card tries the contact before the card. Use the second order when the people at the customer are known better than the customer's main address.

Add more reports to a document rule

One mailing can carry more than one report: an invoice with its reminder, an order with its confirmation.

  1. Open QUADO Document Rules.
  2. Select the rule the report belongs to, here ADATUM-FINV.
  3. Open QUADO Additional Reports for the rule and choose New.
  4. In Document Code, enter the rule's code, ADATUM-FINV.
  5. In Report ID, enter the second report, here 1306.
  6. Choose Save; the report is listed under the rule.

The whole action bar and column headings of the document rules list.

Open the themes from a document rule card

A theme dresses the message a rule writes. It is opened from the rule card, so the rule and its theme stay together.

  1. Open QUADO Document Rule Card for the rule ADATUM-FINV.
  2. Choose Themes.
  3. The theme library opens with the themes of the rule.

The themes and open actions of the document rules list with the filename column.

Open the themes from the document rules list

The same theme library is reached from the list, which is quicker when you change several rules.

  1. Open QUADO Document Rules.
  2. Select the row ADATUM-F...
  3. Choose Themes in the action bar.
  4. The theme library opens; choose Save first if you have changed a rule.

The save, themes and open actions above the rule columns.

Maintain a distribution list from a report card

A report can be mailed to a fixed list of recipients, for example the auditors who receive every statement. The list belongs to the report and is kept from the report card.

  1. Open QUADO Report Card for the rule ADATUM-FINV.
  2. Check Report ID; it shows 1306.
  3. Choose Distribution List.
  4. Add the recipients who always receive this report, and close the list.
  5. Choose Save on the card.

The report, scope and filename columns with the rule rows underneath.

Open a report's distribution list from the report list

The report list shows every rule with its report. From there the distribution list of a report is one click away.

  1. Open QUADO Report List.
  2. Find the row whose Description is Invoice mailing rule and whose Report ID is 1306.
  3. Choose Distribution List.
  4. The list of recipients opens; change it and close it.

The first two columns of the rules with their rows, where a report is recognised.

Example

Contoso Ltd. mails its sales invoices for Adatum Corporation. The accountant creates the rule ADATUM-FINV with the description Invoice mailing rule and report 1306, sets Deliver-to Search Order to Address Book/Card/Contact, gives it the scope SHIP-HEAD and the file name ADATUM, and saves. She then opens QUADO Additional Reports and adds report 1306 a second time as the reminder that goes out with the same mailing.

What happens

The rule is stored with its report, its scope, its file name and its address order. When a document is mailed, the app looks for the rule that belongs to the document and prints the report it names. A rule without a report cannot be saved, so no mailing is ever started without something to print.

If something goes wrong

  • The rule cannot be saved. The Code or the Report ID is empty. Fill both in; the app says which one it needs.
  • The wrong report is printed. The rule points at another report. Open QUADO Document Rules, check Report ID on the row, and correct it.
  • The file name is the same for every document. Filename holds a fixed name. Add the document number or the customer to it, so every file can be told from the others.
  • A recipient gets the wrong address. The search order finds an earlier address first. Change Deliver-to Search Order on the rule.