Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Where is an intercompany order created through approval workflow?

Posted on by 445

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 445 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 445 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans