Skip to Content
0
Former Member
May 25, 2009 at 09:51 AM

Package and Logic

23 Views

Hi,

I want to run a logic file for a set of account-members that the user selected in a package.

I copied the ecelim package and call my lgf logic file from the package - this still works fine.

But it seems instead of filling the selected members into my list, the lists variable name is used in the logic.

Which prompt commands do I have to use in the dtsx file to be able to select several accounts and how can I access the selection (list?) in the script logic?

Right now, I have something like:

SELECT(SLECTINPUT,,%ACCLIST%,"Select members you want to use...",%TIME_DIM%,%ACCOUNT_DIM%%CATEGORY_DIM%)

Btw: what is the difference of first variable, second variable? Would firstvariable take the selected members of the first dimension (here: time) and the second variable the memebrs of 2nd dimension (here: account)?!

And in the script file that is called I have:

*FOR %ACCT% in %ACCLIST%
//do some allocation with %ACCT%
*NEXT

When I check the debug logic, looks as if "%ACCLIST%" (the list's name) is used as account and not a specific member...

Does sb know: How to read a list of members (selection) into variable in the package and how to use this list in the related script logic file correctly?