YANKRAY
Technical User
- Nov 7, 2003
- 283
Using CR 10.0
I have renamed some fields to allow for multiple selections based on a parameter selection.
//@station
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "01,02,04,05,09" then "Predock" else
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "10,11,12,15,17" then "Teardown/ShakeDown Evaluation" else
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "20,21,22,23,24,27,28,35,42" then "Repair 1 & 2" else
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "37,80,85,87,89" then "Fuel & Installs" else
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "38,81,82,83,88" then "Final Assy" else
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "91,94,95,96,97,98" then "Flightline" else
"Unassigned Station Group"
I can then use a parameter //?stationgroup to pull the Work_Center_no as a group.
I would like to further define the parameter so that if I request "Predock" I get the WORK_CENTER_NO defined by "Predock".
If I request "Teardown/ShakeDown Evaluation" I get the WORK_CENTER NO defined by "Predock" and "Teardown/ShakeDown Evaluation".
If I request "Repair 1 & 2" I get the WORK_CENTER_NO defined by "Predock" and "Teardown/ShakeDown Evaluation" and Repair 1 & 2".
and so on down the list where the next selection gives me the WORK_CENTER_NO defined by that station and all previous stationgroups.
Any suggestions?
Thanks,
Ray
I have renamed some fields to allow for multiple selections based on a parameter selection.
//@station
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "01,02,04,05,09" then "Predock" else
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "10,11,12,15,17" then "Teardown/ShakeDown Evaluation" else
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "20,21,22,23,24,27,28,35,42" then "Repair 1 & 2" else
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "37,80,85,87,89" then "Fuel & Installs" else
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "38,81,82,83,88" then "Final Assy" else
if {SR_VISIT_WC_TASK.WORK_CENTER_NO} IN "91,94,95,96,97,98" then "Flightline" else
"Unassigned Station Group"
I can then use a parameter //?stationgroup to pull the Work_Center_no as a group.
I would like to further define the parameter so that if I request "Predock" I get the WORK_CENTER_NO defined by "Predock".
If I request "Teardown/ShakeDown Evaluation" I get the WORK_CENTER NO defined by "Predock" and "Teardown/ShakeDown Evaluation".
If I request "Repair 1 & 2" I get the WORK_CENTER_NO defined by "Predock" and "Teardown/ShakeDown Evaluation" and Repair 1 & 2".
and so on down the list where the next selection gives me the WORK_CENTER_NO defined by that station and all previous stationgroups.
Any suggestions?
Thanks,
Ray