Hi community,
I am trying to modify a property on all the generation of an item.
Thus I am trying to merge those two requests
1) Modify the latest generation without changing the generation :
<AML>
<Item action='merge' type='Part' where="[Part].item_number='1234'" version='0'>
<_authoring_tool_id_label>TATA</_authoring_tool_id_label>
</Item>
</AML>
2) get all generation
<Item action='get' type='Part'>
<generation condition='ge'>0</generation>
<_title>1234</_title>
</Item>
Thus I tried something like
<AML>
<Item action='merge' type='Part' where="[Part].item_number='1234' and [Part].generation>'0'" version='0'>
<_authoring_tool_id_label>TATA</_authoring_tool_id_label>
</Item>
</AML>
But I can not find how to make it work.
I will try to use the config id or swith to sql query... It's for a datamodel modification and be done one time thus it could be ok.
Thanks,
Hadrien