Skip to main content
16-Pearl
March 7, 2024
Question

What is the core logic behind MOOD

  • March 7, 2024
  • 1 reply
  • 747 views

When ever the child is modified and checked in, the parent which has representation already becomes Marked Out of Date.

I want to understand the core logic behind it.

Is there any listener which triggers or OOTB class registered in properties?

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
March 7, 2024

Hi @TDT 

You need to investigate the column where the out of date is shown.

It could be calculated during page generation when the information is showing.

So I would start with the out of date datautility.

If it is not calculated during the page generation then you can find where the information is stored and then you can debug the sql transitions to get information when the out of date information is stored if it was stored. 

PetrH  

18-Opal
March 11, 2024

@TDT 

Out-of-date is stored in the database as a number (1 or 0).

It is automatically updated by Windchill when, well, the representation is out-of-date.

 

The rep in the dB knows which object it is derived from. If that object or any of its dependencies change it's quite easy to calculate this upon checkin and then mark the dB column that stores out-of-date = 1.

 

David