Skip to Content
0

Updating UDF on OADM table

May 09, 2017 at 11:41 AM

108

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Danilo Kasparian May 09, 2017 at 12:07 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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.

0