You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Collaborative messaging framework: xml has a tag missed in the xml output

Summary:

When we run Generate and Transfer XML Transaction program once with New and 2nd time with Failed transaction parameter the output xml has one tag missed when we run first time

Before :

<Descrizione>PRS gloves 1 pair</Descrizione>
<Quantita>1.00</Quantita>
<UnitaMisura>Ea</UnitaMisura>
<PrezzoUnitario>300.00</PrezzoUnitario>
<PrezzoTotale>300.00</PrezzoTotale>
<AliquotaIVA>22.00</AliquotaIVA>

After:

<Descrizione>PRS gloves 1 pair</Descrizione>
<Quantita>1.00</Quantita>
<UnitaMisura>Ea</UnitaMisura>
<PrezzoUnitario>300.00</PrezzoUnitario>
<ScontoMaggiorazione>
<Tipo>SC</Tipo>
<Percentuale>300.00</Percentuale>
</ScontoMaggiorazione>

<PrezzoTotale>300.00</PrezzoTotale>
<AliquotaIVA>22.00</AliquotaIVA>

If you see tag ScontoMaggiorazione is displayed when we run with failed transaction

Logic in xsl file

<xsl:variable name='totlineamt'>
<xsl:value-of select="$current-group/tns:LineAmount"/>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!