BeyondERP.Newsletter
Menu

Setup step on the Auto match batch page · Transportation management

Run automatic freight matching

Match freight invoices with freight bills automatically, within the audit master tolerances.

Used by
Transportation coordinator
Business process
Manage freight and transportation
Menu item
action:TMSAutoMatchBatch
Setup steps
1 on this page

How this guide was checked

Source
Written from Microsoft's official Dynamics 365 documentation.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Auto matching follows the largest-first order”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA periodic task that matches all available freight invoices with freight bills at once, according to the setup of the audit master and freight bill type.
What you do hereUse this task to run automatic freight reconciliation, so that freight invoices are matched with freight bills without matching each invoice line by hand.
ExampleFor example, a freight bill of 1,500.00 has invoices of 1,000.00, 600.00 and -100.00. Auto matching matches 1,000.00, then 500.00 of the second invoice, and the freight bill is fully matched, so the -100.00 invoice isn't processed.
Auto match batch page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

When to run it

When to run itWhen carrier freight invoices have arrived and are waiting to be matched to the freight bills that were created when the loads were confirmed.
How oftenOn the schedule set by Match interval in Transportation management parameters when Automatically match and pay the freight invoice is turned on (Microsoft recommends at least 120 seconds), or on demand when new carrier invoices arrive.
Batch settingsRun it as a recurring batch job so freight invoices are matched on the reconciliation schedule without matching each invoice line by hand.
What the output showsFreight invoices and freight bills set to Partially matched or Fully matched. Differences inside the audit master tolerance go to the overpayment or underpayment reason code. An invoice that stays unmatched usually has a mandatory freight bill type value that differs from the bill, or a difference outside the tolerance.

Source: Microsoft Learn

Setup steps on this page

Run automatic freight matching

Match freight invoices with freight bills automatically, within the audit master tolerances.

Steps from Microsoft

  1. Go to Transportation management > Freight bills and invoices > Auto match batch.
  2. Before the first run, set up a freight bill type assignment and an audit master for each shipping carrier. Auto matching only pairs a bill and an invoice when the mandatory freight bill type criteria match, and it uses the audit master tolerance for differences.
  3. Run the job. It sorts the unmatched freight invoices by amount, largest first, and matches them one by one until the freight bill has no positive remaining amount.
  4. Match freight invoices with negative amounts by hand on the Freight bill and invoice matching page. Once a freight bill is fully matched, auto matching doesn't process the remaining invoices for it.
  5. Review the invoices the job couldn't match and reconcile them manually before you post the invoices for payment.

Source: Microsoft Learn

Common errors and fixes

MessageWhat to do
A freight invoice with a negative amount stays unmatched after the batchAuto matching sorts invoices by amount, largest first, and stops when the freight bill has no positive remaining amount. Match negative invoices by hand. Microsoft Learn
Invoices stay unmatched although the amounts are closeCheck the audit master tolerance for the carrier and that the mandatory criteria of the freight bill type are filled on both the freight bill and the invoice. Microsoft Learn

Test checklist

  1. A test invoice with the same amount as its freight bill shows Fully matched.
  2. An invoice with a small difference inside the tolerance is matched with the expected reason code.
  3. An invoice outside the tolerance stays unmatched for manual review.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Run automatic freight matchingTurn on Automatically match and pay the freight invoice with a Match interval of at least 120 seconds, after a freight bill type, a freight bill type assignment and an audit master exist for each carrierLearn gives 120 seconds as the minimum standard recommended match interval, and auto matching only pairs a bill and an invoice when the freight bill type criteria match, using the audit master tolerance for differences.How often should freight invoices be matched automatically?Leaving negative freight invoices to the batch: it processes the largest invoice first and stops once the freight bill is fully matched, so the negative one isn't processed.Test: Auto matching follows the largest-first order

Feature management and licence

Licence or add-inOn this system the page opens for Transportation coordinator. Automatically match and pay the freight invoice must be turned on in Transportation management parameters for the automated match and pay batch jobs. No Feature management feature needs to be turned on for this page.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: the batch matches the freight invoices and freight bills of the current legal entity. Microsoft Learn
Can it be undonePartly: Unmatched invoices stay open for manual matching. Vendor invoice journals that the parameters create and post stay in the ledger.
If you change it laterSets the match status of freight invoices and freight bills. When Write vendor invoice journal and Post journal are turned on in the parameters, the reconciliation also creates and posts vendor invoice journals. Microsoft Learn
Technical architect

6Technical

Menu itemaction:TMSAutoMatchBatch
Who can open it

1 security role. Select a role to see its duties and privileges.

  • RoleTransportation coordinatorTMSTransportationCoordinator
    • DutyMaintain freight reconciliation masterTMSFreightReconcileMaintain
      • PrivilegeView the auto match batchTMSAutoMatchBatchView
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itTransportation coordinator TMSTransportationCoordinatorGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=action:TMSAutoMatchBatch
Data migrationLoad order: Auto match batch has no data entity in Data management, so it can't be loaded from a file or a configuration template. It is a periodic task and stores no setup; set up the freight bill types, assignments and audit masters it uses, which have their own entities.Checked in Dynamics 365
Everyone

8Sources