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 :
Microsoft Dynamics AX (Archived)

Mandatory Sales order Confirmation

(0) ShareShare
ReportReport
Posted on by 1,536

Hi expert, i want to make sales confirmation process mandatory before sales packing slip, actually in my scenario end user can make sales  packing slip without any so confirmation, so i want to make sales confirmation for any sales order mandatory.

in PO process this scenario may be exist, but how to implement in SO and from where i should start, ? please guide me.

Regards.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Brandon Wiese Profile Picture
    17,788 on at

    One simple solution could work like this.

    On table SalesTable, add a method isJournalConfirmed() to check for the presence of a Sales confirmation journal.  Alternately you could simply check the DocumentStatus field on the SalesTable record, but I like this approach better.

    public boolean isJournalConfirmed()
    {;
        return CustConfirmJour::exist(this.SalesId);
    }

    Then in class SalesTableType, add the following code to the mayPackingSlipBeUpdated() method.  Of course you should fully test something like this in a development and testing environment first.

    boolean mayPackingSlipBeUpdated()
    {
        boolean ok = true;
    // add this line to check for a sales confirmation journal ok = ok && salesTable.isJournalConfirmed(); if (salesTable.mcrOrderStopped == NoYes::Yes || salesTable.SalesStatus == SalesStatus::Canceled) { ok = false; } ..
  • Suggested answer
    munsif Profile Picture
    1,536 on at

    thanks..its working for me.

    thanks

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans