...
AddElement(XMLNodeCurr,'OrgId','','',XMLNewChild);
XMLNodeCurr := XMLNewChild;
AddElement(XMLNodeCurr,'TaxIdNb',FORMAT(DELCHR(CompanyInfo."VAT Registration No."),0,9),'',XMLNewChild);
END;
LOCAL PROCEDURE ExportPaymentInformation@1120001(XMLNodeCurr@1120000 : DotNet "'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNode");
VAR
XMLNewChild@1120001 : DotNet "'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNode";
...
...
AddElement(XMLNodeCurr,'OrgId','','',XMLNewChild);
XMLNodeCurr := XMLNewChild;
AddElement(XMLNodeCurr,'TaxIdNb',FORMAT(DELCHR(CompanyInfo."VAT Registration No."),0,9),'',XMLNewChild);
// Add the following lines.
XMLNodeCurr := XMLNodeCurr.ParentNode;
XMLNodeCurr := XMLNodeCurr.ParentNode;
XMLNodeCurr := XMLNodeCurr.ParentNode;
XMLNodeCurr := XMLNodeCurr.ParentNode;
// End of the lines.
END;
LOCAL PROCEDURE ExportPaymentInformation@1120001(XMLNodeCurr@1120000 : DotNet "'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNode");
VAR
XMLNewChild@1120001 : DotNet "'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNode";
...