Skip to Content
0

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

Oct 26, 2017 at 06:13 PM

42

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?

gracias!

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

1 Answer

Best Answer
ANKIT CHAUHAN
Oct 27, 2017 at 06:39 AM
0

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

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

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

0