cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with carry-forward business rule

Former Member
0 Kudos

Hi,

I am trying to get the carry-forward business rule to work. I have filled in the business rule itself and created a script logic called "copy_opening.lgf".

*RUN_PROGRAM COPYOPENING

CATEGORY=%CATEGORY_SET%

CURRENCY=%CONSOLVIEW_SET%

TID_RA=%TIME_SET%

OTHER=[ENTITY=%ENTITY_SET%]

*ENDRUN_PROGRAM

I also tried

*RUN_PROGRAM COPYOPENING

CATEGORY=%CATEGORY_SET%

//CURRENCY=%CONSOLVIEW_SET%

TID_RA=%TIME_SET%

OTHER=[ENTITY=%ENTITY_SET%]

*ENDRUN_PROGRAM

Both generate the same result.

RUN_LOGIC:Datasrc cannot be found in the application CONSOL

I have a dimension called datasrc of type datasrc which is used in the CONSOL application. This dimension has, amongst others, the DATASRC_TYPE, COPY_OPENING and OPENING_DATASRC properties.

I have one datasource with DATASRC_TYPE = I, COPY_OPENING=Y and OPENING_DATASRC showing the ID of the datasource itself and one with DATASRC_TYPE=M, COPY_OPENING=Y and OPENING_DATASRC showing the ID of the datasource itself.

All other datasources (type M and A) have COPY_OPENING=N and OPENING_DATASRC= blank.

I also tried this script

*RUN_PROGRAM COPYOPENING

CATEGORY=%CATEGORY_SET%

CURRENCY=%CONSOLVIEW_SET%

TID_RA=%TIME_SET%

OTHER=[ENTITY=%ENTITY_SET%,DATASRC=INPUT]

*ENDRUN_PROGRAM

But that just generates the same error message.

I have now run out of ideas what to check or where to look, has anyone out there any other ideas what could cause this issue?

Thanks,

Arnold

Edited by: ArnoldWarhonowicz on Jun 29, 2011 5:21 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

can you please check on the property name in your datasrc dimension.

I think it should be COPYOPENING means there should be no _

Former Member
0 Kudos

Perfect, I have no idea why I put the _ in there since even the help lists it without ... but that did the trick.

Thanks,

Arnold

Answers (1)

Answers (1)

former_member190501
Active Contributor
0 Kudos

Hi,

Can you try as follows :

*RUN_PROGRAM COPYOPENING

CATEGORY = %C_CATEGORY_SET%

CURRENCY = %RPTCURRENCY_SET%

TID_RA = %TIME_SET%

*ENDRUN_PROGRAM

hope it helps...

regards,

Raju

Former Member
0 Kudos

Hi Raju,

unfortunately that didn't work either, still getting the same error message.

Thanks,

Arnold