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

How Auto Charges are assigned to Sales Order which we can see by clicking on Charges button

(0) ShareShare
ReportReport
Posted on by 115

Hi all, 

          I have defined auto charge for a specific customer on the auto charge form. After that, when I go to sales order list page and create a new sales order using that customer for which I had just created auto charge in previous step, I can see that auto charge on the charges transactions form by clicking on the Sell tab ->Charges button. 

My question is I want to check it technically that on which point that auto charge data was assigned to charges transactions form on sales order ?

I want to see its x++ code where the data is assigning. 

I have checked in the charges transactions form, but could not understand at which point the data is being assigned to this form from auto charge form. I need this for our new project where we will assign these contractual charges to the sales orders. But for the time being, I require this information technically. 

  • 00030000036294D5 Profile Picture
    115 on at
    RE: How Auto Charges are assigned to Sales Order which we can see by clicking on Charges button

    From createMarkupTrans() method, you will get into insertMarkupTrans method of Markup class where markup trans table is being assigned values.

  • 00030000036294D5 Profile Picture
    115 on at
    RE: How Auto Charges are assigned to Sales Order which we can see by clicking on Charges button

    Ohhh Thanks for the reply. Let me just check. I will get back shortly. Will I check it from sales tables methods ?

  • Verified answer
    Rachit Profile Picture
    4,015 User Group Leader on at
    RE: How Auto Charges are assigned to Sales Order which we can see by clicking on Charges button

    Have you tried debugging createMarkupTrans() method on SalesTable. This is called from the SalesTable.insert() method.

    Hope this helps.  

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,469 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,066 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans