0% found this document useful (0 votes)
229 views1 page

BOM Implosion Test

This script deletes existing records from two tables, selects the next sequence number, calls a procedure to implode a bill of materials which populates those tables, and commits the changes. It passes hardcoded values to the procedure for the organization ID, flags, display level, item ID, and impl date.

Uploaded by

Harshad Parab
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
229 views1 page

BOM Implosion Test

This script deletes existing records from two tables, selects the next sequence number, calls a procedure to implode a bill of materials which populates those tables, and commits the changes. It passes hardcoded values to the procedure for the organization ID, flags, display level, item ID, and impl date.

Uploaded by

Harshad Parab
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

PL/SQL Developer Test script 3.

0 29 declare -- Local variables here i integer; V_NEXT_SEQ_NUM NUMBER; v_error_message VARCHAR2(2000); v_error_code VARCHAR2(2000); v_rev_date VARCHAR2(30) := TO_CHAR(SYSDATE + 1, 'YYYY/MM/DD HH24:MI:SS'); begin -- Test statements here DELETE FROM apps.bom_implosion_temp_HP11 ; DELETE FROM BOM_IMPLOSION_TEMP; SELECT BOM_IMPLOSION_TEMP_S.NEXTVAL INTO V_NEXT_SEQ_NUM FROM DUAL; BOMPIMPL.IMPLODER_USEREXIT(sequence_id eng_mfg_flag org_id impl_flag display_option levels_to_implode item_id , impl_date => v_rev_date, err_msg => v_error_message, err_code => v_error_code); insert into apps.bom_implosion_temp_HP11 (SELECT * FROM BOM_IMPLOSION_TEMP); COMMIT; end; 0 => => => => => => => v_next_seq_num, 1, 87, --p_organization_id, 1, 1, 20, 42420, --729476, --p_item_id

You might also like