Intervat 8.0: Mind the namespaces! (5)

Here's another update for Intervat 8.0 for an inconsitency in report 11307 regarding the namespace. These have been defined as text constants and these text constants have been translated, what caused the output with BE-FR (FRB) language have a wrong namespace.

How do you fix this?

  • Remove thee textconstants:
    • Text014@1010004
    • Text018@1010002
    • Text019@1010003
    • Text020@1010005
  1. Add a global variable: DocNameSpace@1010003 : Text[50];
  2. Make sure that everywhere in the document, Text018 is replaced with DocNameSpace.
  3. Before:

    LOCAL PROCEDURE AddHeader@1010007(...);
    BEGIN
    INTERVATHelper.AddAttribute(XMLCurrNode,'VATDeclarationsNbr','1');
    INTERVATHelper.AddAttribute(XMLCurrNode,'xsi:schemaLocation',Text020);
    INTERVATHelper.AddAttribute(XMLCurrNode,'xmlns',Text018);
    INTERVATHelper.AddAttribute(XMLCurrNode,'xmlns:common',Text019);
    INTERVATHelper.AddAttribute(XMLCurrNode,'xmlns:xsi',Text014);
    END;

       

    After:

    LOCAL PROCEDURE AddHeader@1010007(...);
    BEGIN
    DocNameSpace := 'http://www.minfin.fgov.be/VATConsignment';
    INTERVATHelper.AddAttribute(XMLCurrNode,'VATDeclarationsNbr','1');
    INTERVATHelper.AddAttribute(XMLCurrNode,'xsi:schemaLocation',DocNameSpace + ' NewTVA-in_v0_7.xsd');
    INTERVATHelper.AddAttribute(XMLCurrNode,'xmlns',DocNameSpace);
    INTERVATHelper.AddAttribute(XMLCurrNode,'xmlns:common','http://www.minfin.fgov.be/InputCommon');
    INTERVATHelper.AddAttribute(XMLCurrNode,'xmlns:xsi','http://www.w3.org/2001/XMLSchema-instance');
    END;

This is an official update, which should already have been communicated to all partners. But .. I didn't receive this communication myself officially (only the fact that it should have ... unofficially) .. so to be sure y'all have it .. here you go!

Disclaimer

To be official .. I'm not responsible for any info of this post .. check your contact at Microsoft (PAM or TSAM) to be sure. Smile

Links

I'm starting to have quite some updates on intervat. Let's summarize what I have written about it:

Comment List
Related
Recommended