SmartPlant Foundation generates a Delete instruction whenever an item has been deleted. This deletion is communicated from SmartPlant Foundation to any retrieving tool.
Once SmartPlant Foundation generates a delete instruction, a Tombstone document will be passed to the retrieve logic.
The tombstone document will be filled with a RefUID, which is the design basis UID of the relevant plant SmartPlant Item.
This logic creates Delete tasks for all items.
Once an object is deleted, the value of the flag Object_Is_Terminated_Flg in the Object_Registry table is set to 1. The assumption here is that values are never deleted from the Object_Registry table and therefore to distinguish items that have been deleted from items that still exist, this flag was added. This flag can be cleared in the Admin tool.