Cancel a record in a UDO through code
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
In normal circumstances like if you were working with marketing docs. You would say
if Ojournal.getbykey("10") then
But i think you can't use the getbykey on UDO entries.