Getting Subscript beyond count while calling procedure which accepts input as record type
I have to call a procedure that accepts input as record type. This record type has a table type for one column and i'm not able to make to call to this procedure using anonymous block. I'm getting the below error.
ORA-06533: Subscript beyond count
ORA-06512: at line
I'm attaching the sample package spec , body and anonymous block. Any help to resolve this issue will be greatly appreciated.
CREATE OR REPLACE PACKAGE TEST123 AS
TYPE number_arr IS TABLE OF number;
TYPE Record_Typ is RECORD(
Inventory_Item_Id number_arr := number_arr());
PROCEDURE testing (
p_rec IN TEST123.Record_Typ,