Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calculation manager Variable

user4958421Mar 15 2013 — edited Mar 25 2013
Hi,

I have created a calculation manager Variable "RTP_Name" type string. I have an account member with data storage type TEXT called "Name".

In the business rule I want to use the variable "RTP_Name" as a RTP to assign TEXT value to member in the outline below is my code:

FIX({Scenario}, {Version},{Year},{CostCenter},"NewHire-1",Begbalance)
"Name"
(
"Name"= {RTP_Name};
)
ENDFIX

When I validate it says

An error occurred in: Rule:Wforce.Wforce.NewHire
The member 'TBHName' cannot be found..

Where TBHName is in the default value for variable "RTP_Name"

So I went back to my variable & in the Default Value I put the account "Name" & the rule validates without any error. I am not sure why I need to put the account name in default value when the variable type is String ? My thought was that I can put any text in the default value.

After that I deploy the rule & try to run it. So the first pop up I see on the screen looks something like this:

"TBHName"="Name"

Where TBHName is RTP TEXT for my variable "RTP_Name" & I enter some name for example John in the prompt screen & below is the error I get;

Error detected while attempting to run job: "NewHire".

Can somebody help me out in my situation & explain how exactly the variable type string works?

Tx for your help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 22 2013
Added on Mar 15 2013
2 comments
463 views