Oracle Error Message
PLS-00511: a record may not contain a PL/SQL table of records
Reason for the Error
n a RECORD definition, one of the fields was declared as a PL/SQL table of records. This is not allowed. A record can be the component of another record (that is, records can be nested), but a PL/SQL table of records cannot be the component of a record.
Solution
Remove the field declaration, or revise it to specify a simple record type.