web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Where and how to write code for new customizations on sales order created through SalesSalesOrderService?

(0) ShareShare
ReportReport
Posted on by 117

Hi all, 

         I have done some customizations on sales order customer charges. We know that customer charges come from Auto Charges form screen on the basis of customer and line charges come on the basis of item selected on the same Auto Charges screen. I have done some customization that when we create a sales order with a customer, the charges transaction form on the sales order header should only show markup codes if the division field on the sales order matches the division on auto charges screen. The same has been applied for sales order lines as well. 

Now, as a new task, I want to implement the same check when a sales order is created through AIF. We are using SalesSalesOrderService for creating EDI sales order. 

I am not familiar with the services, can you please show me the place where I can write my code that would implement the same check mentioned above. 

I have the same question (0)
  • 00030000036294D5 Profile Picture
    117 on at

    I think we have following classes where we can write code but I don't know which is the right place for me.

    We have axd document class named AxdSalesOrder.

    we have tables classes named AxSalesTable and AxMarkupTrans.

    we have child data object classes like SalesSalesOrder_SalesTable and SalesSalesOrder_MarkupTransHeader.

    then we have document root class SalesSalesOrder.

    Can somebody help me finding the right place where I can write my code in order to implement above logic. It would great help of you can show me how to write code in these service classes.

  • 00030000036294D5 Profile Picture
    117 on at

    I am waiting for a reply from seniors about my problem. I need to write code, can you please show me the place where I should write my code.

    If you want anything from my side, please ask.

  • 00030000036294D5 Profile Picture
    117 on at

    Can you please confirm if postSalesOrderCreation() method on AxdSalesOrder class is the suitable place for this ?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans