Skip to Content
Menú
This question has been flagged
1422 Vistes

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
Descartar
Autor

bump

Related Posts Respostes Vistes Activitat
0
de març 17
3698
2
de juny 25
915
0
de març 25
1170
0
de febr. 25
1223
1
de gen. 25
1648