on 06-21-2017 9:21 PM
hello,
BPC 10.1NW ,EPM SP28 P3
i want to load values from 106002 :106007 (external data mapping) to PROD1 (internal). I tried below formula in "INTERNAL" column. but throws an error when i run DM pkg.
is there any syntax error in below formual?
js:If((parseint(%external%)>106001 AND parseint(%external%)<106008)?"PROD1":"*SKIP")
Thanks
Rekha
*SKIP can't be used inside JavaScript!
The simple way to achieve your goal is to use direct mapping without JavaScript:
0000106003 PROD1
0000106004 PROD1
0000106005 PROD1
0000106006 PROD1
0000106007 PROD1
* *skip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
modified as below but still get an evaluation error
js:*if(%external% == "0000106003") "PROD1"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where do you read about combination of "if" and ternary operator???? Why do you write "if"?????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"is there any syntax error in below formual?" - yes!
Please read ANY online JavaScript manual!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.