Hi expert,
My activity have got this error : A security filter has been applied to table Sales Header. You cannot access records that are outside of this filter..
How to solve this problem?

I also have try to write SecurityFiltering in AL code, but still don't work.
Below is AL code:
pageextension 50020 SO extends "SO Processor Activities"
{
trigger OnOpenPage()
var
cueRec: Record "Sales Header";
begin
cueRec.Reset();
cueRec.SecurityFiltering := cueRec.SecurityFiltering::Filtered;
end;
}