Announcements
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.
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.
Hi Vanels,
I do not know the answer, but I guess you fins it through debugging or trace. Easy and quick ;)
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!
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
André Arnaud de Cal...
294,125
Super User 2025 Season 1
Martin Dráb
232,871
Most Valuable Professional
nmaenpaa
101,158
Moderator