any body can help in below case using code unit
created the function recordvalidation() where
VCMS_EXP_TRA and VCMS_EXP_TRA1 referring the same table
Enty no. is primary key
/////////////////////////////////////////////////
LOCAL recordvalidation()
VCMS_EXP_TRA.RESET;
IF VCMS_EXP_TRA.FINDFIRST THEN
REPEAT
VCMS_EXP_TRA1.SETRANGE(EntryNo,VCMS_EXP_TRA.EntryNo);
IF VCMS_EXP_TRA1.FINDFIRST THEN
BEGIN
VCMS_EXP_TRA1.GenJour:= TRUE;
VCMS_EXP_TRA1.MODIFY;
END;
UNTIL VCMS_EXP_TRA.NEXT=0;
///////////////////////////////////////////
while nobody accessing this table.
getting below erro.
Microsoft Dynamics NAV
---------------------------
Another user has modified the record for this CMS_EXP_TRA after you retrieved it from the database.
Enter your changes again in the updated window, or start the interrupted activity again.
Identification fields and values:
EntryNo='200'
---------------------------
OK
---------------------------
*This post is locked for comments