cancel
Showing results for 
Search instead for 
Did you mean: 

Modify user fields for Production Order Stage in SBO using DI-API

ccsa
Explorer
0 Kudos
233

Hello, experts:

Basically, the title ask everything. I created a User Defined Field in the Production Order Stage, SAP BO allow me to do that. Usually, every element on DI-API has a UserFields field to get and set any UDF: marketing documents, transfers, even Production Orders... but no its stages (table WOR4).

The only way I have to change any UDF for WOR4 is using an SQL. Am I wrong? Is there any "right" way to do it?

Thank you.

View Entire Topic
ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ccsa,

Yes, it appears that the UDFs are not exposed for ProductionOrders_Stages object.

Using direct SQL updates on System Tables is not recommended at all.

Therefore, we would ask you to use SAP Business One Client to update the value.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

ccsa
Explorer
0 Kudos

Thanks for the answer.

Sorry, but I can´t use SAP Business One Client to update the value, because I'm doing an external APP, that's why I'm using DI-API.

I know that is not recommended to make updates on System Tables. I NEVER add, update or delete anything in a SAP database through SQL. But, because this is an UDF, and there is nothing attached to it, it looks like that I can do it as a walkaround. I just want to be sure that actually there is no other way to do it.