Hi,
After upgrading from Nav 2013 to Nav 2013 R2, i face a common issue while creating a new sales line for a new sales order, i.e;
Another user has modified the record for this <Table Name> after you retrieved it from the database.
Enter your changes again in the updated window, or start the interrupted activity again.
This can be normally solved by 2 ways:
1. Using GET() function to refresh the record.
2. Using SELECTLATESTVERSION.
But in my case, i have this condition
if (rec.abc <> xrec.abc) or (rec.def <> xrec.def) then
begin
MODIFY(FALSE);//Breakpoint
cdu.test(some parameters).
end;
and on debugging the breakpoint is at Modify(false).
i tried using the above 2 ways but no luck..
Any suggestions :-k
0
Comments
if (rec.abc <> xrec.abc) or (rec.def <> xrec.def) then
begin
MODIFY(FALSE);//Breakpoint
cdu.test(some parameters).
end;