Skip to main content
1-Visitor
April 16, 2020
Solved

Relations fail when using component ID and when part is suppressed

  • April 16, 2020
  • 2 replies
  • 2111 views

I'm using the component ID in relations and not the session ID because I'm replacing family table members as I posted yesterday. But now I have a new problem. Using component ID in relations works great until the part is suppressed. The 2 files below shows that it is working when the part isn't suppressed and that the relations have an error when the part is suppressed.

 

How do I prevent this from happening? Apparently the "if exists" doesn't work to determine if the is suppressed or not. And I can't find a way to determine if the part is suppressed.

 

Anybody have any suggestions?

 

Thanks, Steve 

Best answer by MartinHanak

Hi,

following info is just a tip ...

You can use parameter value + Pro/PROGRAM to suppress component. That very same parameter can be used in relations.

2 replies

24-Ruby III
April 16, 2020

Hi,

following info is just a tip ...

You can use parameter value + Pro/PROGRAM to suppress component. That very same parameter can be used in relations.

1-Visitor
April 16, 2020

Thank Martin. It is too bad that the relations are having this issue when using component ID because relations for a suppressed parts using session ID don't. 

 

I'm going to use your suggestion for now and will make something work. What I wanted to do would have been a little easier for the person using our standard models but I can work around this issue.

 

Thanks again. I do appreciate you taking the time to reply!

 

Steve