cancel
Showing results for 
Search instead for 
Did you mean: 

Cancel a record in a UDO through code

Former Member
0 Kudos

Hi.

I have created a UDO.

I have hadded a right click menu to duplicate a record, but i want to cancel de old one.

I can do it through the right click menu. but how can i do it through code.

Tks in advance

Accepted Solutions (1)

Accepted Solutions (1)

former_member184566
Active Contributor
0 Kudos

Hi Nelson

In normal circumstances like if you were working with marketing docs. You would say

if Ojournal.getbykey("10") then

ojournal.close

end if

But i think you can't use the getbykey on UDO entries.

Answers (0)