PUIATEXRTV



PUIATEXRTV - Retrieve a Menu Item

D PUIATEXRTV PR ExtPgm('PUIATEXRTV') D iUser 128A Const D iItemCode 128A Const D oItem LikeDS(Item) D oError N D oErrorMsg 256A

This program returns a menu item to Atrium so it can be run by the API Atrium.launchItem(itemId), an item is clicked in the search window or a favorite is selected.

It validates that the user has access to this menu item and returns the item in the data structure.