Cancel
Showing results for 
Search instead for 
Did you mean: 

Why is asking me for another save operation, when I already saved it by code

Valued Contributor
Valued Contributor

Hi, all,

 

I am new in the code world of Teamcenter, I am doing a PostAction for an object, I need to update some attributes, but at the end show me an error point to me that there are changes in the panel and I need to save it, the problem is my code is in IMAN_save operation and is intended to be used in the creation process, right now I have it for any save operation, so if I save the panel runs again the PostAction, this happened when I use AOM_UIF_set_value, because AOM_set_value_string doesn't do the change. I have AOM_save and AOM_unlock in the code.

 

Thanks for any insight.

 

Armando

1 REPLY

Re: Why is asking me for another save operation, when I already saved it by code

Creator
Creator

I would rather suggest to add the post action on ITEM_create operation instead of IMAN_save. 

Also, once the object is checked out, the APIs from RESERVATION ITK file should be used. AOM are used when you want to mass update or as an backend functionality without CICO.