BeyondERP.Newsletter
Menu

Setup page · Pricing management

Charges code

A setup page for the charges codes, such as freight, insurance or invoice fees, that auto charges add to sales orders and quotations.

Read the guide Back to Pricing management

Used by
Credit management clerk, Accounts receivable clerk, Accounts receivable manager and 16 more roles
Business process
Define freight and other charges for orders in Dynamics 365 Supply Chain Management
Menu item
MarkupTable_Cust
Main table
MarkupTable
Data entity
InventoryChargeEntity
Setup steps
2 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
2 ready-to-run tests to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it9 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page for the charges codes, such as freight, insurance or invoice fees, that auto charges add to sales orders and quotations.
What you do hereUse it to create each charges code and set how the charge is debited and credited when it is posted.
ExampleFor example, BEAT creates the code FREIGHT with Debit type Customer/Vendor and Credit type Ledger account, so a 25.00 freight charge is added to the customer's invoice and credited to the freight revenue account.
Charges code 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 Charges code1 screen

Set up the codes for charges such as invoice fees, freight and insurance that are used on sales orders.

  1. Screen 1

    Create the freight charges code

    Go to Accounts receivable > Charges setup > Charges code

    1. Select New and enter the charges code and a description
    2. On the Posting FastTab, set the debit type
    3. Set the credit type, posting and account
    1Charges codeBEAT-FRT
    Debit typeCustomer/Vendor
    Credit typeLedger account
    Credit postingSales order revenue
    Credit account410100
    Create the freight charges code (zoomed on the outlined fields)
    Show the full screenCreate the freight charges code
    page title tab to open what to set or check
Set up charges codes for Pricing management auto charges

Create the charges codes that Pricing management auto charges add to sales orders and quotations, with their posting.

Steps from Microsoft

  1. Go to Pricing management > During-sales pricing > Charges setup > Charges code.
  2. Select New and enter the Charges code and Description.
  3. Optionally, select an Item sales tax group, and set Prorate to Yes if the charge should be prorated.
  4. On the Posting FastTab, set the debit Type and credit Type; for Ledger account, set the Posting and the Account.
  5. Save the code and use it on the lines of Auto charges.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Charges codeThe code for the charge, such as freight or an invoice fee.Microsoft Learn FREIGHTMarkupCode
Item sales tax groupThe sales tax group for the charge, if any.Microsoft Learn TaxItemGroup
ProrateSet to Yes to prorate the charge; available only for sales orders.Microsoft Learn MCRProRate
TypeThe type of account the charge posts to on the debit or credit side, such as Ledger account, Customer/Vendor or Item.Microsoft Learn
PostingThe posting type used when the type is Ledger account.Microsoft Learn
AccountThe main account the charge posts to.Microsoft Learn
Debit typeThe type of account the charge is debited to, such as Customer/Vendor, Item or Ledger account.Microsoft Learn Customer/Vendor
Credit typeThe type of account the charge is credited to. For Ledger account, also set the posting type and main account.Microsoft Learn Ledger account
Credit postingThe posting type used when the credit type is Ledger account.Microsoft Learn
Credit accountThe main account that the charge is credited to when the credit type is Ledger account.Microsoft Learn

Common errors and fixes

MessageWhat to do
The charge can't use a currency different from the order.A separate charges currency is allowed only when the debit or credit type is Ledger account or Item. Microsoft Learn

Test checklist

  1. Create a charges code with Debit type Customer/Vendor and Credit type Ledger account with a revenue main account.
  2. Add the charge to a sales order and invoice it.
  3. Check the voucher debits the customer and credits the revenue account.
  4. Select Translations, add text in the customer's language and check it prints on the invoice.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Charges codeFor charges the customer pays (for example invoice fees or freight): Debit Type Customer/Vendor and Credit Type Ledger account with the revenue main account for that charge.Debit to the customer adds the charge to the sales order totals, and the ledger credit records the charge income on its own revenue account.How should charges that the customer pays be posted?Expecting a charge in a different currency from the order when neither the debit nor credit type is Ledger account or Item; a separate charge currency is only allowed for those types.Test: Customer-paid charge posts to revenue
Set up charges codes for Pricing management auto chargesFor fees the customer pays (freight, invoice fees): Debit type Customer/Vendor and Credit type Ledger account with a revenue main account per feeA customer debit adds the charge to the order totals and the customer's account, and the ledger credit records the charge income on its own account.How should a customer fee be posted?Expecting a charge in another currency when neither debit nor credit type is Ledger account or Item; a separate charge currency is allowed only for those types.Test: Freight charge posts to the customer and revenue

Feature management and licence

Licence or add-inOn the live system, Sales manager, Sales clerk, Sales representative, Customer service representative, the Accounts receivable, Credit management, Rental and Retail roles, Project manager and Production planner use this page. When Unified pricing management is on, sales auto charges are set up in Pricing management.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: Learn describes no lock on charges codes. The Posting FastTab sets how charges are debited and credited when they are posted, so a change applies to charges posted afterwards. Microsoft Learn
If you change it laterThe posting setup is used when charges are posted, so a change affects charges posted afterwards. Auto charges that use the code pick up the change on new orders. Microsoft Learn
Technical architect

6Technical

Menu itemMarkupTable_Cust Checked in Dynamics 365
FormMarkupTable Checked in Dynamics 365
TableMarkupTableShown as “CHARGES CODE” in Record infoKey field: MarkupCodeChecked in Dynamics 365
Data entitiesInventoryChargeEntityInventory charge codes Microsoft data model PurchProcurementChargeEntityProcurement charge codes Microsoft data model SalesChargeEntitySales charge codes Microsoft data model SalesDeliveryChargeEntitySales delivery charge codes 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 itRetail service RetailServiceSales manager TradeSalesManagerAccounts receivable manager CustInvoiceAccountsReceivableManagerRental sales manager RentalSalesManagerRental coordinator agent RentalCoordinatorAgentTo use itSales clerk TradeSalesClerkRetail store manager RetailStoreManagerAccounts receivable clerk CustInvoiceAccountsReceivableClerkAccounts receivable centralized payments clerk PaymAccountsReceivableCentralPaymClerkAccounts receivable payments clerk PaymAccountsReceivablePaymentsClerkGive people one of these roles. On this system, 19 roles can open this page.Checked in Dynamics 365
Actions on the page(Action Pane without tabs): Translations, External codesChecked in Dynamics 365
Security administrator · Solution architect

7Advanced Security configuration

Each button below opens a menu item. Start from a standard security role, or from an empty one, and choose what the new role gets for each button: remove it, or an access level. Then create the file that System administration > Security > Security configuration > Data > Import reads. The file holds a copy of the role and copies of only the duties and privileges that change. Everything else stays the standard object.

This demo uses Microsoft's standard roles. To do the same on your own system, with your own roles, use the Chrome extension or the bookmark.

Information technology manager (SysServerITManager) can use 2 of these buttons. You can also give it buttons it does not have.

On the page

On your own system, the Advanced Security configuration bookmark does the same with your real roles, including your own: click a button on the live page to see who can use it and what to change.

Built from Microsoft's standard security definitions for version 10.0.49 and the buttons seen on this page in a working system. Add-ons, your own roles and later versions can differ. Beyond ERP is not affiliated with Microsoft. Buttons without a menu item, such as Post, are not listed: security roles cannot change them this way.

Developer

8Developer

Open it by URLhttps://<your-environment>/?mi=MarkupTable_Cust
Integrate withInventoryChargeEntity data entity Microsoft data model
Data migrationInventoryChargeEntity (Inventory charge codes): loaded for each company, in Microsoft's default template 405 - Transportation management.PurchProcurementChargeEntity (Procurement charge codes): loaded for each company, in Microsoft's default template 120 - Accounts payable.SalesChargeEntity (Sales charge codes): loaded for each company, in Microsoft's default template 140 - Accounts receivable.Load order: Microsoft's default template 405 - Transportation management loads Inventory charge codes at execution unit 1, level 30, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to General ledger)Microsoft Learn
Table definitionMarkupTable columns and relations Microsoft data model
Everyone

9Sources