Hello,
I’d like to ask for your help.
Is it possible to transfer documents of a component (EngPartRevision) to an assembly part (EngPartRevision) ?
I’ve checked in Object Connection Transformation, it seems impossible ...
Hello,
I’d like to ask for your help.
Is it possible to transfer documents of a component (EngPartRevision) to an assembly part (EngPartRevision) ?
I’ve checked in Object Connection Transformation, it seems impossible ...
Best answer by Mathias Dahl
Hi,
Okay, I think I understand now. You want documents from a child part (component, as you call it) to also be seen on the parent (assembly). Correct me if I'm wrong.
Since there is a relational entity (EngPartStructure) that ties them together, you cannot use a simple mapping on your Object Connection Transformation rule to accomplish this. Also, rules cannot be chained together. That is, you cannot transform things in steps, via different rules.
If you want to do this, you need to write PL/SQL code to handle the transformation from documents from the child part to the parent. If you look at the system defined Object Connection Transformation rules you will find other rules that uses code (a method in an API) to do the transformation.
This will count as a customization, although a quite small one and you might need help from IFS or a partner to implement it.
Your other option is to create a custom event with a custom event action that uses PL/SQL code to duplicate document connections on the child to the parent. That should not be very hard but I'm afraid I don't have a ready recipe for you on how to do it.
Good luck!
/Mathias
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.