Validation Rules Management

What are validation rules in Dooap? How can you manage validation rules?

In Admin > Validation rules view, it is possible to set validation rules according to the step in the workflow.

The invoice validation rules are managed separately for each step in the workflow: preview, review, approval, and transfer to payment.

Each step has various settings, such as mandatory dimensions, amount, and project number, where you can choose actions like none, warning, or mandatory.

Each company can have their own set of validation rules. Company's validation rules are first created in Validation rules view and can then be selected in Admin > Companies > Select a company view.

 

 

An example:

Warning

If "Warning" is selected for the amount, the system will issue a warning if the invoice amount doesn't match the coded amount.

 

Configuration

 

Start by creating a new rule by clicking Add new business rule from the bottom of the page. 

The rule will be displayed in the left side, where you can also navigate between rules in case there are several different rules.

After selecting a rule, you should select a name and write a description for the validation rule. Then you can select rules according to different workflow steps.

 

Description of the settings

 

 

 

  • Main account - A main account has been selected on the invoice.
  • Mandatory dimensions - Each entered coding line has all required dimension values.
  • Account structure - Each entered coding line follows the account structure.
  • Sales tax - Sales tax and item sales tax groups have been added on each coding line.
  • Amount - Coded amount matches the invoice's total amount.
  • Project activity - Project coding requires this to be selected.
  • PO amount (matching incorrect) - The difference between matched lines and total matches.
  • PO negative remaining quantity - This PO line may have been invoiced directly in D365.
  • PO and misc charges sales tax - The user can define if tax codes are compulsory, optional or not needed for PO matching lines and misc charges.
  • PO accounting distributions structure - This validates accounting distributions' ledger structure.
  • PO prepayment warning - Can be used to notify if a prepayment exists on PO.
  • Posting date - Posting date is prior to the date of the matched product receipt.
  • Editing of coding lines is disabled - Enable or disable to possibility to code non-PO invoices. This setting should be enabled/disabled separately for each step.

     

    Statuses

     

    • None: No warning is shown.
    • Warning: A yellow exclamation point yellowwill appear in the right hand corner of the invoice notifying the user that a warning has been issued. Dooap will also highlight the incorrect or missing value in yellow, if the validation rule is set to warning. Users may proceed with processing the invoice despite the warning.
    • Mandatory: A red exclamation point red will appear in the right hand corner of the invoice notifying the user that a mandatory field is required. Dooap will also highlight the incorrect or missing value in red, if the validation rule is set to mandatory. Errors must be resolved, before the user can proceed with processing the invoice.

    • Locked: This feature is currently unavailable.