Patch level : 10.0 780

Files correlati     : lv0700a.rep
Ricompilazione Demo : [ ]
Commento            : eliminate righe di documento che non movimentavano ne consegnato ne ritirato (la richiesta chiedeva di eliminare le righe "di cui ..."), rimane comunque la stampa della pagina per gli articoli che compaiono nei documenti con solo righe di questo tipo (non si riesce per ora a togliere)


git-svn-id: svn://10.65.10.50/trunk@20620 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 2010-06-22 14:19:58 +00:00
parent 40bc39e13d
commit b40e60d6af

View File

@ -86,45 +86,59 @@ MESSAGE RESET,F3.2000</prescript>
<field x="58" y="9" type="Stringa" width="3" pattern="1">
<source>IF(#F_TOT=='X';'Si';'No')</source>
</field>
<field x="1" y="11" type="Testo" width="10" pattern="1" text="Articolo:" />
<field x="50" y="11" type="Testo" width="10" pattern="1" text="Dotazione:" />
<field x="61" y="11" type="Testo" align="right" width="10" pattern="1" text="Iniziale" />
<field x="72" y="11" type="Testo" align="right" width="10" pattern="1" text="Odierna" />
<field x="82.5" y="11" type="Testo" align="right" width="10" pattern="1" text="Temp." />
<field x="61" y="12" type="Numero" align="right" width="10" pattern="1">
<field x="0.5" y="11" type="Testo" width="10" pattern="1" text="Articolo:" />
<field x="30" y="11" type="Testo" width="10" pattern="1" text="Dotazione:" />
<field x="41" y="11" type="Testo" align="right" width="10" pattern="1" text="Iniziale" />
<field x="51.5" y="11" type="Testo" align="right" width="10" pattern="1" text="Odierna" />
<field x="62" y="11" type="Testo" align="right" width="10" pattern="1" text="Temp." />
<field x="72.5" y="11" type="Testo" align="right" width="10" pattern="1" text="dt Inizio" />
<field x="83" y="11" type="Testo" align="right" width="10" pattern="1" text="dt Fine" />
<field x="41" y="12" type="Numero" align="right" width="10" pattern="1">
<source>166.DOTIN</source>
</field>
<field x="72" y="12" type="Numero" align="right" width="10" pattern="1">
<field x="51.5" y="12" type="Numero" align="right" width="10" pattern="1">
<source>166.DOTOD</source>
</field>
<field x="82.5" y="12" type="Numero" align="right" width="10" pattern="1">
<field x="62" y="12" type="Numero" align="right" width="10" pattern="1">
<source>166.DOTTM</source>
</field>
<field x="1" y="13.25" type="Stringa" width="15" pattern="1">
<field x="72.5" y="12" type="Data" align="right" width="10" pattern="1">
<source>169.INDTTMP</source>
</field>
<field x="83" y="12" type="Data" align="right" width="10" pattern="1">
<source>169.FIDTTMP</source>
</field>
<field x="78.5" y="13" type="Testo" align="right" width="14" pattern="1" text="Importo Netto">
<source>IF(#F_TOT=='X';' ';'')</source>
</field>
<field x="1.5" y="13.25" type="Stringa" width="15" pattern="1">
<source>IF(#F_TOT=='X';' ';'Num. Tipo Anno')</source>
</field>
<field x="20" y="13.25" type="Stringa" width="12" pattern="1">
<field x="16.5" y="13.25" type="Stringa" align="right" width="10" pattern="1">
<source>IF(#F_TOT=='X';' ';'Num.Doc.')</source>
</field>
<field x="31" y="13.25" type="Stringa" width="12" pattern="1">
<field x="28.5" y="13.25" type="Stringa" align="right" width="10.5" pattern="1">
<source>IF(#F_TOT=='X';' ';'Data Doc.')</source>
</field>
<field x="41.5" y="13.25" type="Stringa" width="12" pattern="1">
<field x="40.5" y="13.25" type="Stringa" width="12" pattern="1">
<source>IF(#F_TOT=='X';' ';'Caus.Lav.')</source>
</field>
<field x="62" y="13.25" type="Testo" width="12" pattern="1" text="Qta Ritirata">
<field x="50.5" y="13.25" type="Testo" align="right" width="12" pattern="1" text="Qta Ritirata">
<source>IF(#F_TOT=='X';' ';'')</source>
</field>
<field x="76.5" y="13.25" type="Testo" width="16" pattern="1" text="Qta Consegnata">
<field x="62" y="13.25" type="Testo" align="right" width="15" pattern="1" text="Qta Consegnata">
<source>IF(#F_TOT=='X';' ';'')</source>
</field>
<field x="1" y="12" type="Stringa" width="59" id="1000" pattern="1">
<field x="0.5" y="12" type="Stringa" width="40.5" id="1000" pattern="1">
<source>TRIM(34.CODART) + "-" + TRIM(47.DESCR)</source>
</field>
<field y="14.25" type="Stringa" hidden="1" width="10" id="1001" pattern="1">
<prescript description="H3.1001 PRESCRIPT">MESSAGE RESET,F3.3000</prescript>
</field>
</section>
<section type="Body" />
<section type="Body" level="1">
<condition>#F_TOT!='X'</condition>
<condition>(#F_TOT!='X' )&#26;&#26;(((B1.201!='0')&#26;&#26;(B1.201!=''))||((B1.202!='0')&#26;&#26;(B1.202!='')))</condition>
<field x="2" type="Stringa" width="4" pattern="1">
<source>33.CODNUM</source>
</field>
@ -143,30 +157,40 @@ MESSAGE RESET,F3.2000</prescript>
<field x="42.5" type="Stringa" width="4" pattern="1">
<source>34.CODAGG1</source>
</field>
<field x="61" type="Numero" align="right" width="13" pattern="1">
<field x="49.5" type="Numero" align="right" width="13" pattern="1">
<source>34.QTAGG1</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F3.1000</prescript>
</field>
<field x="76" type="Numero" align="right" width="15" pattern="1">
<field x="64" type="Numero" align="right" width="13" pattern="1">
<source>34.QTA</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F3.2000</prescript>
</field>
<field x="77.5" type="Numero" align="right" width="15" pattern="1" hide_zero="1" text="#########,@@">
<source>(34.PREZZO*34.QTA)-((34.PREZZO*34.QTA)*SCONTO&#2F;100)</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F3.3000</prescript>
</field>
<field x="94" type="Stringa" hidden="1" width="1" id="201" pattern="1">
<source>104@.S2[31,31]</source>
</field>
<field x="97" type="Stringa" hidden="1" width="1" id="202" pattern="1">
<source>204@.S2[31,31]</source>
</field>
</section>
<section type="Body" level="2">
<condition>#F_TOT=='X'</condition>
<condition>(#F_TOT=='X' )&#26;&#26;(((B1.201!='0')&#26;&#26;(B1.201!=''))||((B1.202!='0')&#26;&#26;(B1.202!='')))</condition>
<field x="1" type="Stringa" hidden="1" width="4" pattern="1">
<source>33.CODNUM</source>
</field>
<field x="6" type="Stringa" hidden="1" width="4" pattern="1">
<field x="5.5" type="Stringa" hidden="1" width="4" pattern="1">
<source>33.TIPODOC</source>
</field>
<field x="11" type="Numero" hidden="1" align="right" width="4" pattern="1">
<field x="10" type="Numero" hidden="1" align="right" width="4" pattern="1">
<source>33.ANNO</source>
</field>
<field x="19" type="Numero" hidden="1" align="right" width="10" pattern="1">
<field x="16.5" type="Numero" hidden="1" align="right" width="10" pattern="1">
<source>33.NDOC</source>
</field>
<field x="30" type="Data" hidden="1" width="10" pattern="1">
<field x="26.5" type="Data" hidden="1" width="10" pattern="1">
<source>33.DATADOC</source>
</field>
<field x="41.5" type="Stringa" hidden="1" width="4" pattern="1">
@ -185,10 +209,13 @@ MESSAGE RESET,F3.2000</prescript>
<section type="Foot" level="1" />
<section type="Foot" level="2" />
<section type="Foot" level="3">
<field x="61" y="1" type="Numero" align="right" width="13" id="1000" pattern="1">
<field x="49.5" y="1" type="Numero" align="right" width="13" id="1000" pattern="1">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="76" y="1" type="Numero" align="right" width="15" id="2000" pattern="1">
<field x="62" y="1" type="Numero" align="right" width="15" id="2000" pattern="1">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="77.5" y="1" type="Numero" align="right" width="15" id="3000" pattern="1">
<font face="Courier New" bold="1" size="10" />
</field>
</section>
@ -197,5 +224,11 @@ SELECT (BETWEEN(33.TIPODOC,#F_TIPODOC,#F_TIPODOC)&#26;&#26;(34.CODART!='')&#26;&
JOIN 33 INTO CODNUM==CODNUM ANNO==ANNO PROVV==PROVV NDOC==NDOC
JOIN 20 TO 33 INTO TIPOCF==TIPOCF CODCF==CODCF
JOIN 47 TO 34 INTO CODART==CODART
JOIN 166 TO 34 INTO ANNOES==ANNO TIPOCF=="C" CODCF==#F_CODCF CODART==CODART </sql>
JOIN 166 TO 34 INTO ANNOES==ANNO TIPOCF=="C" CODCF==#F_CODCF CODART==CODART
JOIN 169 TO 34 INTO CODCF==#F_CODCF CODART==CODART CODCONT='1'
JOIN &#26;CAU TO 34 INTO CODTAB==CODAGG1
JOIN %CAU TO &#26;CAU ALIAS 104 INTO COD==COD CODTAB==S1
JOIN %CAU TO &#26;CAU ALIAS 204 INTO COD==COD CODTAB==S2
</sql>
</report>