cancel
Showing results for 
Search instead for 
Did you mean: 

Updating UDF on OADM table

edward_tollenaar
Explorer
0 Kudos

Hey,

Using the DI-API I can create an UDF on the OADM table. This one popups in the B1 Client and I can modify the values for this UDF using the B1 Client.

How can I update this UDF using the DI-API? I can access the table using (AdminInfo)GetCompany().GetCompanyService().GetAdminInfo(), but that doesn't has the UDFs in it. Also didn't found (or I'm overlooking) a generic part to update UDFs on an object.

Any thoughts?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member233854
Active Contributor
0 Kudos

Regarding the OADM, unless you use a sql query I don`t see any way do it, since SAP doesn`t provide as the UserFields property in AdminInfo object, but this is not allowed by SAP.

Regarding the UDF as an object you should use UserFieldsMD

edward_tollenaar
Explorer
0 Kudos

Yes, SQL seems the only thing, but isn't allowed.

Was wondering how SAP does it in the client. Cannot think they would use a SQL query :).

thanks.