cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Currency Conversion question - how to add user defined variable in logic script

Former Member
0 Likes
218

dear BPC Gurus,

When I run currency conversion, I would need to pick the exchange rate based on another dimension B_BDGTYR (User defined), on top of the VERSION, TIME, FXRATE, INPUTCURRENCY...

In the Rates model, it has this dimension:

In the model which I want to run this Currency Conversion it also have this dimension B_BDGTYR in the model.

In the logic script I've included the following lines in CONVERSION.LGF file which is used in the Currency Conversion DMP.

The %B_BDGTYR_SET% should read up from the prompt I set in the DMP Modify Script:

However, after I run it, it did not work....


Does anyone knows how to add user defined variable into the logic script of Currency Conversion?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Likes

Only single OTHER statement is allowed!

OTHER = [B_ENTITY=%B_ENTITY_SET%;B_BDGTYR=%B_BDGTYR_SET%]

former_member186338
Active Contributor
0 Likes

But I am not sure that the currency conversion (picking the exchange rate from the rate model) will work based on this additional dimension! To use different rates it's recommended to use multiple rate entities.

P.S.:

FXRATENTITY=GLOBAL is incorrect!

only RATEENTITY parameter name is supported