Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1564 Tampilan

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
Buang
Penulis

bump

Post Terkait Replies Tampilan Aktivitas
0
Mar 17
3854
2
Agu 25
168
2
Agu 25
1313
0
Mar 25
1318
0
Feb 25
1452