I created the formula field below to use it with the "Select Expert" but when I try to select it, it does not display the "@Ovr" field. Is there another way of doing this?
I would greatly appreciate any help?
[Field name "@Ovr"]
if {PIRUSER.USWHDP}= "DRY" AND {PIRTRAN.PTTASK}= "LUNCH" AND {@DATE DIFF} >=70
THEN "DRY-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "DRY" AND {PIRTRAN.PTTASK}= "BREAK" AND {@DATE DIFF} >=25
THEN "DRY-BRK-OVER"
ELSE
if {PIRUSER.USWHDP}= "DRY" AND {PIRTRAN.PTTASK}= "BEGLCH" AND {@DATE DIFF} >=70
THEN "DRY-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "CLR" AND {PIRTRAN.PTTASK}= "LUNCH" AND {@DATE DIFF} >=80
THEN "CLR-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "CLR" AND {PIRTRAN.PTTASK}= "BREAK" AND {@DATE DIFF} >=30
THEN "CLR-BRK-OVER"
ELSE
if {PIRUSER.USWHDP}= "CLR" AND {PIRTRAN.PTTASK}= "BEGLCH" AND {@DATE DIFF} >=80
THEN "CLR-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "FRZ" AND {PIRTRAN.PTTASK}= "LUNCH" AND {@DATE DIFF} >=80
THEN "FRZ-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "FRZ" AND {PIRTRAN.PTTASK}= "BREAK" AND {@DATE DIFF} >=30
THEN "FRZ-BRK-OVER"
else
if {PIRUSER.USWHDP}= "FRZ" AND {PIRTRAN.PTTASK}= "BEGLCH" AND {@DATE DIFF} >=80
THEN "FRZ-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "DRY" AND {PIRTRAN.PTTASK}= "BATCG" AND {@DATE DIFF} >=15
THEN "BATCHG-OVER"
ELSE
if {PIRUSER.USWHDP}= "CLR" AND {PIRTRAN.PTTASK}= "BATCG" AND {@DATE DIFF} >=15
THEN "BATCHG-OVER"
ELSE
if {PIRUSER.USWHDP}= "FRZ" AND {PIRTRAN.PTTASK}= "BATCG" AND {@DATE DIFF} >=15
THEN "BATCHG-OVER"
ELSE
"OK
I would greatly appreciate any help?
[Field name "@Ovr"]
if {PIRUSER.USWHDP}= "DRY" AND {PIRTRAN.PTTASK}= "LUNCH" AND {@DATE DIFF} >=70
THEN "DRY-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "DRY" AND {PIRTRAN.PTTASK}= "BREAK" AND {@DATE DIFF} >=25
THEN "DRY-BRK-OVER"
ELSE
if {PIRUSER.USWHDP}= "DRY" AND {PIRTRAN.PTTASK}= "BEGLCH" AND {@DATE DIFF} >=70
THEN "DRY-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "CLR" AND {PIRTRAN.PTTASK}= "LUNCH" AND {@DATE DIFF} >=80
THEN "CLR-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "CLR" AND {PIRTRAN.PTTASK}= "BREAK" AND {@DATE DIFF} >=30
THEN "CLR-BRK-OVER"
ELSE
if {PIRUSER.USWHDP}= "CLR" AND {PIRTRAN.PTTASK}= "BEGLCH" AND {@DATE DIFF} >=80
THEN "CLR-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "FRZ" AND {PIRTRAN.PTTASK}= "LUNCH" AND {@DATE DIFF} >=80
THEN "FRZ-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "FRZ" AND {PIRTRAN.PTTASK}= "BREAK" AND {@DATE DIFF} >=30
THEN "FRZ-BRK-OVER"
else
if {PIRUSER.USWHDP}= "FRZ" AND {PIRTRAN.PTTASK}= "BEGLCH" AND {@DATE DIFF} >=80
THEN "FRZ-LNCH-OVER"
ELSE
if {PIRUSER.USWHDP}= "DRY" AND {PIRTRAN.PTTASK}= "BATCG" AND {@DATE DIFF} >=15
THEN "BATCHG-OVER"
ELSE
if {PIRUSER.USWHDP}= "CLR" AND {PIRTRAN.PTTASK}= "BATCG" AND {@DATE DIFF} >=15
THEN "BATCHG-OVER"
ELSE
if {PIRUSER.USWHDP}= "FRZ" AND {PIRTRAN.PTTASK}= "BATCG" AND {@DATE DIFF} >=15
THEN "BATCHG-OVER"
ELSE
"OK