Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Where is an intercompany order created through approval workflow?

Posted on by 447

Hi,

When I create a sales order, it's creted as a journal in Order type field.

If I change it manually and put it "Sales order", an intercompany purchase order creates and I can debbug process in \Classes\PurchTableType\insert

But If I send the order to an approval workflow, where class I can verify to see this order creation?

Thanks in advance.

  • Verified answer
    vanels Profile Picture
    vanels 447 on at
    RE: Where is an intercompany order created through approval workflow?

    Hi,

    Debbug workflow is not easy but I got the answer...

    The class I had seen is the same that execute the process when workflow is finished. There was personal code at this moment.

    Thanks a lot.

  • Suggested answer
    RE: Where is an intercompany order created through approval workflow?

    Hi Vanels,

    I do not know the answer, but I guess you fins it through debugging or trace. Easy and quick ;)

  • vanels Profile Picture
    vanels 447 on at
    RE: Where is an intercompany order created through approval workflow?

    Hi Ludwig,

    Yes... the process works fine.

    I just want to know where to interact in the creation process through the workflow. It would be the equivalent of the class I indicate, which runs when the order type field changes.

    I would like to put a control that I have now in the PurchTableType class...

    Thanks!

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Where is an intercompany order created through approval workflow?

    Hi,

    Have you checked in your procurement parameters what default order type has been selected?

    If you select 'sales order' things might already work fine.

    Best regards,

    Ludwig

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans