Skip to Content
Menu
This question has been flagged
1 Reply
1789 Views

Hi Guys,

I am trying to trigger a custom email upon creation of a sales order. Basically I would like to send an email to the inventory representative upon the creation of a new sales order. Somehow I can't figure out how to access this information.

I have a sales order with at least one order line - which I can't seem to access - and for each order line I would need to find the inventory rep. So potentially several email adresses are needed.

How should I go about this?

So far I have tried to access this information by going through the order lines on a specific sales order, but that seems not to work. The order lines list seems to be empty (when testing the email template) although there's an order line on the sales order.

Any hints or alternative solutions are more than welcome! :-) 


/Tue


Avatar
Discard

Hi, I would think from this point. product can have user responsible.

after SO confirmed, you can make to triggers automated action to make some things(like email) to happen. try from this point. automated action some good examples here:

https://odootricks.tips/about/automated-actions/automated-actions-reordering-rules/

Author Best Answer

Thank you Mindaugas, for your input.

I managed to solve it this morning. Had to create a couple of custom fields, but now I can access the info needed.

Avatar
Discard
Related Posts Replies Views Activity
1
Dec 24
189
2
Mar 24
707
2
Mar 24
1334
0
Sep 23
354
1
Sep 23
462