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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

hooking into sales order confirmation posting logic

(0) ShareShare
ReportReport
Posted on by 110

Hi. I'm a new AX developer (experienced developer, just new to AX). I need to implement a small business logic change to set a field in SalesTable whenever a sales order is confirmed that meets a certain criteria.

My question is: Where is the most appropriate place to put code to do this?

For now, I have the code in the closeOk() method of the SalesEditLines form.

But I can see where there are other places it could go, including the insert() method on the CustConfirmJour table, or possibly various places in the SalesFormLetter class.

The company I'm working for has done quite a bit of AX customization already, and I see custom code in all these places. Just wondering if there's a best practice for stuff like this.

Thanks.

*This post is locked for comments

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 24

#2
Michel ROY Profile Picture

Michel ROY 14

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans