Skip to Content
Menu
This question has been flagged
1303 Views

I'm trying to use the improved Automations tools to update a field on the child Manufacturing Orders of a Sales Order.

The new UI let's you choose from a list of fields on the Sales Order including one called "Manufacturing orders associated with this sales order."

When that option is selected, you're presented with a list of fields from the Manufacturing Order entity itself.

What I want to do is take a value from the parent SO record and put it into a field on each of the child MOs. I have success when I set a static value for the child MOs but I'm lost when it comes to using Python code.

Everything I've tried results in either an empty value on the child MOs or a server error.

Question is what Python code do I use to get a value from the Sales Order?

(I tried uploading an image but the forum is rejecting it.)

I have tried many many variations of Python code (many Google searches) but nothing works. What makes the most sense to me is simply "record.name" to fetch the 'name' of the SO.

Avatar
Discard
Author

bump

Related Posts Replies Views Activity
0
Mar 17
3567
2
Jun 25
527
0
Mar 25
905
0
Feb 25
916
1
Jan 25
1202