cancel
Showing results for 
Search instead for 
Did you mean: 

Closure Rule - How to traverse from Item to BOM - for plmxml?

Experimenter
Experimenter
Hello, I need to traverse to BOM and find BOMLine properties.
In closure rule- I traversed from Item-> BOMView / BOMView Revision.
How do I get to reach to BOMLine?

I tried,
Primary = BOMView / R
Relation P2S =*
Secondary = BOMWindow / BOMLine

Please guide.



5 REPLIES

Re: Closure Rule - How to traverse from Item to BOM - for plmxml?

Valued Contributor
Valued Contributor
Hi,

try this

Primary Object Class Type = Class
Primary Object = BOMWindow
Secondary Object Class Type = Type
Secondary Object = *
Relation Type = Property
Related Property or Object = top_line
Action = TRAVERSE_AND_PROCESS

Primary Object Class Type = Class
Primary Object = ImanItemLine
Secondary Object Class Type = Type
Secondary Object = *
Relation Type = Property
Related Property or Object = bl_all_child_lines
Action = TRAVERSE_AND_PROCESS
may be a conditional clause = $bom_cb != "1" && PRIMARY.bl_window_is_BOPWin=="false"

with regards,
Chini

Re: Closure Rule - How to traverse from Item to BOM - for plmxml?

Experimenter
Experimenter

Thanks Chini.

But how do I traverse to BOMWindow from Item?

 

Actually, I am looking to create a Summary Report (not the Item Report).

Here, user will have some filters - like Item Id, Revision Rule,..

 

Now, I need to query the Item and traverse from it.

User will not be running the report from Structure Manager.

 

I could get BOMView, but how do I reach to the BOMWindow, so I can get the BOMLine?

Re: Closure Rule - How to traverse from Item to BOM - for plmxml?

Valued Contributor
Valued Contributor

Hi,

 

If you are creating a summary report, what kind?

Summary report of Structure could be done using Report builder. 

 

I need exact understanding of your requirement.

 

With regards,

Chini

Re: Closure Rule - How to traverse from Item to BOM - for plmxml?

Experimenter
Experimenter

The user will generate summary report. (Tools-->RepoortS-->Report Builder Reports).

Here, the fields are - Item Id, Revision Rule, Variant, Effectivity.

The report will fetch BOMLine as well as Item and Revision properties.

 

Re: Closure Rule - How to traverse from Item to BOM - for plmxml?

Valued Contributor
Valued Contributor

The requirement you gave is possible to realise. see the example reports in TC. You might get an idea.

We use TcRA for all reporting and analytics.