Hi,
I have a problem that probably is very easy to solve but I have tried many things with no success. Here is my problem:
I have 3 BO: SampleCollection, DiagnosisGroup and Diagnosis
Both DiagnosisGroup and Diagnosis are attributes of SampleCollection (peer rel)
A SampleCollection has only one DiagnosisGroup
A SampleCollection has several Diagnosis of the same DiagnosisGroup
When a new SampleCollection is being created a DiagnosisGroup is selected from a dropdown list. Then several Diagnosis can be created (added).
Once a DiagnosisGroup is selected in the SampleCollection form, new Diagnosis can be added but here is the problem:
There is a website that has the code for diagnosis groups, inside the diagnosis groups is possible to find the codes for the new diagnoses. So, the Diagnosis form should have a hyperlink to the selected DiagnosisGroup before the Diagnosis is created to be able to find the code for the new Diagnosis.
The problem is that neither the SampleCollection or the Diagnosis are saved yet.
Here are the BOs:
DiagnosisGroup
Attributes:
Group: plain trext
Code: plain text
URL: plain text
Diagnosis
Attributes:
DiagnosisGroup: DiagnosisGroup
Code: plain text
Diagnosis: plain text
In the Diagnosis form I would like to have a hyperlink to the URL in DiagnosisGroup.URL to find the Code for Diagnosis. The DiagnosisGroup has been only chosen for the SampleCollection but the SampleCollection hasn’t been saved yet.
How can I know which is the selected DiagnosisGroup? Is there a way to have a sort of “global variable”, if so, how to handle it? Some known solution for this problem?
Thanks in advance have a nice day,
Roxana