cancel
Showing results for 
Search instead for 
Did you mean: 

Allocation logic doesn't work on Data Send when included in Default Logic

0 Kudos

Hello Friends,

I've included my allocation logic into my default logic using an Include statement. So my Default Logic file simply reads:

*Include Allocation.lgx

However, when I Send Data using an Input Schedule the logic doesn't seem to do the allocation after sending data.

But if I run the Default Logic package through Data manager, the allocation logic then works correctly, and I get the expected result.

Has anyone else encountered this issue? If so, is this a bug or are there steps I can take to correct this?

Accepted Solutions (1)

Accepted Solutions (1)

arunkumar_s
Participant
0 Kudos

Hi, Allocation logic normally works with Default logic, it depends on the selections and the parameters set in the Allocation logic to perform. I have observed that some times it does not work if there are FOR loop in the allocation. Please send the Logic that has been written, it might help to find out the reason.

Arun

0 Kudos

Hello. Here's the Allocation logic. By the way we're using BPC for MS ver 7.0

*RUNALLOCATION

*FACTOR USING/TOTAL

*DIM ACCOUNT WHAT=TRANS.DSD.FUEL,TRANS.DSD.TRUCK; WHERE=<<<; USING=VOL.TOT; TOTAL=<<<

*DIM BRANCH WHAT=BAS(TotBranch); WHERE=<<<; USING=<<<; TOTAL=<<<

*DIM PRODUCT WHAT=NO_UPC; WHERE=BAS(TOTALDSD); USING=<<<; TOTAL=<<<

*DIM CHANNEL WHAT=NO_CHANNEL; WHERE=BAS(Total.DSD); USING=<<<; TOTAL=<<<

*DIM SCENARIO WHAT=ACTUAL; WHERE=<<<; USING=<<<; TOTAL=<<<

*DIM DATASRC WHAT=MANUALSCHEDULE; WHERE=ALLOC; USING=; TOTAL=

*ENDALLOCATION

Edited by: hutchinsm on Aug 15, 2011 9:05 PM

arunkumar_s
Participant
0 Kudos

Hi,

Sorry for delayed reply, the ALLOCATION logic you are running in the default is very complex, I don't know if this would work even if you run using the DATAMANGER package.

The main issue I am seeing is that there are MANY to MANY relation ship between WHAT and WHERE for more than one Dimension.

To avoid this you may consider using FOR LOOP (consider the performance issues) and it will work only via DATA MANAGER.

Hope this helps.

Regards

Arun

0 Kudos

We ended up just running the allocation logic from Data Manager as we couldn't get the allocation script to run in default.

Answers (0)