code_pay_variable_editor_s
code_pay_variable_editor_s
- Subclass Information
* Comments
- Help Book Title
* Title
- Console Window
* Menu Module mainmenu
* Initial Menu
- Defer Required Enforcement No
- Menu Role
* Mouse Navigation Limit Data Block
- First Navigation Data Block
- Current Record Visual Attribute Group
* Validation Unit Item
- Interaction Mode Blocking
- Maximum Query Time 0
- Maximum Records Fetched 0
- Isolation Mode Read Committed
* Coordinate System
----------
* Coordinate System Real
* Real Unit Point
* Default Font Scaling No
* Character Cell Height 14
* Character Cell Width 5
----------
* Use 3D Controls No
- Form Horizontal Toolbar Canvas
- Form Vertical Toolbar Canvas
- Direction Default
* Triggers
----------
* Name KEY-LISTVAL
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-LISTVAL
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
--LIST_VALUES(RESTRICT);
LIST_VALUES;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-NEXT-ITEM
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-NEXT-ITEM
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
NEXT_FIELD;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-NXTREC
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-NXTREC
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Next_Rec;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-OTHERS
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-OTHERS
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
NULL;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-PRINT
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-PRINT
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Display_Version;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-PREV-ITEM
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-PREV-ITEM
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
PREVIOUS_ITEM;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-PRVREC
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-PRVREC
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Prev_Rec;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-SCRDOWN
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-SCRDOWN
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Scrl_Down;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-SCRUP
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-SCRUP
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Scrl_Up;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-UP
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-UP
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Prev_Rec;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name WHEN-NEW-FORM-INSTANCE
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name WHEN-NEW-FORM-INSTANCE
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Startup;
Startup_Local;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-F0
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-F0
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Key_In('F0');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-F1
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-F1
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Key_In('F1');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-F2
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-F2
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Key_In('F2');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-F3
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-F3
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Key_In('F3');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-F4
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-F4
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Key_In('F4');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-F5
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-F5
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Key_In('F5');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-F6
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-F6
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Key_In('F6');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-F7
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-F7
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Key_In('F7');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-F8
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-F8
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Key_In('F8');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-F9
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-F9
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Key_In('F9');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-DUP-ITEM
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-DUP-ITEM
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Next_Rec;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name KEY-EXIT
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name KEY-EXIT
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_exit;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name POST-INSERT
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name POST-INSERT
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Post_Insert;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name POST-UPDATE
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name POST-UPDATE
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Post_Update;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name POST-DELETE
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name POST-DELETE
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
Tr_Post_Delete;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name ON-ERROR
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name ON-ERROR
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
DECLARE
log_error_text VARCHAR2 (200);
BEGIN
-- Build the error text to log
log_error_text := :SYSTEM.CURSOR_FIELD || ' = ' ||
:SYSTEM.CURSOR_VALUE || ', STATUS = ' ||
:SYSTEM.RECORD_STATUS || ' ' || SQLERRM;
Tr_On_Error (ERROR_TYPE, ERROR_CODE, ERROR_TEXT, log_error_text);
EXCEPTION
WHEN FORM_TRIGGER_FAILURE THEN
RAISE FORM_TRIGGER_FAILURE;
END;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name ON-MESSAGE
* Subclass Information
----------
* Source File library.fmb
- Source Path
- Source Module
* Source Level
----------
* Source Name LIBRARY
----------
* Source Name ON-MESSAGE
----------
----------
- Comments
- Trigger Style PL/SQL
- Trigger Text
MESSAGE (MESSAGE_TEXT);
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name WHEN-MOUSE-LEAVE
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name WHEN-MOUSE-LEAVE
----------
----------
- Comments
- Trigger Style PL/SQL
^ Trigger Text
Hint.HideButtonHelp;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name WHEN-TIMER-EXPIRED
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name WHEN-TIMER-EXPIRED
----------
----------
- Comments
- Trigger Style PL/SQL
^ Trigger Text
Hint.ShowButtonHelpHandler;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name WHEN-MOUSE-ENTER
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name WHEN-MOUSE-ENTER
----------
----------
- Comments
- Trigger Style PL/SQL
^ Trigger Text
Hint.ShowButtonHelp;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name WHEN-FORM-NAVIGATE
- Subclass Information
- Comments
- Trigger Style PL/SQL
* Trigger Text
AHL.SET_AHL_INFO(:WORK.FACILITY_ID,:SYSTEM.CURRENT_FORM);
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Name TRIGGER_PITSS_CON_HIDE
- Subclass Information
- Comments
- Trigger Style PL/SQL
* Trigger Text
DECLARE
v_wh_id PAR3214.WH.WH_ID%TYPE;
CURSOR val_wh_id IS
SELECT 'x'
FROM par3214.wh
WHERE facility_id = :WORK.facility_id
AND wh_id = :b_control.wh_id;
BEGIN
OPEN val_wh_id;
FETCH val_wh_id INTO v_wh_id;
IF val_wh_id%NOTFOUND THEN
CLOSE val_wh_id;
call_msg_window_p ('INV_WH');
RAISE form_trigger_failure;
END IF;
CLOSE val_wh_id;
EXCEPTION
WHEN FORM_TRIGGER_FAILURE THEN
RAISE FORM_TRIGGER_FAILURE;
WHEN OTHERS THEN
RAISE FORM_TRIGGER_FAILURE;
END;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
----------
* Name PB_WH
* Item Type Push Button
- Subclass Information
- Comments
- Help Book Topic
* Enabled Yes
- Label
- Access Key
- Implementation Class
* Iconic Yes
* Icon Filename down
- Default Button No
- Popup Menu
* Keyboard Navigable No
* Mouse Navigate No
- Previous Navigation Item
- Next Navigation Item
- Current Record Visual Attribute Group
* Distance Between Records 0
* Number of Items Displayed 1
* Visible Yes
* Canvas C_CODE_PAY_VARIABLE_EDITOR
- Tab Page
* X Position 92
* Y Position 18
* Width 18
* Height 15
- Cursor Style <Unspecified>
* Visual Attribute Group CANVAS_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color gray
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Hint
* Display Hint Automatically Yes
- Tooltip
- Tooltip Visual Attribute Group
- Direction Default
* Triggers
----------
* Name WHEN-BUTTON-PRESSED
- Subclass Information
- Comments
- Trigger Style PL/SQL
- Trigger Text
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
v_activity_cd PAR3214.CODE_DETAIL.CODE%TYPE;
v_act_desc PAR3214.CODE_DETAIL.CODE_DESC%TYPE;
CURSOR val_activity_cd IS
SELECT code, code_desc
FROM par3214.code_detail
WHERE code_type = 'ACTV'
AND code = :b_control.activity_cd;
Begin
OPEN val_activity_cd;
FETCH val_activity_cd INTO v_activity_cd,v_act_desc;
IF val_activity_cd%NOTFOUND THEN
CLOSE val_activity_cd;
call_msg_window_p ('INV_ACTIVITY');
:b_control.activity_desc := NULL;
RAISE form_trigger_failure;
END IF;
CLOSE val_activity_cd;
:b_control.activity_desc := v_act_desc;
EXCEPTION
WHEN FORM_TRIGGER_FAILURE THEN
RAISE FORM_TRIGGER_FAILURE;
WHEN OTHERS THEN
RAISE FORM_TRIGGER_FAILURE;
END;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
----------
* Name PB_ACTIVITY
* Item Type Push Button
- Subclass Information
- Comments
- Help Book Topic
* Enabled Yes
- Label
- Access Key
- Implementation Class
* Iconic Yes
* Icon Filename down
- Default Button No
- Popup Menu
* Keyboard Navigable No
* Mouse Navigate No
- Previous Navigation Item
- Next Navigation Item
- Current Record Visual Attribute Group
* Distance Between Records 0
* Number of Items Displayed 1
* Visible Yes
* Canvas C_CODE_PAY_VARIABLE_EDITOR
- Tab Page
* X Position 249
* Y Position 18
* Width 18
* Height 14
- Cursor Style <Unspecified>
* Visual Attribute Group CANVAS_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color gray
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Hint
* Display Hint Automatically Yes
- Tooltip
- Tooltip Visual Attribute Group
- Direction Default
* Triggers
----------
* Name WHEN-BUTTON-PRESSED
- Subclass Information
- Comments
- Trigger Style PL/SQL
- Trigger Text
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
- Optimizer Hint
* Insert Allowed Yes
* Update Allowed Yes
* Locking Mode Immediate
* Delete Allowed Yes
* Key Mode Unique
- Update Changed Columns Only No
* Enforce Column Security No
- Maximum Query Time 0
- Maximum Records Fetched 0
* DML Data Target Type Table
* DML Data Target Name
- Insert Procedure Name
- Insert Procedure Result Set Columns
- Insert Procedure Arguments
- Update Procedure Name
- Update Procedure Result Set Columns
- Update Procedure Arguments
- Delete Procedure Name
- Delete Procedure Result Set Columns
- Delete Procedure Arguments
- Lock Procedure Name
- Lock Procedure Result Set Columns
- Lock Procedure Arguments
- DML Array Size 1
- Precompute Summaries No
- DML Returning Value No
* Show Scroll Bar Yes
* Scroll Bar Canvas C_CODE_PAY_VARIABLE_EDITOR
- Scroll Bar Tab Page
- Scroll Bar Orientation Vertical
* Scroll Bar X Position 16
* Scroll Bar Y Position 76
* Scroll Bar Width 12
* Scroll Bar Length 168
- Scroll Bar Height 0
- Reverse Direction No
- Visual Attribute Group DEFAULT
* Foreground Color black
* Background Color gray
* Fill Pattern transparent
- Row Banding Frequency 0
- Direction Default
* Triggers
----------
* Name WHEN-MOUSE-DOUBLECLICK
- Subclass Information
- Comments
- Trigger Style PL/SQL
- Trigger Text
BEGIN
IF :b_cpve_main.pv_type_cd IS NULL THEN
click_button('PB_CREATE_RECORD');
ELSIF :b_cpve_main.pv_type_cd IS NOT NULL THEN
click_button('MODIFY_RECORD');
END IF;
END;
TRANSLATION_HINT('B_BOILER_CPVE_MAIN.HINT_ITEM');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Items
----------
* Name HINT_ITEM
* Item Type Text Item
- Subclass Information
- Comments
- Help Book Topic
- Enabled Yes
- Justification Start
- Implementation Class
- Multi-Line No
- Wrap Style Word
- Case Restriction Mixed
- Conceal Data No
- Keep Cursor Position No
- Automatic Skip No
- Popup Menu
- Keyboard Navigable Yes
- Previous Navigation Item
- Next Navigation Item
- Data Type Char
- Data Length Semantics Null
- Maximum Length 30
- Initial Value
- Required No
- Format Mask
- Lowest Allowed Value
- Highest Allowed Value
- Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
- Distance Between Records 0
- Number of Items Displayed 0
* Database Item No
- Column Name
- Primary Key No
- Query Only No
- Query Allowed Yes
- Query Length 0
- Case Insensitive Query No
- Insert Allowed Yes
- Update Allowed Yes
- Update Only if NULL No
- Lock Record No
- List of Values
- List X Position 0
- List Y Position 0
- Validate from List No
- Editor
- Editor X Position 0
- Editor Y Position 0
- Visible Yes
* Canvas C_CODE_PAY_VARIABLE_EDITOR
* Tab Page
* X Position 11
* Y Position 261
* Width 130
* Height 9
- Cursor Style <Unspecified>
* Bevel None
- Rendered Yes
* Show Vertical Scroll Bar No
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
* Foreground Color black
* Background Color gray
* Fill Pattern transparent
- Row Banding Frequency 0
- Font
* Font Name Arial
* Font Size 8
* Font Weight Bold
- Font Style Plain
- Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Hint
- Display Hint Automatically No
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
* Name TYPE
* Item Type Display Item
- Subclass Information
- Comments
- Help Book Topic
* Justification Left
- Popup Menu
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 30
- Initial Value
- Format Mask
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item No
- Column Name
* Primary Key No
- Query Only No
* Visible Yes
* Canvas C_CODE_PAY_VARIABLE_EDITOR
* Tab Page
* X Position 29
* Y Position 62
* Width 43
* Height 9
- Cursor Style <Unspecified>
* Bevel None
- Rendered Yes
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
* Foreground Color black
* Background Color gray
* Fill Pattern transparent
- Row Banding Frequency 0
- Font
* Font Name Arial
* Font Size 8
* Font Weight Bold
- Font Style Plain
- Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
* Name TYPE_DESCRIPTION
* Item Type Display Item
- Subclass Information
- Comments
- Help Book Topic
* Justification Left
- Popup Menu
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 30
- Initial Value
- Format Mask
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item No
- Column Name
* Primary Key No
- Query Only No
* Visible Yes
* Canvas C_CODE_PAY_VARIABLE_EDITOR
* Tab Page
* X Position 166
* Y Position 62
* Width 88
* Height 9
- Cursor Style <Unspecified>
* Bevel None
- Rendered Yes
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
* Foreground Color black
* Background Color gray
* Fill Pattern transparent
- Row Banding Frequency 0
- Font
* Font Name Arial
* Font Size 8
* Font Weight Bold
- Font Style Plain
- Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
* Name MINIMUM
* Item Type Display Item
- Subclass Information
- Comments
- Help Book Topic
* Justification Left
- Popup Menu
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 30
- Initial Value
- Format Mask
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item No
- Column Name
* Primary Key No
- Query Only No
* Visible Yes
* Canvas C_CODE_PAY_VARIABLE_EDITOR
* Tab Page
* X Position 359
* Y Position 62
* Width 39
* Height 13
- Cursor Style <Unspecified>
* Bevel None
- Rendered Yes
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
* Foreground Color black
* Background Color gray
* Fill Pattern transparent
- Row Banding Frequency 0
- Font
* Font Name Arial
* Font Size 8
* Font Weight Bold
- Font Style Plain
- Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
* Name MAXIMUM
* Item Type Display Item
- Subclass Information
- Comments
- Help Book Topic
* Justification Left
- Popup Menu
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 30
- Initial Value
- Format Mask
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item No
- Column Name
* Primary Key No
- Query Only No
* Visible Yes
* Canvas C_CODE_PAY_VARIABLE_EDITOR
* Tab Page
* X Position 401
* Y Position 62
* Width 42
* Height 12
- Cursor Style <Unspecified>
* Bevel None
- Rendered Yes
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
* Foreground Color black
* Background Color gray
* Fill Pattern transparent
- Row Banding Frequency 0
- Font
* Font Name Arial
* Font Size 8
* Font Weight Bold
- Font Style Plain
- Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
- Relations
----------
* Name B_BOILER_CONTROL
- Subclass Information
- Comments
* Navigation Style Same Record
- Previous Navigation Data Block
- Next Navigation Data Block
- Current Record Visual Attribute Group
* Query Array Size 0
* Number of Records Buffered 0
* Number of Records Displayed 1
- Query All Records No
* Record Orientation Vertical
- Single Record No
* Database Data Block No
* Enforce Primary Key No
* Query Allowed Yes
* Query Data Source Type None
- Query Data Source Name
- Query Data Source Columns
- Query Data Source Arguments
- Alias
- Include REF Item No
- WHERE Clause
- ORDER BY Clause
- Optimizer Hint
* Insert Allowed Yes
* Update Allowed Yes
* Locking Mode Immediate
* Delete Allowed Yes
* Key Mode Unique
- Update Changed Columns Only No
* Enforce Column Security No
- Maximum Query Time 0
- Maximum Records Fetched 0
* DML Data Target Type None
- DML Data Target Name
- Insert Procedure Name
- Insert Procedure Result Set Columns
- Insert Procedure Arguments
- Update Procedure Name
- Update Procedure Result Set Columns
- Update Procedure Arguments
- Delete Procedure Name
- Delete Procedure Result Set Columns
- Delete Procedure Arguments
- Lock Procedure Name
- Lock Procedure Result Set Columns
- Lock Procedure Arguments
- DML Array Size 1
- Precompute Summaries No
- DML Returning Value No
* Show Scroll Bar No
- Scroll Bar Canvas
- Scroll Bar Tab Page
- Scroll Bar Orientation Vertical
- Scroll Bar X Position 0
- Scroll Bar Y Position 0
- Scroll Bar Width 0
- Scroll Bar Length 0
- Scroll Bar Height 0
- Reverse Direction No
* Visual Attribute Group DEFAULT
- Foreground Color
- Background Color
- Fill Pattern
- Row Banding Frequency 0
- Direction Default
* Triggers
----------
* Name WHEN-MOUSE-CLICK
- Subclass Information
- Comments
- Trigger Style PL/SQL
* Trigger Text
TRANSLATION_HINT('B_BOILER_CONTROL.HINT_ITEM');
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
* Items
----------
* Name WH
* Item Type Display Item
- Subclass Information
- Comments
- Help Book Topic
* Justification Left
- Popup Menu
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 30
- Initial Value
- Format Mask
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item No
- Column Name
* Primary Key No
- Query Only No
* Visible Yes
* Canvas C_CODE_PAY_VARIABLE_EDITOR
* Tab Page
* X Position 27
* Y Position 19
* Width 14
* Height 10
- Cursor Style <Unspecified>
* Bevel None
- Rendered Yes
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
* Foreground Color black
* Background Color gray
* Fill Pattern transparent
- Row Banding Frequency 0
- Font
* Font Name Arial
* Font Size 8
* Font Weight Bold
- Font Style Plain
- Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
* Name ACTIVITY
* Item Type Display Item
- Subclass Information
- Comments
- Help Book Topic
* Justification Left
- Popup Menu
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 30
- Initial Value
- Format Mask
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item No
- Column Name
* Primary Key No
- Query Only No
* Visible Yes
* Canvas C_CODE_PAY_VARIABLE_EDITOR
* Tab Page
* X Position 160
* Y Position 19
* Width 39
* Height 14
- Cursor Style <Unspecified>
* Bevel None
- Rendered Yes
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
* Foreground Color black
* Background Color gray
* Fill Pattern transparent
- Row Banding Frequency 0
- Font
* Font Name Arial
* Font Size 8
* Font Weight Bold
- Font Style Plain
- Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
* Name DESCRIPTION
* Item Type Display Item
- Subclass Information
- Comments
- Help Book Topic
* Justification Left
- Popup Menu
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 30
- Initial Value
- Format Mask
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item No
- Column Name
* Primary Key No
- Query Only No
* Visible Yes
* Canvas C_CODE_PAY_VARIABLE_EDITOR
* Tab Page
* X Position 310
* Y Position 19
* Width 54
* Height 11
- Cursor Style <Unspecified>
* Bevel None
- Rendered Yes
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
* Foreground Color black
* Background Color gray
* Fill Pattern transparent
- Row Banding Frequency 0
- Font
* Font Name Arial
* Font Size 8
* Font Weight Bold
- Font Style Plain
- Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
- Relations
----------
* Name B_CPVE_CREATE_MODIFY
- Subclass Information
- Comments
* Navigation Style Same Record
- Previous Navigation Data Block
- Next Navigation Data Block
- Current Record Visual Attribute Group
* Query Array Size 0
* Number of Records Buffered 0
* Number of Records Displayed 1
- Query All Records No
* Record Orientation Vertical
- Single Record No
* Database Data Block Yes
* Enforce Primary Key No
* Query Allowed Yes
* Query Data Source Type Table
* Query Data Source Name PAY_VARIABLE_TYPE
- Query Data Source Columns
- Query Data Source Arguments
- Alias
- Include REF Item No
* WHERE Clause where facility_id
= :work.facility_id
and wh_id = :b_control.wh_id
and activity_cd = :b_control.activity_cd
and pv_type_cd = :b_cpve_main.pv_type_cd
and rowid = :b_cpve_main.rowid
- ORDER BY Clause
- Optimizer Hint
* Insert Allowed Yes
* Update Allowed Yes
* Locking Mode Immediate
* Delete Allowed Yes
* Key Mode Unique
- Update Changed Columns Only No
* Enforce Column Security No
- Maximum Query Time 0
- Maximum Records Fetched 0
* DML Data Target Type Table
* DML Data Target Name PAY_VARIABLE_TYPE
- Insert Procedure Name
- Insert Procedure Result Set Columns
- Insert Procedure Arguments
- Update Procedure Name
- Update Procedure Result Set Columns
- Update Procedure Arguments
- Delete Procedure Name
- Delete Procedure Result Set Columns
- Delete Procedure Arguments
- Lock Procedure Name
- Lock Procedure Result Set Columns
- Lock Procedure Arguments
- DML Array Size 1
- Precompute Summaries No
- DML Returning Value No
* Show Scroll Bar No
- Scroll Bar Canvas
- Scroll Bar Tab Page
- Scroll Bar Orientation Vertical
- Scroll Bar X Position 0
- Scroll Bar Y Position 0
- Scroll Bar Width 0
- Scroll Bar Length 0
- Scroll Bar Height 0
- Reverse Direction No
* Visual Attribute Group DEFAULT
- Foreground Color
- Background Color
- Fill Pattern
- Row Banding Frequency 0
- Direction Default
- Triggers
* Items
----------
* Name FACILITY_ID
* Item Type Text Item
- Subclass Information
- Comments
- Help Book Topic
* Enabled Yes
- Justification Start
- Implementation Class
- Multi-Line No
- Wrap Style Word
* Case Restriction Upper
- Conceal Data No
- Keep Cursor Position No
- Automatic Skip No
- Popup Menu
* Keyboard Navigable Yes
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 6
- Initial Value
* Required Yes
- Format Mask
- Lowest Allowed Value
- Highest Allowed Value
- Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item Yes
- Column Name
* Primary Key Yes
- Query Only No
* Query Allowed No
* Query Length 0
- Case Insensitive Query No
* Insert Allowed Yes
* Update Allowed Yes
- Update Only if NULL No
- Lock Record No
- List of Values
* List X Position 0
* List Y Position 0
- Validate from List No
- Editor
* Editor X Position 0
* Editor Y Position 0
* Visible No
* Canvas
* Tab Page
* X Position 70
* Y Position 40
* Width 60
* Height 14
- Cursor Style <Unspecified>
* Bevel Lowered
- Rendered Yes
* Show Vertical Scroll Bar No
* Visual Attribute Group FOREGROUND_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color white
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
* Hint Enter code type
* Display Hint Automatically Yes
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
* Name WH_ID
* Item Type Text Item
- Subclass Information
- Comments
- Help Book Topic
* Enabled No
- Justification Start
- Implementation Class
- Multi-Line No
- Wrap Style Word
* Case Restriction Upper
- Conceal Data No
- Keep Cursor Position No
- Automatic Skip No
- Popup Menu
* Keyboard Navigable No
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 2
- Initial Value
* Required No
- Format Mask
- Lowest Allowed Value
- Highest Allowed Value
- Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item Yes
- Column Name
* Primary Key Yes
- Query Only No
* Query Allowed No
* Query Length 0
- Case Insensitive Query No
* Insert Allowed Yes
* Update Allowed Yes
- Update Only if NULL No
- Lock Record No
- List of Values
* List X Position 0
* List Y Position 0
- Validate from List No
- Editor
* Editor X Position 0
* Editor Y Position 0
* Visible Yes
* Canvas C_CPVE_CREATE_MODIFY
- Tab Page
* X Position 110
* Y Position 20
* Width 60
* Height 15
- Cursor Style <Unspecified>
* Bevel Lowered
- Rendered Yes
* Show Vertical Scroll Bar No
* Visual Attribute Group FOREGROUND_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color white
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
* Hint Enter WH_Id
* Display Hint Automatically Yes
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
* Name ACTIVITY_CD
* Item Type Text Item
- Subclass Information
- Comments
- Help Book Topic
* Enabled No
- Justification Start
- Implementation Class
- Multi-Line No
- Wrap Style Word
* Case Restriction Upper
- Conceal Data No
- Keep Cursor Position No
- Automatic Skip No
- Popup Menu
* Keyboard Navigable No
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 6
- Initial Value
* Required No
- Format Mask
- Lowest Allowed Value
- Highest Allowed Value
- Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item Yes
- Column Name
* Primary Key Yes
- Query Only No
* Query Allowed No
* Query Length 0
- Case Insensitive Query No
* Insert Allowed Yes
* Update Allowed Yes
- Update Only if NULL No
- Lock Record No
- List of Values
* List X Position 0
* List Y Position 0
- Validate from List No
- Editor
* Editor X Position 0
* Editor Y Position 0
* Visible Yes
* Canvas C_CPVE_CREATE_MODIFY
- Tab Page
* X Position 110
* Y Position 37
* Width 60
* Height 15
- Cursor Style <Unspecified>
* Bevel Lowered
- Rendered Yes
* Show Vertical Scroll Bar No
* Visual Attribute Group FOREGROUND_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color white
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
* Hint Enter Activity
* Display Hint Automatically Yes
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
* Name PV_TYPE_CD
* Item Type Text Item
- Subclass Information
- Comments
- Help Book Topic
* Enabled Yes
- Justification Start
- Implementation Class
- Multi-Line No
- Wrap Style Word
* Case Restriction Mixed
- Conceal Data No
- Keep Cursor Position No
- Automatic Skip No
- Popup Menu
* Keyboard Navigable Yes
- Previous Navigation Item
* Next Navigation Item PV_TYPE_DESC
* Data Type Char
- Data Length Semantics Null
* Maximum Length 30
* Initial Value
* Required No
- Format Mask
- Lowest Allowed Value
- Highest Allowed Value
- Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item Yes
- Column Name
* Primary Key Yes
- Query Only No
* Query Allowed No
* Query Length 0
- Case Insensitive Query No
* Insert Allowed Yes
* Update Allowed Yes
- Update Only if NULL No
- Lock Record No
- List of Values
* List X Position 0
* List Y Position 0
- Validate from List No
- Editor
* Editor X Position 0
* Editor Y Position 0
* Visible Yes
* Canvas C_CPVE_CREATE_MODIFY
- Tab Page
* X Position 110
* Y Position 53
* Width 123
* Height 15
- Cursor Style <Unspecified>
* Bevel Lowered
- Rendered Yes
* Show Vertical Scroll Bar No
* Visual Attribute Group FOREGROUND_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color white
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
* Hint Enter Type Code
* Display Hint Automatically Yes
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
* Triggers
----------
* Name WHEN-VALIDATE-ITEM
- Subclass Information
- Comments
- Trigger Style PL/SQL
* Trigger Text
DECLARE
v_type_cd VARCHAR2(1);
CURSOR c_chck_type_exist IS
SELECT 'x'
FROM par3214.pay_variable_type
WHERE facility_id = :work.facility_id
AND wh_id = :b_control.wh_id
AND activity_cd = :b_control.activity_cd
AND upper(pv_type_cd) = upper(:b_cpve_create_modify.pv_type_cd)
AND rownum < 2;
BEGIN
IF :work.dummy_mode = 'CREATE_MODE' THEN
IF :b_cpve_create_modify.pv_type_cd IS NULL THEN
call_msg_window_p ('PARTIAL_ENTRY');
:b_cpve_create_modify.unit_id_display := NULL;
RAISE form_trigger_failure;
END IF;
END IF;
OPEN c_chck_type_exist;
FETCH c_chck_type_exist INTO v_type_cd;
IF c_chck_type_exist%FOUND THEN
CLOSE c_chck_type_exist;
call_msg_window_p ('DUP_TYPE','E');
:b_cpve_create_modify.unit_id_display := NULL;
RAISE form_trigger_failure;
END IF;
CLOSE c_chck_type_exist;
EXCEPTION
WHEN FORM_TRIGGER_FAILURE THEN
RAISE FORM_TRIGGER_FAILURE;
WHEN OTHERS THEN
RAISE FORM_TRIGGER_FAILURE;
END;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
----------
* Name PV_TYPE_DESC
* Item Type Text Item
- Subclass Information
- Comments
- Help Book Topic
* Enabled Yes
- Justification Start
- Implementation Class
- Multi-Line No
- Wrap Style Word
* Case Restriction Mixed
- Conceal Data No
- Keep Cursor Position No
- Automatic Skip No
- Popup Menu
* Keyboard Navigable Yes
- Previous Navigation Item
- Next Navigation Item
* Data Type Char
- Data Length Semantics Null
* Maximum Length 60
- Initial Value
* Required No
- Format Mask
- Lowest Allowed Value
- Highest Allowed Value
- Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item Yes
- Column Name
- Primary Key No
- Query Only No
* Query Allowed No
* Query Length 0
- Case Insensitive Query No
* Insert Allowed Yes
* Update Allowed Yes
- Update Only if NULL No
- Lock Record No
- List of Values
* List X Position 0
* List Y Position 0
- Validate from List No
- Editor
* Editor X Position 0
* Editor Y Position 0
* Visible Yes
* Canvas C_CPVE_CREATE_MODIFY
- Tab Page
* X Position 110
* Y Position 74
* Width 253
* Height 15
- Cursor Style <Unspecified>
* Bevel Lowered
- Rendered Yes
* Show Vertical Scroll Bar No
* Visual Attribute Group FOREGROUND_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color white
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
* Hint Enter description.
* Display Hint Automatically Yes
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
* Triggers
----------
* Name WHEN-VALIDATE-ITEM
- Subclass Information
- Comments
- Trigger Style PL/SQL
* Trigger Text
DECLARE
v_type_desc VARCHAR2(1);
v_desc_curr VARCHAR2(1);
CURSOR c_chck_desc_curr IS
SELECT 'x'
FROM par3214.pay_variable_type
WHERE facility_id = :work.facility_id
AND wh_id = :b_control.wh_id
AND activity_cd = :b_control.activity_cd
AND pv_type_cd = :b_cpve_create_modify.pv_type_cd
AND upper(pv_type_desc) = upper(:b_cpve_create_modify.pv_type_desc)
AND rownum < 2;
CURSOR c_chck_desc_exist IS
SELECT 'x'
FROM par3214.pay_variable_type
WHERE facility_id = :work.facility_id
AND wh_id = :b_control.wh_id
AND activity_cd = :b_control.activity_cd
AND upper(pv_type_desc) = upper(:b_cpve_create_modify.pv_type_desc)
AND rownum < 2;
BEGIN
IF:b_cpve_create_modify.pv_type_desc IS NULL THEN
call_msg_window_p ('PARTIAL_ENTRY');
RAISE form_trigger_failure;
END IF;
OPEN c_chck_desc_exist;
FETCH c_chck_desc_exist INTO v_type_desc;
IF c_chck_desc_exist%FOUND THEN
CLOSE c_chck_desc_exist;
call_msg_window_p ('DESC_UNIQUE','E');
RAISE form_trigger_failure;
END IF;
CLOSE c_chck_desc_exist;
END IF;
EXCEPTION
WHEN FORM_TRIGGER_FAILURE THEN
RAISE FORM_TRIGGER_FAILURE;
WHEN OTHERS THEN
RAISE FORM_TRIGGER_FAILURE;
END;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
----------
* Name UNIT_ID_DISPLAY
* Item Type Text Item
- Subclass Information
- Comments
- Help Book Topic
* Enabled No
* Justification Right
* Implementation Class
* Multi-Line No
* Wrap Style None
- Case Restriction Mixed
- Conceal Data No
- Keep Cursor Position No
- Automatic Skip No
- Popup Menu
* Keyboard Navigable No
- Previous Navigation Item
- Next Navigation Item
- Data Type Char
- Data Length Semantics Null
* Maximum Length 40
- Initial Value
* Required No
- Format Mask
- Lowest Allowed Value
- Highest Allowed Value
- Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
- Distance Between Records 0
- Number of Items Displayed 0
* Database Item No
- Column Name
- Primary Key No
- Query Only No
- Query Allowed Yes
- Query Length 0
- Case Insensitive Query No
* Insert Allowed Yes
* Update Allowed Yes
- Update Only if NULL No
- Lock Record No
- List of Values
- List X Position 0
- List Y Position 0
- Validate from List No
- Editor
- Editor X Position 0
- Editor Y Position 0
- Visible Yes
* Canvas UID_STACKED_CANVAS
* Tab Page
* X Position 0
* Y Position 0
* Width 309
* Height 20
- Cursor Style <Unspecified>
* Bevel None
- Rendered Yes
- Show Vertical Scroll Bar No
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
* Foreground Color black
* Background Color white
- Fill Pattern
- Row Banding Frequency 0
- Font
* Font Name Arial
* Font Size 16
* Font Weight Medium
* Font Style Plain
* Font Spacing Normal
- Prompt
- Prompt Display Style First Record
* Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
- Hint
- Display Hint Automatically No
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
- Triggers
----------
* Name MINIMUM_VAL
* Item Type Text Item
- Subclass Information
- Comments
- Help Book Topic
* Enabled Yes
* Justification Start
- Implementation Class
- Multi-Line No
- Wrap Style Word
* Case Restriction Upper
- Conceal Data No
- Keep Cursor Position No
- Automatic Skip No
- Popup Menu
* Keyboard Navigable Yes
- Previous Navigation Item
- Next Navigation Item
* Data Type Number
- Data Length Semantics Null
* Maximum Length 2
- Initial Value
* Required No
* Format Mask
* Lowest Allowed Value
- Highest Allowed Value
- Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item Yes
- Column Name
* Primary Key No
- Query Only No
* Query Allowed No
* Query Length 0
- Case Insensitive Query No
* Insert Allowed Yes
* Update Allowed Yes
- Update Only if NULL No
- Lock Record No
- List of Values
* List X Position 0
* List Y Position 0
- Validate from List No
- Editor
* Editor X Position 0
* Editor Y Position 0
* Visible Yes
* Canvas C_CPVE_CREATE_MODIFY
- Tab Page
* X Position 110
* Y Position 90
* Width 34
* Height 15
- Cursor Style <Unspecified>
* Bevel Lowered
- Rendered Yes
* Show Vertical Scroll Bar No
* Visual Attribute Group FOREGROUND_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color white
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
* Hint Enter code type
* Display Hint Automatically Yes
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
* Triggers
----------
* Name WHEN-VALIDATE-ITEM
- Subclass Information
- Comments
- Trigger Style PL/SQL
* Trigger Text
DECLARE
dummy_num VARCHAR(1);
CURSOR c_chck_dec IS
SELECT 'x'
FROM dual
WHERE :b_cpve_create_modify.minimum_val =
TRUNC(:b_cpve_create_modify.minimum_val);
BEGIN
OPEN c_chck_dec;
FETCH c_chck_dec INTO dummy_num;
IF c_chck_dec%NOTFOUND THEN
CLOSE c_chck_dec;
call_msg_window_p ('INV_NUM_DEC');
:b_cpve_create_modify.unit_id_display := :b_cpve_create_modify.pv_type_cd;
RAISE form_trigger_failure;
END IF;
CLOSE c_chck_dec;
EXCEPTION
WHEN FORM_TRIGGER_FAILURE THEN
RAISE FORM_TRIGGER_FAILURE;
WHEN OTHERS THEN
RAISE FORM_TRIGGER_FAILURE;
End;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
----------
* Name MAXIMUM_VAL
* Item Type Text Item
- Subclass Information
- Comments
- Help Book Topic
* Enabled Yes
* Justification Start
- Implementation Class
- Multi-Line No
- Wrap Style Word
* Case Restriction Upper
- Conceal Data No
- Keep Cursor Position No
- Automatic Skip No
- Popup Menu
* Keyboard Navigable Yes
- Previous Navigation Item
- Next Navigation Item
* Data Type Number
- Data Length Semantics Null
* Maximum Length 2
- Initial Value
* Required No
* Format Mask
* Lowest Allowed Value
- Highest Allowed Value
- Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
* Distance Between Records 0
- Number of Items Displayed 0
* Database Item Yes
- Column Name
* Primary Key No
- Query Only No
* Query Allowed No
* Query Length 0
- Case Insensitive Query No
* Insert Allowed Yes
* Update Allowed Yes
- Update Only if NULL No
- Lock Record No
- List of Values
* List X Position 0
* List Y Position 0
- Validate from List No
- Editor
* Editor X Position 0
* Editor Y Position 0
* Visible Yes
* Canvas C_CPVE_CREATE_MODIFY
- Tab Page
* X Position 110
* Y Position 107
* Width 33
* Height 15
- Cursor Style <Unspecified>
* Bevel Lowered
- Rendered Yes
* Show Vertical Scroll Bar No
* Visual Attribute Group FOREGROUND_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color white
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
* Hint Enter code type
* Display Hint Automatically Yes
- Tooltip
- Tooltip Visual Attribute Group
- Initial Keyboard State Default
- Reading Order Default
- Keyboard State Any
* Triggers
----------
* Name WHEN-VALIDATE-ITEM
- Subclass Information
- Comments
- Trigger Style PL/SQL
* Trigger Text
DECLARE
dummy_num VARCHAR(2);
CURSOR c_chck_dec IS
SELECT 'x'
FROM dual
WHERE :b_cpve_create_modify.maximum_val =
TRUNC(:b_cpve_create_modify.maximum_val);
BEGIN
IF :b_cpve_create_modify.maximum_val IS NULL THEN
call_msg_window_p ('PARTIAL_ENTRY');
RAISE form_trigger_failure;
END IF;
OPEN c_chck_dec;
FETCH c_chck_dec INTO dummy_num;
IF c_chck_dec%NOTFOUND THEN
CLOSE c_chck_dec;
call_msg_window_p ('INV_NUM_DEC');
RAISE form_trigger_failure;
END IF;
CLOSE c_chck_dec;
EXCEPTION
WHEN FORM_TRIGGER_FAILURE THEN
RAISE FORM_TRIGGER_FAILURE;
WHEN OTHERS THEN
RAISE FORM_TRIGGER_FAILURE;
END;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
----------
* Name EXIT
* Item Type Push Button
- Subclass Information
- Comments
- Help Book Topic
* Enabled Yes
- Label
- Access Key
- Implementation Class
* Iconic Yes
* Icon Filename exit
- Default Button No
- Popup Menu
* Keyboard Navigable No
* Mouse Navigate No
- Previous Navigation Item
- Next Navigation Item
- Current Record Visual Attribute Group
* Distance Between Records 0
* Number of Items Displayed 1
* Visible Yes
* Canvas C_CPVE_CREATE_MODIFY
- Tab Page
* X Position 206
* Y Position 154
* Width 18
* Height 18
- Cursor Style <Unspecified>
* Visual Attribute Group CANVAS_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color gray
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
* Hint Exit
* Display Hint Automatically Yes
* Tooltip Exit
- Tooltip Visual Attribute Group
- Direction Default
* Triggers
----------
* Name WHEN-BUTTON-PRESSED
- Subclass Information
- Comments
- Trigger Style PL/SQL
- Trigger Text
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
message('b4 click button call in when button pressed');
message('b4 click button call in when button pressed');
Click_Button(item_name);
message('after click button call in button press');
message('after click button call in button press');
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
----------
* Name EXECUTE_QUERY
* Item Type Push Button
- Subclass Information
- Comments
- Help Book Topic
* Enabled Yes
* Label
- Access Key
- Implementation Class
* Iconic Yes
* Icon Filename execute
- Default Button No
- Popup Menu
* Keyboard Navigable No
* Mouse Navigate No
- Previous Navigation Item
- Next Navigation Item
- Current Record Visual Attribute Group
* Distance Between Records 0
* Number of Items Displayed 1
* Visible Yes
* Canvas H_TOOLBAR
- Tab Page
* X Position 143
* Y Position 1
* Width 18
* Height 18
- Cursor Style <Unspecified>
* Visual Attribute Group CANVAS_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color gray
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
* Hint Execute
* Display Hint Automatically Yes
* Tooltip Execute
- Tooltip Visual Attribute Group
- Direction Default
* Triggers
----------
* Name WHEN-BUTTON-PRESSED
- Subclass Information
- Comments
- Trigger Style PL/SQL
- Trigger Text
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
----------
* Name HELP
* Item Type Push Button
- Subclass Information
- Comments
- Help Book Topic
* Enabled Yes
* Label
- Access Key
- Implementation Class
* Iconic Yes
* Icon Filename help
- Default Button No
- Popup Menu
* Keyboard Navigable No
* Mouse Navigate No
- Previous Navigation Item
- Next Navigation Item
- Current Record Visual Attribute Group
* Distance Between Records 0
* Number of Items Displayed 1
* Visible Yes
* Canvas H_TOOLBAR
- Tab Page
* X Position 186
* Y Position 1
* Width 18
* Height 18
- Cursor Style <Unspecified>
* Visual Attribute Group CANVAS_VA
- Prompt Visual Attribute Group DEFAULT
^ Foreground Color black
^ Background Color gray
^ Fill Pattern transparent
- Row Banding Frequency 0
- Font
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
- Prompt
- Prompt Display Style First Record
- Prompt Justification Start
- Prompt Attachment Edge Start
- Prompt Alignment Start
- Prompt Attachment Offset 0
- Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
- Prompt Font Name
- Prompt Font Size 0
- Prompt Font Weight Medium
- Prompt Font Style Plain
- Prompt Font Spacing Normal
* Hint Help
* Display Hint Automatically Yes
* Tooltip Help
- Tooltip Visual Attribute Group
- Direction Default
* Triggers
----------
* Name WHEN-BUTTON-PRESSED
- Subclass Information
- Comments
- Trigger Style PL/SQL
- Trigger Text
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
dummy_type VARCHAR(1);
CURSOR c_not_found IS
SELECT 'x'
FROM pay_variable_type
WHERE facility_id = :WORK.facility_id
AND wh_id = :b_control.wh_id
AND activity_cd = :b_control.activity_cd
AND ROWNUM < 2;
BEGIN
-----------------------------------------------------------------------------------
------------------
--CODE PV EDITOR BUTTONS
-----------------------------------------------------------------------------------
------------------
IF CHECK_SCREEN_OPTION_PRIV(:WORK.facility_id,
:WORK.user,
:SYSTEM.CURRENT_FORM,
:SYSTEM.CURSOR_BLOCK||'.'||button_name_in) = 'OFF'
THEN
call_msg_window_p('NOT_ALLOWED', 'W' );
RAISE form_trigger_failure;
END IF;
WEB.Show_Document(g_scp(:work.facility_id,'helpfile')||'nautilus6Code_Pv_Editor.htm
','_blank');
ELSIF button_name_in = 'EXECUTE_QUERY' THEN
IF :B_CONTROL.WH_ID IS NULL THEN
call_msg_window_p ('PARTIAL_ENTRY');
p_go_item ('B_CONTROL.WH_ID');
RAISE form_trigger_failure;
END IF;
ENTER;
IF FORM_SUCCESS THEN
OPEN c_not_found;
FETCH c_not_found INTO dummy_type;
IF c_not_found%NOTFOUND THEN
CLOSE c_not_found;
call_msg_window_p ('SG_NO_DATA');
tr_screen_mode ('EXECUTE_MODE');
RAISE form_trigger_failure;
END IF;
CLOSE c_not_found;
tr_screen_mode ('EXECUTE_MODE');
END IF;
WEB.Show_Document(g_scp(:work.facility_id,'helpfile')||'nautilus6Code_Pv_Editor.htm
','_blank');
ELSIF button_name_in = 'PB_CREATE_RECORD' THEN
tr_screen_mode ('CREATE_MODE');
:WORK.dummy_mode := 'CREATE_MODE';
ELSIF button_name_in = 'MODIFY_RECORD' THEN
tr_screen_mode ('MODIFY_MODE');
:WORK.dummy_mode := 'MODIFY_MODE';
ELSIF button_name_in = 'PB_DELETE_RECORD' THEN
tr_pre_delete;
ELSIF button_name_in = 'PB_CODE_BY_TYPE' THEN
IF :b_cpve_main.pv_type_cd IS NOT NULL THEN
COPY (:b_control.wh_id , 'GLOBAL.WH_ID');
COPY (:b_control.activity_cd , 'GLOBAL.ACTIVITY_CD');
COPY (:b_control.activity_desc , 'GLOBAL.ACTIVITY_DESC');
COPY (:b_cpve_main.pv_type_cd , 'GLOBAL.PV_TYPE_CD');
COPY (:b_cpve_main.pv_type_desc , 'GLOBAL.PV_TYPE_DESC');
COPY (:b_cpve_main.minimum_val, 'GLOBAL.MINIMUM_VAL');
END IF;
-----------------------------------------------------------------------------------
------------------
--CREATE MODIFY POPUP EDITOR BUTTONS
-----------------------------------------------------------------------------------
------------------
ELSIF :system.cursor_block = 'B_CPVE_CREATE_MODIFY' THEN
IF button_name_in = 'EXIT' THEN
CLEAR_BLOCK (NO_VALIDATE);
GO_BLOCK('B_CPVE_MAIN');
ELSIF button_name_in = 'COMMIT_FORM' THEN
ENTER;
IF FORM_SUCCESS THEN
Save_row;
END IF;
END IF;
-----------------------------------------------------------------------------------
------------------
--ACTIVATE ZONE BUTTONS
-----------------------------------------------------------------------------------
------------------
ELSIF :system.cursor_block = 'B_ACTIVATE_ZONE' THEN
IF button_name_in = 'EXIT' THEN
CLEAR_BLOCK(NO_VALIDATE);
GO_BLOCK ('B_CPVE_MAIN');
p_go_item('B_CPVE_MAIN.PV_TYPE_CD');
ELSIF button_name_in = 'COMMIT_FORM' THEN
Insert_Zone;
IF FORM_SUCCESS
THEN
Save_Row;
END IF;
END IF;
END IF;
GO_BLOCK ('B_CONTROL');
CLEAR_BLOCK;
END IF;
EXCEPTION
WHEN FORM_TRIGGER_FAILURE
THEN
RAISE;
WHEN OTHERS
THEN
log_error (SQLCODE, 'Click_Button', SQLERRM);
RAISE FORM_TRIGGER_FAILURE;
END;
* Program Unit Type Procedure
----------
* Name INSERT_ZONE
- Subclass Information
- Comments
* Program Unit Text
PROCEDURE insert_zone IS
v_zone_check PAR3214.UNIT_ID_PV_ZONE.ZONE%TYPE;
v_dummy VARCHAR2(1);
BEGIN
p_go_item('B_ACTIVATE_ZONE.ZONE');
GO_RECORD(1);
LOOP
BEGIN
v_zone_check := substr(:b_activate_zone.zone,1,2);
OPEN c_check_zone_enabled (v_zone_check);
FETCH c_check_zone_enabled INTO v_dummy;
IF (c_check_zone_enabled%NOTFOUND and :b_activate_zone.cb_zone = 'Y')
then
INSERT INTO par3214.unit_id_pv_zone (FACILITY_ID,
ACTIVITY_CD,
ZONE)
VALUES (:WORK.facility_id,
:b_control.activity_cd,
v_zone_check);
ELSIF (c_check_zone_enabled%FOUND and :b_activate_zone.cb_zone = 'N')
then
DELETE FROM par3214.unit_id_pv_zone
WHERE facility_id = :WORK.facility_id
AND activity_cd = :b_control.activity_cd
AND zone = v_zone_check;
END IF;
CLOSE c_check_zone_enabled;
END;
/********************************************************************************
* Change History:
* Author Date CO# Change Description
*--------------------------------------------------------------------------------
* M.Dizon 09/26/2011 CO80290 Modified cursor c_get_zone to add
* ORDER BY in the where clause of the query
*********************************************************************************/
PROCEDURE populate_zone IS
v_dummy VARCHAR2(1);
CURSOR c_get_zone IS
SELECT DISTINCT z.zone, z.description
FROM zone z
WHERE z.facility_id = :WORK.facility_id
AND z.wh_id = :b_control.wh_id
/* Start Modification CO80290 M.Dizon 09/26/2011 */
/* AND z.inbound_flag = 'Y'; */
AND z.inbound_flag = 'Y'
ORDER BY zone;
/* End Modification CO80290 M.Dizon 09/26/2011 */
BEGIN
GO_BLOCK('B_ACTIVATE_ZONE');
CLEAR_BLOCK(NO_VALIDATE);
GO_RECORD(1);
OPEN c_zone_enabled(c_rec.zone);
FETCH c_zone_enabled INTO v_dummy;
IF c_zone_enabled%FOUND THEN
:b_activate_zone.cb_zone := 'Y';
ELSE
:b_activate_zone.cb_zone := 'N';
END IF;
CLOSE c_zone_enabled;
DOWN;
END LOOP;
UP;
GO_RECORD(1);
END;
* Program Unit Type Procedure
----------
* Name STARTUP_LOCAL
- Subclass Information
- Comments
* Program Unit Text
PROCEDURE startup_local IS
/*
|| Add any additional setup to the standard Key_Startup Procedure
|| USAGE : COPY
*/
BEGIN
IF check_max_users = 'N' THEN
EXIT_FORM( NO_VALIDATE );
END IF;
start_up_local_security (:WORK.facility_id,
:SYSTEM.current_form,
:WORK.user);
:SYSTEM.MESSAGE_LEVEL := 5;
DEFAULT_VALUE(USER, 'GLOBAL.USER_ID');
DEFAULT_VALUE('PR','GLOBAL.FACILITY_ID');
DEFAULT_VALUE('1','GLOBAL.USER_PRIVILEGE');
DEFAULT_VALUE('S','GLOBAL.DEVICE');
DEFAULT_VALUE('AM','GLOBAL.LANGUAGE_CODE');
DEFAULT_VALUE('B_CPVE_MAIN','GLOBAL.CALLING_BLOCK');
:WORK.user := :GLOBAL.user_id;
:WORK.facility_id := :GLOBAL.facility_id;
:WORK.user_privilege := TO_NUMBER(:GLOBAL.user_privilege);
:WORK.device := :GLOBAL.device;
:WORK.language_code := :GLOBAL.language_code;
:WORK.calling_block := :GLOBAL.calling_block;
:WORK.main_block := 'B_CPVE_MAIN';
DEFAULT_VALUE('N', 'GLOBAL.Quit_All');
--
SET_ITEM_PROPERTY('B_CONTROL.PB_WH', enabled, property_true);
SET_ITEM_PROPERTY('B_CONTROL.PB_ACTIVITY', enabled, property_true);
SET_ITEM_PROPERTY('B_CONTROL.ACTIVITY_DESC', navigable, property_false);
SET_ITEM_PROPERTY('B_CONTROL.ACTIVITY_DESC', enabled, property_false);
SET_ITEM_PROPERTY('H_TOOLBAR.ENTER_QUERY', enabled, property_false);
SET_ITEM_PROPERTY('H_TOOLBAR.EXECUTE_QUERY', enabled, property_true);
SET_ITEM_PROPERTY('H_TOOLBAR.CANCEL_QUERY', enabled, property_false);
SET_ITEM_PROPERTY('H_TOOLBAR.EXIT_FORM', enabled, property_true);
SET_ITEM_PROPERTY('H_TOOLBAR.CLEAR_FORM', enabled, property_false);
SET_ITEM_PROPERTY('V_TOOLBAR.PB_CREATE_RECORD', enabled, property_false);
SET_ITEM_PROPERTY('V_TOOLBAR.PB_DELETE_RECORD', enabled, property_false);
SET_ITEM_PROPERTY('V_TOOLBAR.PB_ACTIVATE_ZONE', enabled, property_false);
SET_ITEM_PROPERTY('V_TOOLBAR.PB_CODE_BY_TYPE', enabled, property_false);
--
Go_Block ('B_control');
END startup_local;
* Program Unit Type Procedure
----------
* Name TR_EXIT
- Subclass Information
- Comments
* Program Unit Text
PROCEDURE tr_exit IS
BEGIN
exit_form (NO_VALIDATE);
END tr_exit;
* Program Unit Type Procedure
----------
* Name TR_PRE_DELETE
- Subclass Information
- Comments
* Program Unit Text
PROCEDURE tr_pre_delete IS
v_dummy VARCHAR2(1);
CURSOR c_chck_code_exist IS
SELECT 'X'
FROM par3214.pay_variable_type pvt, par3214.pay_variable_code pvc
WHERE pvt.facility_id = :WORK.facility_id
AND pvc.facility_id = pvt.facility_id
AND pvt.wh_id = :b_control.wh_id
AND pvt.activity_cd = :b_control.activity_cd
AND pvt.pv_type_cd = :b_cpve_main.pv_type_cd
AND pvc.wh_id = pvt.wh_id
AND pvc.activity_cd = pvt.activity_cd
AND pvc.pv_type_cd = pvt.pv_type_cd
AND ROWNUM < 2;
BEGIN
OPEN c_chck_code_exist;
FETCH c_chck_code_exist INTO v_dummy;
IF c_chck_code_exist%FOUND THEN
CLOSE c_chck_code_exist;
call_msg_window_p ('DEL_CODE_EXIST');
RAISE form_trigger_failure;
END IF;
CLOSE c_chck_code_exist;
delete_row ('B_CPVE_MAIN');
EXCEPTION
WHEN FORM_TRIGGER_FAILURE
THEN
RAISE;
WHEN OTHERS
THEN
log_error (SQLCODE, 'TR_PRE_DELETE', SQLERRM);
RAISE FORM_TRIGGER_FAILURE;
END;
* Program Unit Type Procedure
----------
* Name TR_SCREEN_MODE
- Subclass Information
- Comments
* Program Unit Text
CURSOR c_required_flg IS
SELECT 'x'
FROM par3214.code_detail
WHERE code_type = 'ACTV'
AND code = :b_control.activity_cd
AND required_ind = 'Y';
BEGIN
IF screen_mode_in = 'EXECUTE_MODE' THEN
GO_BLOCK ('B_CPVE_MAIN');
EXECUTE_QUERY;
TOGGLE.ENABLE_ITEM('V_TOOLBAR.PB_CREATE_RECORD',
check_screen_option_priv(:WORK.facility_id,
:WORK.user,
:SYSTEM.current_form,
'V_TOOLBAR.PB_CREATE_RECORD'));
TOGGLE.ENABLE_ITEM('V_TOOLBAR.PB_DELETE_RECORD',
check_screen_option_priv(:WORK.facility_id,
:WORK.user,
:SYSTEM.current_form,
'V_TOOLBAR.PB_DELETE_RECORD'));
TOGGLE.ENABLE_ITEM('V_TOOLBAR.PB_CODE_BY_TYPE',
check_screen_option_priv(:WORK.facility_id,
:WORK.user,
:SYSTEM.current_form,
'V_TOOLBAR.PB_CODE_BY_TYPE'));
TOGGLE.ENABLE_ITEM('V_TOOLBAR.PB_ACTIVATE_ZONE',
check_screen_option_priv(:WORK.facility_id,
:WORK.user,
:SYSTEM.current_form,
'V_TOOLBAR.PB_ACTIVATE_ZONE'));
dummy_pv_enabled := g_scp_wh
(:WORK.facility_id,:b_control.wh_id,'pv_enabled');
:WORK.CALLING_BLOCK := 'B_CPVE_MAIN';
GO_BLOCK('B_CPVE_CREATE_MODIFY');
CLEAR_BLOCK(NO_VALIDATE);
CREATE_RECORD;
:b_cpve_create_modify.facility_id := :WORK.facility_id;
:b_cpve_create_modify.wh_id := :b_control.wh_id;
:b_cpve_create_modify.activity_cd := :b_control.activity_cd;
p_go_item ('B_CPVE_CREATE_MODIFY.PV_TYPE_CD');
:WORK.calling_block := 'B_CPVE_MAIN';
:WORK.record_nbr := :b_cpve_main.ROWID;
GO_BLOCK('B_CPVE_CREATE_MODIFY');
EXECUTE_QUERY;
p_go_item ('B_CPVE_CREATE_MODIFY.PV_TYPE_DESC');
END IF;
END tr_screen_mode;
* Program Unit Type Procedure
----------
* Name SAVE_ROW
- Subclass Information
- Comments
* Program Unit Text
PROCEDURE save_row IS
/*
|| Save the added or modified row/record.
|| Fire the POST_INSERT or POST_UPDATE triggers
|| USAGE : REFERENCE
*/
BEGIN
COMMIT;
IF FORM_SUCCESS THEN
-- CLEAR_BLOCK(NO_VALIDATE);
Display_Block(NAME_IN('work.MAIN_BLOCK'));
Find_Record(NAME_IN('work.RECORD_NBR'));
END IF;
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN
call_msg_window_p('NON_UNIQUE_ADD', 'M');
RAISE FORM_TRIGGER_FAILURE;
WHEN OTHERS THEN
log_error (SQLCODE, 'Save_Row ', SQLERRM);
RAISE FORM_TRIGGER_FAILURE;
END save_row;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
-- The name of a button may correspond to an action, e.g.
-- a button named "ENTER_QUERY" would perform the ENTER_QUERY
-- built-in.
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
DECLARE
block_item VARCHAR2(80);
item_name VARCHAR2(50);
dot_pos NUMBER;
BEGIN
block_item := :SYSTEM.TRIGGER_ITEM;
dot_pos := INSTR(block_item, '.', 1, 1);
item_name := SUBSTR(block_item, dot_pos + 1 );
Click_Button(item_name);
END;
- Fire in Enter-Query Mode Yes
- Execution Hierarchy Override
- Display in 'Keyboard Help' No
- 'Keyboard Help' Text
- Trigger Steps
----------
----------
* Name CHECK_BOX
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name CHECK_BOX
----------
----------
- Comments
- Triggers
----------
* Name RADIO_BUTTON
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name RADIO_BUTTON
----------
----------
- Comments
- Triggers
----------
* Name LOV
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name LOV
----------
----------
- Comments
- Triggers
----------
* Name MODAL_DIALOG_SHEET
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name MODAL_DIALOG_SHEET
----------
----------
^ Comments This is a property class for
MDI modeless dialog box windows.
- Triggers
----------
* Name MDI_SHEET
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name MDI_SHEET
----------
----------
^ Comments This is a property class for
MDI sheet windows.
- Triggers
----------
* Name MDI_DIALOG_BOX
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name MDI_DIALOG_BOX
----------
----------
^ Comments This is a property class for
MDI dialog box windows.
- Triggers
----------
* Name MDI_MODELESS_DIALOG_BOX
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name MDI_MODELESS_DIALOG_BOX
----------
----------
^ Comments This is a property class for
MDI modeless dialog box windows.
- Triggers
----------
* Name BOILER_DISPLAY
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name BOILER_DISPLAY
----------
----------
- Comments
- Triggers
----------
* Record Groups
----------
* Name RG_ACTIVITY
- Subclass Information
- Comments
* Record Group Type Query
* Record Group Query SELECT code, code_desc
FROM par3214.code_detail
WHERE code_type = 'ACTV'
ORDER BY code_seq
* Record Group Fetch Size 0
* Column Specifications
----------
* Name CODE
- Data Length Semantics Null
* Maximum Length 6
* Column Data Type Character
- Column Value List
----------
* Name CODE_DESC
- Data Length Semantics Null
* Maximum Length 40
* Column Data Type Character
- Column Value List
----------
----------
* Name RG_WH
- Subclass Information
- Comments
* Record Group Type Query
* Record Group Query SELECT wh_id, description
FROM par3214.wh
WHERE facility_id = :WORK.facility_id
* Record Group Fetch Size 0
* Column Specifications
----------
* Name WH_ID
- Data Length Semantics Null
* Maximum Length 2
* Column Data Type Character
- Column Value List
----------
* Name DESCRIPTION
- Data Length Semantics Null
* Maximum Length 30
* Column Data Type Character
- Column Value List
----------
----------
* Reports
----------
* Name RP2RRO
- Report Object Type OraReports
* Subclass Information
----------
* Source File pitss_con_standard_lib.olb
- Source Path
- Source Module
* Source Level
----------
* Source Name PITSS_CON_STANDARD_LIB
----------
* Source Name RP2RRO
----------
----------
- Comments
- Filename
- Execution Mode Batch
- Communication Mode Synchronous
- Data Source Data Block
- Query Name
- Report Destination Type File
- Report Destination Name
- Report Destination Format
- Report Server
- Other Reports Parameters
----------
* Visual Attributes
----------
* Name CANVAS_UNDERLINE_VA
- Visual Attribute Type Common
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name CANVAS_UNDERLINE_VA
----------
----------
- Comments
^ Foreground Color black
^ Background Color gray
^ Fill Pattern transparent
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Underline
^ Font Spacing Normal
----------
* Name CANVAS_VA
- Visual Attribute Type Common
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name CANVAS_VA
----------
----------
- Comments
^ Foreground Color black
^ Background Color gray
^ Fill Pattern transparent
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
----------
* Name FOREGROUND_VA
- Visual Attribute Type Common
* Subclass Information
----------
* Source File gui_library
- Source Path
- Source Module
* Source Level
----------
* Source Name gui_library
----------
* Source Name FOREGROUND_VA
----------
----------
- Comments
^ Foreground Color black
^ Background Color white
^ Fill Pattern transparent
^ Font Name MS Sans Serif
^ Font Size 8
^ Font Weight Medium
^ Font Style Plain
^ Font Spacing Normal
----------
* Windows
----------
* Name WINDOW0
* Subclass Information
----------
- Source File
- Source Path
- Source Module
* Source Level
----------
* Source Name CODE_PAY_VARIABLE_EDITOR_S
----------
* Source Name MDI_SHEET
----------
----------
^ Comments This is a property class for
MDI sheet windows.
- Help Book Topic
o Title Code PV Editor
^ Primary Canvas
* Horizontal Toolbar Canvas H_TOOLBAR
* Vertical Toolbar Canvas V_TOOLBAR
^ Window Style Document
^ Modal No
^ Hide on Exit No
- Close Allowed Yes
- Move Allowed Yes
- Resize Allowed Yes
- Maximize Allowed Yes
- Minimize Allowed Yes
- Minimized Title
^ Icon Filename nautilus
- Inherit Menu Yes
* X Position 0
* Y Position 0
* Width 535
* Height 300
* Bevel Raised
^ Show Horizontal Scroll Bar Yes
^ Show Vertical Scroll Bar Yes
* Visual Attribute Group DEFAULT
- Foreground Color
* Background Color gray
- Fill Pattern
- Font
- Font Name
- Font Size 0
- Font Weight Medium
- Font Style Plain
- Font Spacing Normal
- Direction Default
----------
* Name W_POPUP
* Subclass Information
----------
- Source File
- Source Path
- Source Module
* Source Level
----------
* Source Name CODE_PAY_VARIABLE_EDITOR_S
----------
* Source Name MDI_SHEET
----------
----------
^ Comments This is a property class for
MDI sheet windows.
- Help Book Topic
o Title Create Modify
o Primary Canvas C_CPVE_CREATE_MODIFY
- Horizontal Toolbar Canvas
- Vertical Toolbar Canvas
^ Window Style Document
o Modal Yes
o Hide on Exit Yes
* Close Allowed Yes
- Move Allowed Yes
* Resize Allowed No
* Maximize Allowed No
* Minimize Allowed No
- Minimized Title
^ Icon Filename nautilus
* Inherit Menu No
* X Position 50
* Y Position 90
* Width 417
* Height 183
* Bevel Raised
o Show Horizontal Scroll Bar No
o Show Vertical Scroll Bar No
- Visual Attribute Group DEFAULT
- Foreground Color
* Background Color gray
- Fill Pattern
- Font
- Font Name
- Font Size 0
- Font Weight Medium
- Font Style Plain
- Font Spacing Normal
- Direction Default
----------
* Name W_ACTIVATE_ZONE
* Subclass Information
----------
- Source File
- Source Path
- Source Module
* Source Level
----------
* Source Name CODE_PAY_VARIABLE_EDITOR_S
----------
* Source Name MDI_SHEET
----------
----------
^ Comments This is a property class for
MDI sheet windows.
- Help Book Topic
o Title Activate Zone
o Primary Canvas C_ACTIVATE_ZONE
- Horizontal Toolbar Canvas
- Vertical Toolbar Canvas
^ Window Style Document
o Modal Yes
o Hide on Exit Yes
* Close Allowed Yes
- Move Allowed Yes
* Resize Allowed No
* Maximize Allowed No
* Minimize Allowed No
- Minimized Title
^ Icon Filename nautilus
* Inherit Menu No
* X Position 50
* Y Position 90
* Width 425
* Height 300
* Bevel Lowered
o Show Horizontal Scroll Bar No
o Show Vertical Scroll Bar No
- Visual Attribute Group DEFAULT
- Foreground Color
* Background Color gray
- Fill Pattern
- Font
- Font Name
- Font Size 0
- Font Weight Medium
- Font Style Plain
- Font Spacing Normal
- Direction Default
----------