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 NAV (Archived)

purchaser code on purchase order - can it be made mandatory

(0) ShareShare
ReportReport
Posted on by

We are having issues in tracking who raised purchase orders - looking at purchase order tables I cannot find a user ID relating to this action. One part solution is to check the purchaser code  (this needs to be blank on the vendor setup as many people purchase from the same vendor). However it appears you cannot mandate an entry in this field unless I have missed something. Has anyone an idea how to track the order raiser, and indeed the purchase line as one order may be used by several purchasers. Many thanks

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    We simple added some code to the OnInsert trigger of the Purchase Header Table.

    OnInsert()

    **(you can add it at the end of all the other code on this trigger)**

    User.GET(USERID);

    "Created By" := User.Name;

    We have a field called "Created By" already in this table  (#70553)

    If you don't you can create one in the 50000..59999 range.

    You'll need a dev license to add the code.  so ask your partner if you don't have one.

  • Matt Traxinger Profile Picture
    302 on at

    You can also pull the salesperson code from the User Setup table and assign its value to the Purchaser Code field on the purchase header.

  • Community Member Profile Picture
    on at

    two more options:

    1. Validate the field on relase

    2. force the PO authorisation process

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 NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans