Business Rule / Calculation Script error on a Calculation Block
What I want is if the member in Employee is tagged with a UDA of Consultant do the data copy. What is the correct syntax for this.
*******************************************************************
Fix("Forecast","Working",@RELATIVE("Employee", 0))
"Labor"(
IF(@isuda("Employee","Consultant"))
DATACOPY "Hours" TO "Subcontract_Labor"
ELSE
"Mat/SW/HW Exp"+"Other_Direct_Costs";
Endif
)
EndFix
*************************************************************************
Error: 1200324 Error compiling formula for [Labor] (line 12): operator expected after [DATACOPY]
Error "operator expected after [DATACOPY]" When DATACOPY Calculation Command is Used in IF Statement ( Doc ID 1990210.1 )
-Michael