BeyondERP.Newsletter
Menu

Setup page · Accounts receivable

Auto charges

A setup page for automatic charges, which are applied automatically when a sales order (or purchase order) is created.

Read the guide Back to Accounts receivable

Used by
Accounts receivable clerk, Accounts receivable manager, Credit management clerk and 16 more roles
Business process
Define freight and other charges for orders in Dynamics 365 Supply Chain Management
Menu item
MarkupAutoSetup_Cust
Main table
MarkupAutoTable
Data entity
None for this page's own settings
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, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Tiered header freight”, to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page for automatic charges, which are applied automatically when a sales order (or purchase order) is created.
What you do hereUse it to define header- or line-level charges for a customer, customer charges group or all customers, optionally by item, item charges group or mode of delivery, with charge codes, categories and values.
ExampleFor example, BEAT adds a fixed freight charge of 5.00 USD to the header of every sales order for customers in the EXPORT customer charges group, and a line charge of 2 percent on items in the HEAVY item charges group, so the order totals show the charges before invoicing.
Auto charges 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.

Step by step, with screenshots

Set up Auto charges1 screen

Defines charges that are added automatically to sales quotation and sales order headers or lines based on customer, item and mode of delivery criteria.

  1. Screen 1

    Create the customer auto charge

    Go to Accounts receivable > Charges setup > Auto charges

    1. Select New at Header level and set the account and item codes
    2. On the General FastTab, enter the charge description
    3. On the Lines FastTab, select Add and add a USD line with the charges code, category and value
    2Charges codeBEAT-FRT
    Account codeTable
    Customer relationBEAT-000001
    Item codeAll
    Mode of delivery codeAll
    Charge description5 USD freight
    CategoryFixed
    Charges value5.00
    Create the customer auto charge (zoomed on the outlined fields)
    Show the full screenCreate the customer auto charge
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Accounts receivable > Charges setup > Auto charges and select New.
  2. In the Level field, select Header or Line.
  3. In the Account code field, select Table, Group or All, and in the Customer relation field, select the customer or customer charges group.
  4. For line-level charges, set the Item code and Item relation fields for an item, an item charges group or all items.
  5. Optionally, set the Mode of delivery code and Mode of delivery relation fields.
  6. On the Lines FastTab, select the Currency and the Charges code.
  7. In the Category field, choose how the charge is calculated, and enter the Charges value.
  8. Optionally, enter a From amount and To amount for tiered charges, and select Keep to repeat the charge on each new invoice.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
LevelWhether the charge applies to the order header or to the order lines.Microsoft Learn
Account codeWhether the charge applies to one customer (Table), a charges group (Group), or all customers (All).Microsoft Learn TableAccountCode
Item codeWhether a line-level charge applies to one item, an item charges group, or all items.Microsoft Learn AllItemCode
Mode of delivery codeFor sales orders, whether the charge applies to one mode of delivery, a group, or all.Microsoft Learn AllDlvModeCode
Charges codeThe charge to apply.Microsoft Learn FREIGHTMarkupCode
CategoryHow the charge is calculated: Fixed, Pcs, Percent, Intercompany percent, External, Specific unit or Specific unit match.Microsoft Learn FixedMarkupCategory
Charges valueThe charge value, based on the category.Microsoft Learn 5.00Value
From amountThe order total from which the charge applies.Microsoft Learn FromAmount
To amountThe order total up to which the charge applies.Microsoft Learn ToAmount
KeepKeeps the charge after invoicing so it is applied on every new invoice for the customer.Microsoft Learn Keep
Customer relationThe customer (when Account code is Table) or the customer charges group (when Account code is Group) that the auto charge applies to; it is empty for All.Microsoft Learn BEAT-000001AccountRelation
Charge descriptionA short text that describes the automatic charge.Microsoft Learn 5 USD freightDescription

Common errors and fixes

MessageWhat to do
Auto charges don't appear on new sales ordersAuto charges are only added when Find auto charges for header and Find auto charges for line are set to Yes on the Prices tab of Accounts receivable parameters. Turn them on and create the order again. Microsoft Learn
A header charge that was edited by hand on the order is replacedChanging the charges group or the mode of delivery on the order header deletes and recalculates the header auto charge. Set the header fields first, then adjust the charge. Microsoft Learn

Test checklist

  1. Turn on Find auto charges for header on the Prices tab of Accounts receivable parameters.
  2. Create a Header auto charge with Account code Group for a customer charges group, Category Fixed and a Charges code.
  3. Create a sales order for a customer in that group and check the charge under Maintain charges.
  4. Change the Mode of delivery on the header and check the charge is recalculated.
  5. Invoice the order and check the charge posts to the account on the charges code.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Auto chargesSet Find auto charges for header and Find auto charges for line to Yes in Accounts receivable parameters, then define each auto charge at the level (Header or Line) and scope (Table, Group or All) it really applies to. Select Keep only for charges that must repeat on every invoice.Auto charges are only applied to sales quotations and orders when the parameters are on. With Keep selected, the charge transaction stays after invoicing and is applied again on each new invoice for the customer.At which level should each automatic charge be defined, and for which customers?Users edit a header auto charge and then change the Charges group or Mode of delivery on the order header. The system deletes and recalculates the header auto charge, so the edited value is lost; charges already allocated to lines are not recalculated.Test: Tiered header freight

Feature management and licence

Licence or add-inIn this system 20 roles can open this page, among them Credit management clerk, Accounts receivable clerk, Accounts receivable manager and Accounts receivable centralized payments clerk.

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: Auto charges can be changed or removed at any time; they apply to orders created afterwards. Existing orders keep their charges unless the header charges group or mode of delivery is changed. Microsoft Learn
If you change it laterWhen the charges group or mode of delivery on an order header changes, the header auto charge is deleted and recalculated; charges already moved to the lines are not changed. Microsoft Learn
Technical architect

6Technical

Menu itemMarkupAutoSetup_Cust Checked in Dynamics 365
FormMarkupAutoSetup Checked in Dynamics 365
TableMarkupAutoTableShown as “Auto charges transactions” in Record infoChecked in Dynamics 365
Data entitiesSalesAutomaticSalesDocumentHeaderChargeEntityAutomatic sales document charges (Header-level auto charges for sales documents (the MarkupAutoLine lines of header records).) Microsoft data model SalesAutomaticSalesDocumentLineChargeEntityAutomatic sales document line charges (Line-level auto charges for sales documents (the MarkupAutoLine lines of line records).) Microsoft data model
Who can open it

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

  • RoleCredit management clerkCredManClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleAccounts receivable clerkCustInvoiceAccountsReceivableClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleAccounts receivable managerCustInvoiceAccountsReceivableManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain charges in the sale processMarkupAutoSetup_CustMaintain
  • RoleMCRTestUserRole no duty on this page is assigned to this role directly
  • RoleAccounts receivable centralized payments clerkPaymAccountsReceivableCentralPaymClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleAccounts receivable payments clerkPaymAccountsReceivablePaymentsClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleProject managerProjProjectManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleRental clerkRentalClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleRental coordinator agentRentalCoordinatorAgent
    • DutyEnable quotation to sales order processRentalSalesQuotationToSlsOrdProcessEnable
      • PrivilegeMaintain charges in the sale processMarkupAutoSetup_CustMaintain
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleRental managerRentalManager
    • DutyEnable quotation to sales order processRentalSalesQuotationToSlsOrdProcessEnable
      • PrivilegeMaintain charges in the sale processMarkupAutoSetup_CustMaintain
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleRental purchasing managerRentalPurchasingManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleRental representativeRentalRepresentative
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleRental sales managerRentalSalesManager
    • DutyEnable quotation to sales order processRentalSalesQuotationToSlsOrdProcessEnable
      • PrivilegeMaintain charges in the sale processMarkupAutoSetup_CustMaintain
  • RoleProduction plannerReqProductionPlanner
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleRetail serviceRetailService
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain charges in the sale processMarkupAutoSetup_CustMaintain
  • RoleRetail store managerRetailStoreManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleCustomer service representativeTradeCustomerServiceRepresentative
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleSales clerkTradeSalesClerk
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
  • RoleSales managerTradeSalesManager
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain charges in the sale processMarkupAutoSetup_CustMaintain
  • RoleSales representativeTradeSalesRepresentative
    • DutyInquire into sales order progressSalesOrderProgressInquire
      • PrivilegeView charges in the sales processMarkupAutoSetup_CustView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itRental manager RentalManagerAccounts receivable manager CustInvoiceAccountsReceivableManagerRental coordinator agent RentalCoordinatorAgentSales manager TradeSalesManagerRetail service RetailServiceTo use itAccounts receivable clerk CustInvoiceAccountsReceivableClerkAccounts receivable payments clerk PaymAccountsReceivablePaymentsClerkAccounts receivable centralized payments clerk PaymAccountsReceivableCentralPaymClerkSales representative TradeSalesRepresentativeRental representative RentalRepresentativeGive people one of these roles. On this system, 19 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=MarkupAutoSetup_Cust
Data migrationSalesAutomaticSalesDocumentHeaderChargeEntity Header auto charges for customers, groups or all customers.SalesAutomaticSalesDocumentLineChargeEntity Line auto charges by item, item charges group or all items.Load order: Load charges codes, customer charges groups, item charges groups and delivery charges groups first, then the automatic sales document charges, before you load open sales orders.Load first: SalesChargeEntity, CustChargeCustomerGroupEntity, InventChargeProductGroupEntity, DlvChargeDeliveryGroupEntityMicrosoft Learn
Table definitionMarkupAutoTable columns and relations Microsoft data model
Everyone

8Sources