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)

avoid duplicacy customer PO number in sales order

(0) ShareShare
ReportReport
Posted on by

Hi,
I have a requirement of creating Sales Order which contains the Customer's Purchase Order Number.
Later,we use that Purchase Order Number to Avoid Duplicacy.
Any suggestion!
Thanks

Raju Ch.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    Hi Microsoft Dynamics AX consultant,

    There is "Customer requisition" field on sales order header out of the box and you ca use it for your purpose.

    If you want to restrict input of same customer purchase order number twice across all sales order you can create new unique index by this field.

  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi,

    ievgen is correct. You can also use the Customer reference field. If you create the index, make sure you also use the order or invoice account for the same index.

    Creating new indexes do have pros and cons. The index will also allow you to speed up searches on the reference field if you place it as first field.

    In addition, you could write some logic on the validateWrite method of the sales order header table to give a certain error or warning. For performance reasons you will need an index on the reference/requisition field anyway.

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