cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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?

gracias!

Accepted Solutions (1)

Accepted Solutions (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

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,

ANKIT CHAUHAN

SAP SME Support

Former Member
0 Kudos

hi, thanks for answer , but doing something like this? https://archive.sap.com/discussions/thread/3811805 , direct from ui api form ?

Answers (0)