on ‎2016 Jul 15 10:56 AM
Hi Everyone,
I am using IF statement in Account transformation file.
Requirement:
Needs to update the ACCTYPE property through DMP. which is as follows:
Accounts starting with 001= "AST"
Accounts starting with 002= "LEQ"
Accounts starting with 003= "EXP"
Accounts starting with 004= "INC"
In transformation, i have scripted it as below:
*IF(ID(1:3)=*STR(001) THEN *STR(AST);*IF(ID(1:3)=*STR(002) THEN *STR(LEQ);*IF(ID(1:3)=*STR(003) THEN *STR(EXP);*STR(INC))
It is giving me the following error:
Please correct me for the IF statement.
Request clarification before answering.
Hi Karan,
Use below post as reference and remove multiple IF just write only first IF....
BPC Transformations - IF Condition | SCN
Something like....
*IF(ID(1:3)=*STR(001) THEN *STR(AST);ID(1:3)=*STR(002) THEN *STR(LEQ);ID(1:3)=*STR(003) THEN *STR(EXP);*STR(INC))
Regards,
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 40 | |
| 9 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.