How to use item_id generation when Naming Rule appied with TC JAVA API( or may be SOA) ?
I have a naming rule with 2 patterns for example:
I use Java API function tccomponent_item_type.create(item_id,rev_id,item_type, item_name,item_desc,uom_tag)
If we need item_id generated by TC we just set item_id parameter as NULL.
But how to get new Item_ID if the Nameing Rule with two patterns exist for this item?
Just speaking from memory, most probably the UID of the new element is present in the 'Created' field of the service response. Once obtained, the new Item with its generated id's could be read back from Teamcenter.