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.
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
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.