AnsweredAssumed Answered

Viewing calculation fields from out-of-context TO?

Question asked by FrankvanderMost on Oct 31, 2016
Latest reply on Nov 1, 2016 by FrankvanderMost

Hey all,


If I access a result of a calculation field from a TO that is not part of the calculation field's context, can I ever/never trust the result?



That may have sounded a bit cryptic. Here is more in detail what I mean:



I have three base tables A, B and C and four TOs: A, B1, B and C1. A is related to B1, B is related to C1 but B and B1 have no relationship. Base table B holds a calculation field (example_field) that is evaluated from the context of B: C1::stored_text.



I seem to find that a calculation field in A with the context A defined as B1::example_field, shows the correct result. This is not entirely what I expected because of the non-related contexts. On the other hand, it is not difficult to imagine that the calculation engine (is that the word?) can produce the right result because of the simple nature of the calculations, i.e. fetching stored content from a related table and then show it through a different relationship.


Should I assume this is guaranteed behaviour? Under which circumstances would this work or not work?


I tried to find clues in the documentation about this but did not find any.


All help is very welcome