Hi All,
I am using RecRef Variable to copy data from One Company to other Company. I am using RecRef Variable for this. I am using the following code to open the RecRef Variable with the Company Name as Parameter.
RecRef.CLOSE;
RecRef.OPEN(MigrationRecord.TableID,FALSE,Company.Name);
RecRef.INIT;
InsertRecordWithKeyFields(RecRef,MigrationRecord);
ModifyRecordWithOtherFields(RecRef,MigrationRecord);
In classic it is working fine but in RTC it is not working. The Program Runs in RTC with no ERRORS but the data is not copying to other companies.
I think RECREF pointing to Current Open Company.
Please advise.
Regards,
Anil
0
Comments
Another option is to see if it works in 2009 R2, if it does, then do exe upgrade to newer executable.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n