Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Required UDF

$
0
0

Hi,

 

this is my source structure and the validations can any one provide me the UDF.

 

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="XYZ">

   <ns0:ABC>

      <ns0:GrpHdr/>

      <ns0:OrgnlGrpInfAndSts>

         <ns0:GrpSts>ACTC</ns0:GrpSts>

         <ns0:StsRsnInf>

            <ns0:AddtlStsRsnInf>FIDESFEEDBACK</ns0:AddtlStsRsnInf>

         </ns0:StsRsnInf>

      </ns0:OrgnlGrpInfAndSts>

      <ns0:TxInfAndSts>

         <ns0:TxSts>ACTC</ns0:TxSts>

      </ns0:TxInfAndSts>

      <ns0:TxInfAndSts>

         <ns0:TxSts>RJCT</ns0:TxSts>

      </ns0:TxInfAndSts>

      <ns0:TxInfAndSts>

         <ns0:TxSts>PDNG</ns0:TxSts>

      </ns0:TxInfAndSts>

   </ns0:ABC>

</ns0:Document>

 

this is the condition:

Source Field :- <Document><ABC><TxInfAndSts><TxSts> --->

 

Pass value as is if <Document><ABC><OrgnlGrpInfAndSts><StsRsnInf><AddtlStsRsnInf> consists of “FACK”, “FBACK”, “F900” or “F199”

 

ELSE

 

 

  1. I. If ACSC, ACSP, ACTC, ACWC, ACCP then pass ACCP
  2. II. If RJCT, then pass RJCT

  If PDNG, then pass PDNG ----- Target Field.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>