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

Optimizing Allocate Rule

edited Mar 26, 2024 10:15AM in Planning 5 comments

Hello experts, I have a doubt with a calc script doing an allocation. Type my code and explain if is possible optimize this code:

FIX (&Act_Year,"Actual","EUR",@RELATIVE("Project",0 ),@RELATIVE("NetProfit",0 ),"C_250")

"Jan"(

@CALCMODE(BOTTOMUP);

"Allocation"=@ALLOCATE("Input"*"pct"->"BegBalance"->"Driver"->"LC"->"Proyecto_NA"->"Alloc_Driver"->"C_101",@RELATIVE("C_101",0 ),@CURRMBR("NetProfit"),,spread,SKIPNONE);

)

ENDFIX


FIX (&Act_Year,"Actual","EUR",@RELATIVE("Project",0 ),@RELATIVE("NetProfit",0 ),"C_250")

"Jan"(

@CALCMODE(BOTTOMUP);

"Allocation"=@ALLOCATE("Input"*"pct"->"BegBalance"->"Driver"->"LC"->"Proyecto_NA"->"Alloc_Driver"->"C_102",@RELATIVE("C_102",0 ),@CURRMBR("NetProfit"),,spread,SKIPNONE);

)

ENDFIX

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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