TWYN#53699 fout in rapport budgetrapportage totaal en rubrieken
svn path=/Website/trunk/; revision=38351
This commit is contained in:
@@ -1920,8 +1920,8 @@
|
||||
<xsl:variable name="v_soortcode" select="SCODE"/>
|
||||
<xsl:variable name="v_opdrachtnr" select="MLD_OPDR_ORDERNR"/>
|
||||
|
||||
<xsl:variable name="v_mld_opdr_kosten" select="sum(//data_row[MLD_OPDR_ORDERNR = $v_opdrachtnr]/MLD_OPDR_KOSTEN)"/>
|
||||
<xsl:variable name="v_mld_opdr_kosten_btw" select="sum(//data_row[MLD_OPDR_ORDERNR = $v_opdrachtnr]/MLD_OPDR_KOSTEN_BTW)"/>
|
||||
<xsl:variable name="v_mld_opdr_kosten" select="sum(//data_row[MLD_OPDR_ORDERNR = $v_opdrachtnr and MLD_STATUSOPDR_KEY != 10]/MLD_OPDR_KOSTEN)"/>
|
||||
<xsl:variable name="v_mld_opdr_kosten_btw" select="sum(//data_row[MLD_OPDR_ORDERNR = $v_opdrachtnr and MLD_STATUSOPDR_KEY != 10]/MLD_OPDR_KOSTEN_BTW)"/>
|
||||
<xsl:variable name="v_mld_opdr_kosten_inc" select="$v_mld_opdr_kosten + $v_mld_opdr_kosten_btw"/>
|
||||
|
||||
<tr class="trline">
|
||||
@@ -1979,8 +1979,8 @@
|
||||
</xsl:for-each>
|
||||
|
||||
<!-- totaal per contractant -->
|
||||
<xsl:variable name="v_cont_gecontracteerd_exc" select="sum(//data_row[PRS_LEVERANCIER_NR=$v_bedrijf_nr]/MLD_OPDR_KOSTEN)"/>
|
||||
<xsl:variable name="v_cont_gecontracteerd_btw" select="sum(//data_row[PRS_LEVERANCIER_NR=$v_bedrijf_nr]/MLD_OPDR_KOSTEN_BTW)"/>
|
||||
<xsl:variable name="v_cont_gecontracteerd_exc" select="sum(//data_row[PRS_LEVERANCIER_NR=$v_bedrijf_nr and MLD_STATUSOPDR_KEY != 10]/MLD_OPDR_KOSTEN)"/>
|
||||
<xsl:variable name="v_cont_gecontracteerd_btw" select="sum(//data_row[PRS_LEVERANCIER_NR=$v_bedrijf_nr and MLD_STATUSOPDR_KEY != 10]/MLD_OPDR_KOSTEN_BTW)"/>
|
||||
<xsl:variable name="v_cont_gecontracteerd_inc" select="$v_cont_gecontracteerd_exc + $v_cont_gecontracteerd_btw"/>
|
||||
<xsl:variable name="v_cont_gefactureerd_exc" select="sum(//data_row[PRS_LEVERANCIER_NR=$v_bedrijf_nr]/FIN_FACTUUR_TOTAAL)"/>
|
||||
<xsl:variable name="v_cont_gefactureerd_btw" select="sum(//data_row[PRS_LEVERANCIER_NR=$v_bedrijf_nr]/FIN_FACTUUR_TOTAAL_BTW)"/>
|
||||
@@ -2023,8 +2023,8 @@
|
||||
</xsl:call-template>
|
||||
|
||||
|
||||
<xsl:variable name="v_gen_gecontracteerd_exc" select="sum(//data_row/MLD_OPDR_KOSTEN)"/>
|
||||
<xsl:variable name="v_gen_gecontracteerd_btw" select="sum(//data_row/MLD_OPDR_KOSTEN_BTW)"/>
|
||||
<xsl:variable name="v_gen_gecontracteerd_exc" select="sum(//data_row[MLD_STATUSOPDR_KEY != 10]/MLD_OPDR_KOSTEN)"/>
|
||||
<xsl:variable name="v_gen_gecontracteerd_btw" select="sum(//data_row[MLD_STATUSOPDR_KEY != 10]/MLD_OPDR_KOSTEN_BTW)"/>
|
||||
<xsl:variable name="v_gen_gecontracteerd_inc" select="$v_gen_gecontracteerd_exc + $v_gen_gecontracteerd_btw"/>
|
||||
<xsl:variable name="v_gen_gefactureerd_exc" select="sum(//data_row/FIN_FACTUUR_TOTAAL)"/>
|
||||
<xsl:variable name="v_gen_gefactureerd_btw" select="sum(//data_row/FIN_FACTUUR_TOTAAL_BTW)"/>
|
||||
|
||||
Reference in New Issue
Block a user