I'm using a function to copy a Contact in Table 5050 Contact:
CopyContact
clear(newContact);
newContact.insert(true); //Creates the new Contact with the next number
ContactNo := newContact."no.";
newContact.transferfields(rec);
newContact."no." := ContactNo;
newContact.Modify;
Everything works fine on Microsoft Dynamics NAV but I get the error "Another user has modified the record...." on Navision SQL Option. I already tried to lock the table and I also tried to get the new Record before modifying it. Can anybody give me a hint?
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.