cancel
Showing results for 
Search instead for 
Did you mean: 

Add data to UDO

Former Member
0 Kudos

Hello,

I'm creating a udo by DI, after i need to insert some rows to him but when i try, it seems like the UDO didn't commit yet, so if i restart my addon i can insert the rows using the UDO that i created how can i insert the rows after created the udo?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

You see right, you have to disconnect the DI API to insert records into the Newly created UDO table. But you can disconnect from code.

Steps

1. Add Your Database Fields (UDO-s, etc).

2. Disconnect your addon's DI Company Object with

oCompany.Disconnect()

3. Reconnect you DI Company by Single SIgn On ( or connect procedure you are using in when you addon is connecting at startuo). At this point your DI API connection will know about the new tables.

4. Insert records into the specific UDO.

Regards,

J.