Skip to Content
avatar image
Former Member

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

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 27, 2017 at 06:39 AM

    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

    Add comment
    10|10000 characters needed characters exceeded