How to use Datacopy in If statement?: EPM Buisiness rule
I wrote a buisiness rule which copy data from a version to another version. In the rule, I want to use 'Datacopy' in 'If' statement but the following error is displayed.
Error: Error compiling formula for ["Scenario A", at or after line: [" Datacopy "Version A" to "Version B""]] (line 51): operator expected after [Datacopy] rule TVisTest.TVisPlan.versioncopy_rule'
Following code is what I wrote.
FIX("Entity A", "Year A")
"Scenario A"(
IF("Member 1" == #misssing)
Datacopy "Version A" to "Version B";
ELSE
@RETURN("Message");
ENDIF
)
ENDFIX
To avoid the error, I use the following code but want to used Datacopy to improve the performance.
Tagged:
0