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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Purchase Order Approval Status after Completion of Purchase Requisition

(0) ShareShare
ReportReport
Posted on by 2,426

Good Morning,

There are 2 workflows 

1.Purchase Requisition

2.Purchas Order

There are 2 ways for creating Purchase order after Purchase Requisition

1.Manual

2.Automatic Through BatchJob

In both the ways After completing The process of Purchase Requisition.while creating Purchase order The status is automatically taking as Approved For Purchase Order..

Because of this the purchase order Workflow is not enable.

1.In Manual Purchase Order Creation i made changes in PurchAutoCreate_PurchReq\endUpdate() .It is working Perfect For Manual

2.In Automatic i.e Batch job Process It is again coming as approved

I searched for Batch job class "PurchReqPurchaseOrderGenerationBatch"

I am unable to place debug point.It is not even Hitting.

So,please Help me in finding out where the Approved status is hitting

Please Please do any favour.

Regards

*This post is locked for comments

I have the same question (0)
  • Maged Kassem Profile Picture
    125 on at
    RE: Purchase Order Approval Status after Completion of Purchase Requisition

    Hi there i face same issue on automatic generate purchase order .. do you solve it .. please feedback me because i need it very urgent

  • Rana Anees Profile Picture
    1,813 on at
    RE: Purchase Order Approval Status after Completion of Purchase Requisition

    Hii AX 2012 r3,

    I have the same kind of requirement. Could you please answer.

    community.dynamics.com/.../675674

    What did you update in PurchAutoCreate_PurchReq\endUpdate() ?

    Thanks and Best Regards,

  • Suggested answer
    Ajit Profile Picture
    8,755 on at
    RE: Purchase Order Approval Status after Completion of Purchase Requisition

    To debug batch jobs, you should use Visual Studio, open that class there and put breakpoint there. And also attach the ax process. Aftet that schedule a batch job and it should hit the breakpoint.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
AlissonGodoy Profile Picture

AlissonGodoy 2

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans