Changes between Initial Version and Version 1 of UserGuidelines/Admin/RecordMerging


Ignore:
Timestamp:
07/17/12 08:41:10 (9 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/Admin/RecordMerging

    v1 v1  
     1= Record Merging =
     2
     3There are times when you have multiple records in the database which are duplicates.
     4Rather than simply delete one of them, which may mean that other records don't point correctly at this one, it is possible to merge the 2 records together.
     5
     6Identify the 2 record IDs, decide which one you wish to keep & which one should be deprecated & then merge them as follows:
     7{{{
     8auth.override=True
     9resource = s3mgr.define_resource("pr", "person")
     10# (Good, Bad)
     11resource.merge(117, 90)
     12db.commit()
     13# or db.rollback()
     14}}}
     15
     16It is also possible to specify that some fields should be retained from the one which is being deprecated.
     17
     18There may of course be addiional records, such as Human Resource or Contacts.