Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

AX Dynamics Sales Order "Discount %" in "Sales Order Header"

(0) ShareShare
ReportReport
Posted on by 5

We have 100 Sales Orders in the system, we need to put the total "discount %" in "Sales Order Header" by opening and editing a single one of them. Is there any solution/sql-query to put the total discount % in one go? How to get rid of this manual activity which take hours? How can we automate it?

  • WillWU Profile Picture
    22,352 on at
    RE: AX Dynamics Sales Order "Discount %" in "Sales Order Header"

    Hi This is AX,

    See:

    dynamicsaxtipoftheday.com/.../

  • This is AX Profile Picture
    5 on at
    RE: AX Dynamics Sales Order "Discount %" in "Sales Order Header"

    Thank you for your response. I'm pretty sure that we'll be able to do that if you may please dive a bit deep in x++ skills required for this particular task.

    Some documentation links (with a little demo) will really be appreciated..:)

  • WillWU Profile Picture
    22,352 on at
    RE: AX Dynamics Sales Order "Discount %" in "Sales Order Header"

    Hi This is AX,

    You need to write a X++ job.

    update_recordset salesTable

    setting

    DiscPercent=''

    where salesTable.SalesId ==_salesId;

  • Verified answer
    Mea_ Profile Picture
    60,278 on at
    RE: AX Dynamics Sales Order "Discount %" in "Sales Order Header"

    There is no way to do a mass update from UI, it's possible to do it via X++ job, but it's a development task and you need to have x++ skills.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans