action='merge' is useful if you don't know if the item exists. It will create the item if it doesn't, or edit the item if it does. Otherwise, action='add' or action='edit' work just as well.<Item type='Part' action='edit' where="[Part].[config_id] = 'CONFIG_ID'"><!-- edits --></Item>action='edit' does not work on old revisions of a versionable item (where is_current <> '1'). In those situations, you have to perform three queries: action='lock', action='update', and action='unlock'.action='merge' is useful if you don't know if the item exists. It will create the item if it doesn't, or edit the item if it does. Otherwise, action='add' or action='edit' work just as well.<Item type='Part' action='edit' where="[Part].[config_id] = 'CONFIG_ID'"><!-- edits --></Item>action='edit' does not work on old revisions of a versionable item (where is_current <> '1'). In those situations, you have to perform three queries: action='lock', action='update', and action='unlock'.Copyright © 2025 Aras. All rights reserved.