Skip to Content

como se agregar datos a un udt con ui api en c#?

Oct 26, 2017 at 06:13 PM


avatar image
Former Member

estimados soy nuevo con el desarrollo de addons,como se puede agregar datos desde código c# (UI API) a una form creado con datos de una tabla de usuario?


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

1 Answer

Best Answer
Oct 27, 2017 at 06:39 AM


I would suggest you to refer to SDK Help Center for the same. SDK Help Center can be found once you install SAP Business One SDK.

There are different ways to add or update data on the form.

1. If you have registered a User Defined Object (UDO) for your form and tables, you need to create the form with 2 buttons first. First Button should have the Unique ID as "1" . And the second button should have the Unique ID as "2". These 2 button will do the automatic Add, Update, Cancel for you. For this check this link: UDO

2. If there is no object registered and table is of type "No Object", you can refer to following link: No Object Type

3. If UDO is registered, you can use DI API to add the data to the UDO Tables as given in this Link: GeneralService

Hope it helps!

Good Luck!

Kind regards,


SAP SME Support

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

hi, thanks for answer , but doing something like this? , direct from ui api form ?