3 Replies Latest reply: Nov 16, 2010 10:35 AM by 550628 RSS

    Using Custom.pll

    user5345
      Hi all,

      By using Custom.pll i have used Special Menu creation,this is the code as follows

      procedure event(event_name varchar2) is
      begin
           mi_id := find_menu_item('SPECIAL.SPECIAL15');
           if (form_name = 'CSXSRISR' and block_name = 'INCIDENT_NUMBER') then
      IF name_in('system.cursor_block') = 'INCIDENT_NUMBER' THEN
      app_special2.instantiate('SPECIAL15', 'Start Discount');
      set_menu_item_property(mi_id, displayed, property_true);
      set_menu_item_property(mi_id, enabled, property_true);
      ELSE
      set_menu_item_property(mi_id, displayed, property_false);
      END IF;

      IF event_name = 'SPECIAL15' THEN
      -- IF form_name = 'DISMANAGER' THEN
           
      fnd_function.execute(FUNCTION_NAME=>'DISMANAGER',
      OPEN_FLAG=>'Y',
      SESSION_FLAG=>'N');
                fnd_message.set_string('Hello');
           fnd_message.show;
      END IF;
      END IF;
      end event;

      If whn i'm trying to open in the Apps Front-end it showing like this
      Error :oracle apps FRM-40700:No such trigger:SPECIAL.15

      whn i clieck on Menu 'Start Discount' And also i need to call DISMANAGER Form which populates data from Apps Standrad Form to this Custom Form.

      Itis bit urget any one can help me in this scenario

      Regards
      Siva