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!

OnDemand Rule

JanGLiSep 18 2017 — edited Sep 28 2017

Hi,

We have created two simple calculate rules

Rule1

Sub OnDemand_test123(bLog)

'ID:442

'PROPERTIES:logging=false;timer=false;disabled=false;CalcType=Calculate

'STARTCOMPONENT:FORMULA

'ID:-317

'NAME:Template-1-317

'PROPERTIES:logging=false;timer=false;disabled=false;CalcType=Calculate

'

If 1 = 1 Then 'NEWBLOCKCOND

HS.Exp "A#10101002.I#[ICP None].Material#[None].Future1#[None].Region#[None].Funct_Area#Opening Balance = 90000"

End If

'ENDCOMPONENT

End Sub

Rule2

Sub OnDemand_testing(bLog)

'ID:444

'PROPERTIES:logging=false;timer=false;disabled=false;CalcType=Calculate

'STARTCOMPONENT:FORMULA

'ID:-314

'NAME:Template-1-314

'PROPERTIES:logging=false;timer=false;disabled=false;CalcType=Calculate

'

If 1 = 1 Then 'NEWBLOCKCOND

HS.Exp "A#10101001.I#[ICP None].Material#[None].Future1#[None].Region#[None].Funct_Area#Opening Balance = 8000"

End If

'ENDCOMPONENT

End Sub

Which i am able to calculate if i use calculate/force calculate option

Rule Calculated

pastedImage_0.png

But when i use ondemand option i am getting error.

Executing OnDemand rule

pastedImage_7.png

Error

pastedImage_10.png

Kindly guide what to do? or am i using it wrong?

Regards

i,

We have created simple calculate rule which i am able to excecute when i use calculation option on web from. But when i do the same for on_demand rule... it is getting errored out.
Kindly find the attached word document stating the issue in detail with screen shots.

Regards

This post has been answered by CBarbieri on Sep 18 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details