Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Purchase Order with Procurement Category

(0) ShareShare
ReportReport
Posted on by 65

Evening,

Created a purchase order with a procurement category linked to a project category.

The purchase order is associated with a project.

The issue is, anytime I try to confirm the purchase order it throws up an error, asking for a worker to filled in the worker field on the purchase order line (Error message - "one or more purchase order lines have empty worker field"). 

Not sure why this is happening.

Neither workflow or any sort of validation has been specified.

Any assistance to help resolve the issue would be appreciated.

Thanks.

Jay1

  • Suggested answer
    PeterKRB Profile Picture
    PeterKRB 97 on at
    RE: Purchase Order with Procurement Category

    The Worker field should be filled in if the project category is of type Expense or Hour (for hours I think the field becomes mandatory).

  • JamesT Profile Picture
    JamesT 341 on at
    RE: Purchase Order with Procurement Category

    Never seen this before, but have you tried making sure that the User who raised the Purchase order is linked to an EMPLOYEE record in the System Admin > User?

    Regards

    James

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: Purchase Order with Procurement Category

    Hi Jay, Its a standard validation, Please check 'validateProjWorkerForPurchOrder' method in 'PurchFormLetter_PurchOrder' class. While PO confirmation or even workflow submission that method is called. You can add a breakpoint and debug it.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans