Migrationcenter · Data mapping

Write-back

1
Changes planned
3 unchanged · 0 blocked
0
Approved
approve a change to send it
3
Written on vm2606
each verified by read-back
1
Refused by the guard
changed since planned

Plan · vm2606 scratch items

ItemPropertyTeamcenter nowBecomesFrom
009788 / Aobject_descMCMAP-TEST scratch item for Migrationcenter attribute mapping (rm-zm80r5cg follow-ons); safe to deleteBracket assembly, machined from 6061-T6 platea decision

Live run · vm2606 · 9 steps

  1. 1
    Read the tier's definitionsCore-2015-10-Session/getTypeDescriptions2
    ItemRevision (344 properties), Item (191), Dataset (150) returned; CMMAttributes and both fake controls omitted: CMMAttributes is not deployed on vm2606.
  2. 2
    Create two scratch itemsCore-2006-03-DataManagement/createItems
    009788/A and 009789/A, named MCMAP-TEST.
  3. 3
    Plan the first writeplanWriteback (no call)
    Caught before any write: the plan included last_mod_date, a property Teamcenter maintains, because dates were compared as text. Fixed: system properties are never written, dates compare as instants. The plan became one change.
  4. 4
    Write, with a control writeCore-2010-09-DataManagement/setProperties
    009788 object_desc = the decided DMT value; 009789 = a control value. Both read back as written (tc_get_properties).
    written 009788/A object_desc = Bracket assembly, machined from 6061-T6 plate
    written 009789/A object_desc = MCMAP-TEST control write 2026-10-03
  5. 5
    Re-run against the new stateplanWriteback
    0 changes. The decision retired: its own write made every source agree.
  6. 6
    Probe: write with a stale timestampCore-2010-09-DataManagement/setProperties
    Accepted. A write carrying 05:58:43 landed on an object last modified at 06:00:34, so the timestamp is not a concurrency guard on vm2606. Write-back now compares before it sets.
  7. 7
    Apply a plan made before that changescripts/mapping_writeback.py --apply
    Refused by the guard (changed since planned); nothing written; exit 1.
    refused 009789/A object_desc = MCMAP-TEST stale-timestamp probe (changed since planned: now "MCMAP-TEST stale-timestamp probe")
  8. 8
    Old decision against the new statescripts/mapping-plan.mjs
    The decision went stale (Teamcenter's value changed under it): no change planned, back in the queue.
  9. 9
    Re-decide, plan, approve, applyscripts/mapping_writeback.py --apply
    009789 object_desc written and verified by the runner's own read-back; one audit record.
    written 009789/A object_desc = Hinge pin, 8 mm
    audit: Teamcenter Check-in · n/a · ed · AcAAAkfvp$kOEC.object_desc