Kbase P100704: ADM2 program with custom copy logic gets 'record has changed' error during update
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  01/02/2005 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1x
SYMPTOM(s):
ADM2 program uses custom 'copy' logic to copy a record
The 'copy' logic manually creates the new record and all of its corresponding records in related tables
After the copy is complete, doing an immediate update of the record causes a 'record has changed' message to appear
CAUSE:
The custom 'copy' logic caused the newly created (copied) record to be displayed without reloading the related SDOs with the newly created records.
FIX:
Modify the program so that after the custom 'copy' routine is completed the main SDO has its query reopened (which will then in turn cause all related SDOs to reopen their queries)