Exploring Charge Codes in AX 2012: Part II

by | Feb 1, 2016 | Dynamics AX, Financials, Manufacturing

In an earlier post, Exploring Charge Codes in AX 2012 – Part I, we explored automatically populating charges to purchase orders based on the Item that was ordered. Having explored charge codes in conjunction with vendors and items, this example guides us through potential uses for customer orders and invoicing in Dynamics AX 2012.

In our example, the customer manages the truckload freight for their shipments. In exchange, we grant them a 3% discount for all orders. This is deducted (or allowed) on each invoice. Therefore, we would like to set this up to be automatically calculated.

A charge code will need to be identified for use along with the appropriate posting and ledger account. In this example, we will use a code set as shown.

Charges Code in Dynamics AX


There are a few ways to accomplish an invoice allowance. For our purposes, the following steps will be taken:

Step 1. Set up a Customer Charge Group.

This was done from Accounts receivable/Setup/Charges.

Setup Customer Charge Group


Charge groups must have a name and a description. The charges group name may be alpha, numeric or mixed.  In our example, I have created a charge group named “Frt_Allow”.

In some cases, it might be meaningful to incorporate a region, customer base, or other identifier as part of the group name. Since I only have one corporate customer (with multiple individual customer accounts existing in our system) with this allowance, this group naming convention will meet our needs.

Charges Group in Dynamics AX


Since this is a Customer Charge Group that I have created, I will assign this group to the customers for which it applies.

From the menu, I go to Accounts receivable/Common/Customers/All customers and locate the appropriate customers. Then I click the edit button. When the screen opens, I scroll down to the Sales order defaults section. In the Charges group field, I select Frt_Allow from the drop down list.

Edit Charges Group in Dynamics AX

Step 2. Go back to Accounts receivable/Setup/Charges and work with Automatic charges.

Setup charges in Dynamics AX


1. Automatic charges may be set up at the header level (Main) or the line level. In this example, we are working with the header level (main).
2. Options for Account code are ALL (all customers), GROUP or TABLE (a specific single customer). Group has been selected.  This will apply to all customer accounts that have been populated with the charge group value of Frt_Allow.
3. Options for Item code are ALL (all items), GROUP or TABLE (a specific single item).
4. Options for mode of delivery code are ALL (all modes), GROUP or TABLE (a specific mode).
5. In this section, I have added the Charges code for freight allowance. In this case, we are allowing 3% of the invoice value. Also, the Keep box is checked to ensure each invoice posted from a sales order will have the allowance applied.


Exploring Charge Codes in AX 2012


Let’s take a look at how this works on the sales order. I created a sales order with a total line value $6,890.00. To view or edit the charges at the header level, select Financial, and then select Maintain charges from the Sell tab of the ribbon.

Sell charges in Dynamics AX


The charge code applied is shown in the following screen:

Charges Transactions in Dynamics AX

The total value of charges is visible from the View Totals button in the Sales order tab of the ribbon.

Totals in AX 2012




$6,890.00 x .03 = 206.70

Note: Standard function of the calculation of cash discounts does include the value of charges. In this example, the cash discount would be calculated on $6,683.30.


Sales Order Totals in AX


When the invoice is generated, a summary value of charges is presented as shown:

Total Charges in Dynamics AX


There are other ways to manage invoice allowances in Dynamics AX. In some cases, rebates are issued. Stay tuned for a later blog addressing rebates!



Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events


08apr10:00 am10:30 amLicensing Preparedness for Dynamics 365 Customer Engagement

08apr12:00 pm1:00 pmMaking Project Information Management (PIM) a Priority

08apr2:00 pm2:30 pmFeatures in the Spring Release of Dynamics 365 Customer Engagement Users Can Take Advantage of Immediately

09apr11:00 am12:00 pmConfab With Stoneridge - Livestream - Portals

13apr11:30 am12:30 pmStoneridge Connect Online Keynote: Business Transformations Throughout History

14apr8:00 am5:00 pmStoneridge Connect Online - Day 1

15apr8:00 am5:00 pmStoneridge Connect Online - Day 2

15apr1:15 pm5:00 pmWhat’s New for Developers in Dynamics 365 Finance and Supply Chain Management – Online Workshop

16apr8:00 am5:00 pmStoneridge Connect Online - Day 3

22apr11:00 am12:00 pmPower BI and Reporting with Dynamics 365 Business Central

22apr2:00 pm2:30 pmNew Features for Power Apps Users

23apr11:00 am12:00 pmConfab With Stoneridge - Livestream - Internet of Things (IoT)

29apr10:00 am11:00 amStreamlining Customer Service and Enabling Your Sales Team with a Self-Service Portal

29apr12:00 pm12:30 pmUpdates to the Dynamics 365 Customer Engagement User Experience - What Technical Resources Need to Know


06may12:00 pm12:30 pmPower Apps Telemetry and AI Builder - Power Platform Updates

06may2:00 pm2:30 pmImprove Customer Experience with a Mobile Workforce Management Solution

07may11:00 am12:00 pmConfab With Stoneridge - Livestream - Manufacturing

13may12:00 pm1:00 pm3 Simple Sets Your Business Can Take to Embrace the Future of B2B E-Commerce

21may11:00 am12:00 pmEnterprise Asset Management and Manufacturing

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!