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 115

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. 

  • 00030000036294D5 Profile Picture
    115 on at
    RE: Where and how to write code for new customizations on sales order created through SalesSalesOrderService?

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

  • 00030000036294D5 Profile Picture
    115 on at
    RE: Where and how to write code for new customizations on sales order created through SalesSalesOrderService?

    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
    115 on at
    RE: Where and how to write code for new customizations on sales order created through SalesSalesOrderService?

    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.

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... 293,140 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,895 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans