Skip to main content

Split posting based on journal name

Only applicable for Direct posting process

Purpose

For invoices to be posted in different journals with different number sequences.
For example to Belgium and Italian entities some requires invoices to be posted in different journals with different number sequences, based on for example the tax registration number, PO/non-PO, vendor group, year, debit/credit etc.

Setup

ExFlow AP | Setup | Parameters | Posting logic tab | Direct posting

  • Enable "Split posting based on journal name"
    When enabled, parameter activates fields in Vendor card where the Invoice journal name and Number sequence group can be selected and added automatically for all invoices of that vendor.

largest

largest

  • Navigate to the new Form "Invoice journal rules" located under ExFlow AP | Setup | Resources.
    These rules are a global setup and can be used to apply the correct invoice journal based on certain conditions, such as a specific vendor, vendor group, or all. If the “Split posting based on journal name” parameter is switched on the appropriate journal needs to be manually set or fetched from the new table "Invoice Journal rules".

small

Invoice journal rules
Rules
Valid for
Select Table for specific legal entity or All
Company accounts IDThe field “Valid for” must be set to “Table” and in the field “Company account” to specify the specific Legal entity.
Account codeSelect Table, Group or All
Account relationVendor: the field “Account code” must be set to “Table”, and in the field “Account relation” you must specify the specific vendor.
Vendor group: the field “Account code” must be set to “Group” and in the field “Account relation” you must specify the vendor group.
All vendors: the field “Account code” must be set to “All”.
Reference descriptionSpecified if under Conditions, “Field name” is selected as “Reference”.
NameTo specify the Invoice journal to be used for the specific rule. Drop down list connected to the std D365 form for Journal names.
Conditions
Condition type
Value match - used to specify a rule based on a value for a custom property that is imported. Select the property in the column “Field name”.
Field nameFilled from import history form - Message; Message ID; Misc. field 7-10; Reference; Vendor code; External vendor ID; Import method.
Field with vendor informationFrom import history form - VendNo; VendorId; VendorId2; VendorId3; VendorId4; VendorId5.
Find by agreement numberTickbox; Only use the rule if agreement number is filled in import history form.
Find by purchase order numberTickbox; Only use rule if Purchase order number is filled in import history form.

largest

**NOTE!!

If an Invoice journal name is set in the master data (Vendor card) it overrules the invoice journal rules. If you try to create a rule with specific vendor that has Invoice journal name set, the error message appears:

auto

If vendor does not have Invoice journal name added on its vendor card and rule is created in Invoice journal rules for that specific vendor, error also will appear when trying to add Invoice journal name on vendor card.

Description of the Cost invoice process

Parameter "Split posting based on journal name” will activate the fields to manually select (or change when retrieved from vendor card) which journal to use for each cost invoice in the Invoice journal name field in import, document and post control form.
During importing an ExFlow invoice into the Import form, we need to fetch the invoice journal first from vendor card, if blank fetch from the Invoice journal rules and validate the rule.

largest

If the Invoice journal name is missing when the rules are set up the error message will be thrown when validating or posting invoice.

largest

Description of the Purchase order invoice process

A generic invoice journal needs to be assigned to all invoices connected to a purchase order when posting in ExFlow. The correct number sequence is provided from the purchase order. A default number sequence is possible to add in the Vendor master data that will be inherited from the purchase order. If discovered that the number sequence is incorrect in document form, it needs to be changed from the PO, (fields in import/document forms are not editable).

largest

largest

Same as for cost invoice, if journal name is not set, error will appear when trying to validate/post PO invoice.

largest

Validation rules

Cost invoices

  1. From Vendor card
  2. Rules set

PO invoices

  1. From Vendor card
  2. Rules set

Effected roles

  • Purchase payable admin role

Entities

New entities are created for the functionality.