You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!