UBL XML Export :(

yldstryldstr Member Posts: 3
How to export UBL XML ? (with cbc: , cac: and :ext tags )

I tried to export with XML DOM Management but i received the below error:

Microsoft Dynamics NAV
This message is for C/AL programmers:

The call to member createNode failed. msxml6.dll returned the following message:
undeclared namespace prefix : 'cbc'.


I must use below tags:

<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
</ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
<cbc:UBLVersionID>2.0</cbc:UBLVersionID>
<cbc:CustomizationID>TR1.0</cbc:CustomizationID>
<cbc:ProfileID>TEMELFATURA</cbc:ProfileID>
<cbc:ID>TST2013000000766</cbc:ID>
<cbc:CopyIndicator>false</cbc:CopyIndicator>
<cbc:UUID>96a8b0f1-7e10-4a44-8d78-eb961539bb4b</cbc:UUID>
<cbc:IssueDate>2013-06-19</cbc:IssueDate>
<cac:InvoiceTypeCode>SATIS</cbc:InvoiceTypeCode>
Sign In or Register to comment.