Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Error with automation variabel?

$
0
0
I m getting an error,when try to create a automation variable..
Any solution ??
5nldnemnc0fj.png

Some code:

IF ISCLEAR(XMLDocIn) THEN
CREATE(XMLDocIn,TRUE,TRUE);
MESSAGE('3');
IF ISCLEAR(RootNode) THEN
CREATE(RootNode,TRUE,TRUE);
RootNode := XMLDocIn.documentElement;
IF FindNodes(RootNode, 's:Body/GenerateWayBillResponse/GenerateWayBillResult',
PointtoHeaderCaption) THEN BEGIN
PointtoHeaderCaption.reset;
PointtoHeaderContent := PointtoHeaderCaption.nextNode;
WHILE NOT ISCLEAR(PointtoHeaderContent) DO BEGIN
WITH LocAPIrequest DO BEGIN
IF FindNode(PointtoHeaderContent,'a:AWBNo',ReturnNode) THEN
IF ReturnNode.text <> '' THEN
AWBNo:=ReturnNode.text ELSE AWBNo:='';
IF FindNode(PointtoHeaderContent,'a:IsError',ReturnNode) THEN
IF ReturnNode.text <> '' THEN
IsErrorInWayBillGen:=ConvertToBoolean(ReturnNode.text);

RootCode is a automation variable of 'Microsoft XML, v3.0'.IXMLDOMNode..

Viewing all articles
Browse latest Browse all 10032

Trending Articles



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