Populate UDFs from BOM to Production Model

1 week ago 3

Dear experts,

Please counsel however to technically instrumentality the pursuing request successful SAP Business One:

We person an UDF successful Production BoM title, and the aforesaid UDF successful Production Order title. The request is that whenever a Production Order is created for the respective product/BoM, the UDF from the BoM indispensable beryllium copied to the Production Order.

I cognize however to execute this with UI API erstwhile a idiosyncratic would prime the merchandise successful a caller Production Order. But this is lone a partial solution, since a Production Order tin beryllium created successful different ways without idiosyncratic opening a Production Order form, e.g. by utilizing the MRP run.

I could usage the SP_PostTransactionNotice and transcript the UDF from determination astatine database level, but since the UDFs are connected SAP modular tables, I recognize this is simply a no-go due to the fact that of enactment policy.

Another attack would beryllium using SP_PostTransactionNotice that writes the queue of to-be-updated accumulation orders to a circumstantial UDT, and past person an outer exertion to show that UDT and update Production Orders utilizing Service Layer. But isn't this a spot of an overkill for specified a seemingly elemental requirement?

Read Entire Article