Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I have also attached oir file. Please provide me with the solution.
Thanks in advance
Vipul gaikwad
Ok looks like you are making a new WTPart by a composite attribute correct? The addition of "<!--<Arg>{GEN:wt.enterprise.SequenceGenerator:WTPARTID_seq:3:0}</Arg> -->" should make a unique number but you might be limiting yourself. And Type, Subcategory and Object type make up the "3028A" portion? So does that WTPart by that number exist? Check the settings for that sequence to make sure its advancing properly. Be prepared for skips since it will keep moving regardless if there is a successful WTPart created or deleted. If you are ok with that, should work.
Thanks for the reply.
The wtpart by that number does not exists.
where can i check for the setting for sequence to make sure its advancing properly?
and one more thing in wcadmin i am able to create the wtpart .
Here is some information on sequences:
The one you are using is setup by the install for WTParts.
Based on the error message, it looks like its pulling a number 0000001501 first which would be the default OOTB OIR rule then trying to renumber it. Can you post the composite rule which merges all OIRs from the different levels. Strange that admin is able to do this but not users.
Hi @Vipul
I would start to investigate, why there is a type "WTPart Master" instead of WTPart. For me this it is strange.
So there can really be a WTPart Master that identity is what it said but you can not find that master.
So first I would check Logs and start to debug your crate operation what is done in background process and why.
Also I would try to add the attributes one by one. You can have wrong definition of the number.
PetrH
Hi @Vipul
btw IBA parameters are global attributes.
Do you have own global attributes defined as Type, ObjectType and Subcategory?
I usually use system attributes and the definition example is <Attr id="genericType"/>
also I use them directly in the number definition I do not use varDeinition.
Your attributes does not seem as the global or am I wrong?
and another point
your sequence is commented out from xml so the row with unique generated number is ignored.
PetrH