Here is an example.
I create a package with rowtype record declared.
create or replace package foo is
rec customer%rowtype;
end foo;
create or replace package body foo is
begin
null;
end foo;
Then I try to address rec variable from an anonymous block.
begin
foo.rec.
end;
Expected...