
Anonymous Community User asked a question.
Cascading Relationships in Calculations
I have a question about whether you can calculate through cascaded relationships. Let's say app A has a relationship with app B and app B has a relationship with app C, but app A and app C do not have a relationship. However, I want to be able to calculate a text value in app A that includes the text field in app C that is referenced from app B for which app A has a relationship. I call this a cascaded relationship, although it might be called a nested relationship or other nomenclature. Example of something that I don't believe can be done directly, but that I would like to do is below. "@all of Sale to Company" is in italics below because it really doesn't come up as an option when typing "@all of", but I use it to illustrate what I would like to do. In app A, I would like to be able to do the following: Field name: "Payment", calculation field: @all of Sale to Company + ", Payment " + @all of Payment Number.toString(10).join(", ") In app B exists the following: First field name: "Sale to Company", relationship field referencing "Company" text field in app C Second field name: "Payment Number", number field In app C exists the following: First field name: "Company", text field What I want to have at the beginning of the calculation field "Payment" in app A is the text value in the "Company" text field in the app C item that is linked from the "Sale to Company" relationship field in the app B item that is linked from the app A item. But in the Modify Template function, neither of them show up in the drop down list in the "Payment" calculation field after typing "@all of". I know there is a workaround: create a calculated (text) field, e.g., "Company linked", in app B that is equal to the app C "Company" text field, then have "Payment" field in app A reference the "Company linked" field in app B. However, this is cumbersome and adds complexity that might not be necessary. Is there a way to reach the cascaded relationship field directly as stated above?