the anilpassi website also has the exact similar thing to what i have done in CUSTOM.pll but does not mention receiving the error "FRM 40700 – No such trigger SPECIAL" , maybe because it was limited to a specific form/block which maybe had a trigger SPECIAL15. since i dont enable conditionally (because i want it enabled for ALL forms and be always available in the toolbar) i get the error in all forms where such trigger does not exist ???
any inputs ?
Enable or Disable Special Menu
PROCEDURE manage_special_menu IS
mi_id := find_menu_item('SPECIAL.SPECIAL15');
IF name_in('system.cursor_block') = 'INVOICE_HEADER' THEN
app_special2.instantiate('SPECIAL15', 'Print Invoice');
set_menu_item_property(mi_id, displayed, property_true);
set_menu_item_property(mi_id, enabled, property_true);
set_menu_item_property(mi_id, displayed, property_false);
folks, any guidance ?