Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1678 Näkymät

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
Hylkää
Tekijä

bump

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
maalisk. 17
4003
2
elok. 25
491
2
elok. 25
1508
0
maalisk. 25
1520
0
helmik. 25
1615