Options

Another user has modified the record

omyvadiyaomyvadiya Member Posts: 124
edited 2013-12-26 in NAV Three Tier
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

Comments

  • Options
    bbrownbbrown Member Posts: 3,268
    Where is that code you reference located?
    There are no bugs - only undocumented features.
  • Options
    omyvadiyaomyvadiya Member Posts: 124
    its on the sales line type on validate...

    if (rec.abc <> xrec.abc) or (rec.def <> xrec.def) then
    begin
    MODIFY(FALSE);//Breakpoint
    cdu.test(some parameters).
    end;
Sign In or Register to comment.