cancel
Showing results for 
Search instead for 
Did you mean: 

UDF in PI 7.1

Former Member
0 Kudos

Hi

I am working in Proxy to SOAP in PI 7.1 version where I need to implement the logic for one of the field on the Target side based on the value of the source field

The input field will have four different values and based on the Input value I need to assign value to the Target field

when FieldA (SourceField) = ZWC2_IND

move WCIL to FieldB (Target Field)

when FieldA (SourceField) = ZWC4_LIA

move MCIL to FieldB (Target Field)

when FieldA (SourceField) = ZWC1_MED

move WCML to FieldB (Target Field)

when FieldA (SourceField) = ZWC3_VOC

move WCNL to FieldB (Target Field)

Please let me know how can I code the above logic in UDF

would appreciate if anyone can send the UDF code

Thanks in advance

PR

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks a lot

PR

MichalKrawczyk
Active Contributor
0 Kudos

hi,

this is all the coding you need

http://www.riyaz.net/blog/xipi-value-mapping-using-graphical-editor/

Regards,

Michal Krawczyk

Former Member
0 Kudos

why do you need a UDF first of all. Just do a fix value mapping.