Quantcast
Channel: SCN: Message List - SAP Business One Integration Technology
Viewing all articles
Browse latest Browse all 973

Conditional xpath following B1 Object

$
0
0

I have the following message output after I call a B1 Object (atom17):


   </Payload><Payload Role="C" id="atom17" system="0010000109" status="success" b1login="Technical User" method="Synchronous Insert" objectid="59" payload="atom18"keyname="DocEntry" keyvalue="" DIresult="failure" DImsg="&#xA;Exception : DI Error: (-2028) No matching records found (ODBC -2028)"/>


The xml editor show the following xpath for the DIresult:


/Msg/Body/Payload[10]/@DIresult


I am trying get an expression for conditional processing.  The following should be close but B1if tells me the path is invalid:


/*[/vpf:Msg/vpf:Body/vpf:Payload[./@id='atom17']/@DIresult=‘failure’]


Can you tell me what the path should be or look like?


Viewing all articles
Browse latest Browse all 973

Trending Articles



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