Skip to Content
avatar image
Former Member

Updating UDF on OADM table

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 09, 2017 at 12:07 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.