Purchase Discounts Not Included in Cost Value in Dynamics AX 2012

By Laura Lake | December 12, 2017

Depending upon your setup in Dynamics AX 2012, you may find that discounts entered on a purchase line do not seem to be included in the inventory cost transactions, even after the line is invoiced. There is a note about it in this article, but it may not be clear how the issue manifests.

If no account is set up, the discount is not recorded directly in the ledger account. Instead, the discount is deducted from the revenue or cost value.

The problem is the account setup on the Item Group. See the screenshot below. Having the expense account set up here is causing the discount to post to that account rather than being deducted from cost. Removing the 58000 account allows the discount to post to cost.

Removing an account to allow the discount to post to cost in AX 2012.

Laura Lake
Our Verified Expert
Laura Lake

Laura Lake is a seasoned application developer with more 20 years of experience, specializing in Dynamics NAV and AX. She provided advanced developer support as an Escalation Engineer during her time at Microsoft, and later took on her role at Stoneridge Software leading client customizations and development workshops.
Her recent efforts include architecting tailored development solutions, guiding project teams through complex technical builds, and mentoring clients on extensibility within the Dynamics ecosystem. With a passion for robust, maintainable design, Laura brings expert craftsmanship and thoughtful leadership to every project.

Read More from Laura Lake

Related Posts


Under the terms of this license, you are authorized to share and redistribute the content across various mediums, subject to adherence to the specified conditions: you must provide proper attribution to Stoneridge as the original creator in a manner that does not imply their endorsement of your use, the material is to be utilized solely for non-commercial purposes, and alterations, modifications, or derivative works based on the original material are strictly prohibited.

Responsibility rests with the licensee to ensure that their use of the material does not violate any other rights.

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!