Finally it is read data from cutbackBatch table to cutaback process table but it is coming as twice time please find below code and screenshot i want to avoid twice time
trigger OnAction()
var
cutbackbatch: Record "CutBackBatchTable";
cutbackprocess: Record "CutBackProcessTable";
begin
cutbackbatch.Reset();
cutbackbatch.SETRANGE("Name", "Batch Name");
cutbackbatch.SetFilter("Bill Code", "Bill Code");
cutbackbatch.FindFirst();
if cutbackbatch.FindSet then
repeat
cutbackprocess.INIT;
"Bill Code" := cutbackbatch."Bill Code";
License := cutbackbatch."License";
cutbackprocess.Validate("Bill Code", "Bill Code");
cutbackprocess.Validate("License", "License");
cutbackprocess.Insert;
until cutbackprocess.NEXT = 0;
end;
}