BeyondERP.Newsletter
Menu

Setup step on the Invoice history page · Accounts receivable

Read invoicing errors in Invoice history

Find out why sales order invoicing jobs failed.

See how to set it up Back to Accounts receivable

Used by
Accounts receivable clerk, Information technology manager
Business process
Invoice sales orders in Dynamics 365 Supply Chain Management
Menu item
SalesPostingHistoryInvoice
Main table
SalesParmTable
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Failed job shows its error”, 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 isAn inquiry page that shows the history of invoicing jobs for sales orders, with the sales order, customer name, job status, date of creation and creator, and the lines of the selected job.
What you do hereUse this page to review invoicing jobs for sales orders and to open the Error text and Sales update details for a selected job.
ExampleFor example, BEAT's invoicing run at 18:00 posts 178 of 180 sales orders. The clerk opens Invoice history, filters Job status on Errors detected, opens Error text for the two failed jobs and finds a credit limit stop on both.
Invoice history 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.

Setup steps on this page

Read invoicing errors in Invoice history

Find out why sales order invoicing jobs failed.

How to use it

  1. Go to Accounts receivable > Inquiries and reports > Invoices > Invoice history.
  2. Type in the Filter box, or pick a value in the Job status list, to narrow the invoicing jobs shown.
  3. Select a job in the top grid, which shows Sales order, Name, Job status, Date of creation and Created by.
  4. Review the Lines tab below to see the item number, text and amount for the selected job.
  5. Select the Sales orders tab to see the sales orders for the selected job.
  6. Select Error text or Sales update in the Action Pane to open those details for the selected job.

Source: Checked in Dynamics 365

Fields on the page

FieldWhat it means
Sales orderThe sales order of the invoicing job.Checked in Dynamics 365
Job statusWhether the invoicing job ran, for example Executed or Errors detected.Checked in Dynamics 365
Date of creationWhen the invoicing job was created.Checked in Dynamics 365
Created byThe user who created the job.Checked in Dynamics 365
Error textOpens the error messages of the selected job.Checked in Dynamics 365

Common errors and fixes

MessageWhat to do
The same order shows several jobs, some with Errors detectedEach invoicing attempt creates a job. Read Error text on the failed job, fix the cause, and invoice again; the successful job shows Executed. Checked in Dynamics 365

Test checklist

  1. Invoice a sales order for a customer over its credit limit with Check credit limit Balance.
  2. Open Invoice history and filter Job status on Errors detected.
  3. Open Error text for the job and read the credit limit message.
  4. Fix the cause, invoice again and check that a job with status Executed appears.

Source: Checked in Dynamics 365

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Read invoicing errors in Invoice historyFilter Job status on Errors detected after every invoicing run and open Error text before invoicing again.Each attempt is a separate job; the error text names the cause, such as a credit limit stop, so the next run succeeds.Who checks failed invoicing jobs after each run?Running the invoicing again without reading the error, so the same orders fail again.Test: Failed job shows its error

Feature management and licence

Licence or add-inIn this system 2 roles can open this page, among them Accounts receivable clerk and Information technology manager.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: The inquiry changes no data.
If you change it laterThe page shows invoicing jobs and their errors; it changes no invoice. The settings used in each job, such as Quantity and Check credit limit, decide whether it executes. Microsoft Learn
Technical architect

6Technical

Menu itemSalesPostingHistoryInvoice Checked in Dynamics 365
FormSalesPostingHistory Checked in Dynamics 365
TableSalesParmTableShown as “Sales order - update table” in Record infoChecked in Dynamics 365
Who can open it

2 security roles. Select a role to see its duties and privileges.

  • RoleAccounts receivable clerkCustInvoiceAccountsReceivableClerk
    • DutyMaintain customer invoice transactionsCustInvoiceCustomerInvoiceTransMaintain
      • PrivilegeMaintain customer invoice update historySalesPostingHistoryInvoiceMaintain
  • RoleInformation technology managerSysServerITManager
    • DutyMaintain system settingsSysServerSettingsMaintain
      • PrivilegeView customer invoice update historySalesPostingHistoryInvoiceView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itAccounts receivable clerk CustInvoiceAccountsReceivableClerkTo use itInformation technology manager SysServerITManagerGive people one of these roles. On this system, 2 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=SalesPostingHistoryInvoice
Data migrationLoad order: Invoice history has no data entity in Data management, so it can't be loaded from a file or a configuration template. Invoicing jobs are created when invoices are posted in each environment; they are a record of posting, not data to move.Checked in Dynamics 365
Table definitionSalesParmTable columns and relations Microsoft data model
Everyone

8Sources