How to flow inter company sales order data to original sales order using x++ code

Hi Techies,

I’m having a requirement like:

We have a intercompany process :

Original Sales order → Direct delivery Purchase order → Inter company sales order

If any Inter company sales order is updated that updated data need to flow like

Inter company sales order - > Purchase order - > Original Sales order

If any suggestion help me out here !!

Thanks in Advance

Is it not flowing for standard fields? Is that a custom field?

Thanks for the reply

For custom fields…
Suppose If I check the checkbox the same data need to flow like

Inter company sales order - > Purchase order - > Original Sales order

Have a look at \Classes\PurchTableType\syncSalesTable

I kept debug in \Classes\PurchTableType\syncSalesTable but it is not firing the debug when i check the check box and Ctrl + s

You are modifying it on the header right?
Modify any standard field and check. Example: confirmed receipt date on sales order header.

Ok Thanks