ORA-06550: line 20, column 3: PLS-00306: wrong number or types of arguments in call to…
- User
ORA-06550: line 20, column 3: PLS-00306: wrong number or types of arguments in call to 'GETRATEPLANCONSTRUCTORHISTORY' ORA-06550: line 20, column 3: PLS-00306: wrong number or types of arguments in call to 'GETRATEPLANCONSTRUCTORHISTORY' ORA-06550: line 20, column 3: PLS-00306: wrong number or types of arguments in call to 'GETRATEPLANCONSTRUCTORHISTORY' ORA-06550: line 20, column 3: PLS-00306: wrong number or types of arguments in call to 'GETRATEPLANCONSTRUCTORHISTORY' ORA-06550: line 20, column 3: PLS-00306: wrong number or types of arguments in call to 'GETRATEPLANCONSTRUCTORHISTORY' ORA-06550: line 20, column 3: PLS-00306: wrong number or types of arguments in call to 'GETRATEPLANCONSTRUCTORHISTORY' ORA-06550: line 20, column 3: PLS-00306: wrong number or types of arguments in call to 'GETRATEPLANCONSTRUCTORHISTORY' ORA-06550: line 20, column 3: PL/SQL: Statement ignored
DECLARE TYPE NUM10_ARRAY IS TABLE OF NUMBER(10); TYPE NAME255_ARRAY IS TABLE OF VARCHAR(255); TYPE DATE_ARRAY IS TABLE OF DATE; TYPE NAME50_ARRAY IS TABLE OF VARCHAR(50);
subs_id subscribers.subs_id%TYPE := 1699586; --– ip_subs_id row_first NUMBER := 1; --ip_row_first row_last NUMBER := 20; -- ip_row_last num_change NUM10_ARRAY; -- oa_num_change name_template NAME255_ARRAY; -- oa_name_template start_date DATE_ARRAY; -- oa_start_date end_date DATE_ARRAY; -- oa_end_date user_method NAME50_ARRAY; -- oa_user_method date_operation DATE_ARRAY; -- oa_date_operation sum_AP NUM10_ARRAY; --oa_sum_AP total NUMBER; -- op_total
BEGIN bis.SBMS_RP_CONST_TEMPL_AQF_BIS.getRatePlanConstructorHistory( ip_subs_id => subs_id, ip_row_first => row_first, ip_row_last => row_last, oa_num_change => num_change, oa_name_template => name_template, oa_start_date => start_date, oa_end_date => end_date, oa_user_method => user_method, oa_date_operation => date_operation, oa_sum_AP => sum_AP, op_total => total); END;
- Assistant
The error message indicates that there is a wrong number or types of arguments in the call to the 'GETRATEPLANCONSTRUCTORHISTORY' procedure. The procedure is being called with 11 parameters, but it seems that the procedure expects a different number or types of arguments.
Without knowing the definition of the 'SBMS_RP_CONST_TEMPL_AQF_BIS.getRatePlanConstructorHistory' procedure, it's hard to know exactly what's causing the issue.
The possible solutions could be to check the parameter names and types used in the procedure call and ensure they match the definition of the procedure. Also, double-check the values being passed as input parameters to the procedure.