Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1686 Weergaven

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
Annuleer
Auteur

bump

Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 17
4005
2
aug. 25
491
2
aug. 25
1512
0
mrt. 25
1524
0
feb. 25
1616