Try this one
L_ATb.Reset();
L_ATb.setrange("No.");
If Page.RunModal(Page::"L_A", L_ATb) = Action::LookupOK then begin
Rec.Reset();
Rec.SetRange("No.", Rec."No.");
If Rec.FindFirst() then begin
Rec."Copy From No." := L_ATb."No.";
Rec."Audit Quarter" := L_ATb."Audit Quarter";
Rec."Audit Year" := L_ATb."Audit Year";
Rec.Department := L_ATb.Department;
Rec.Region := L_ATb.Region;
Rec."Posting Date" := L_ATb."Posting Date";
rec.modify;
end;
LineNo := 10000;
L.Reset();
LL.SetRange("No.", L_ATb."No.");
If LL.FindSet() then
repeat
ll2.init;
ll2."No." := L_ATb."No.";
LL2."Line No." := LineNo;
LL2.Report := LL.Report;
LL2."Report Des" := LL."Report Des";
ll2.insert;
until LL.Next() = 0;