235 lines
10 KiB
XML
Executable File
235 lines
10 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<report libraries="ve1300" name="lv0700a" lpi="6">
|
|
<description>Interrogazione Cliente\Articolo</description>
|
|
<font face="Courier New" size="10" />
|
|
<section type="Head" pattern="1" />
|
|
<section type="Head" level="1" pattern="1" />
|
|
<section type="Head" level="2" pattern="1">
|
|
<groupby>CODCF</groupby>
|
|
</section>
|
|
<section type="Head" level="3" page_break="1" pattern="1">
|
|
<groupby>34.CODART</groupby>
|
|
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.1000
|
|
MESSAGE RESET,F3.2000</prescript>
|
|
<field x="27" y="0.75" type="Testo" width="40" height="2" pattern="1" text="Stampa Cliente\Articolo">
|
|
<font face="Courier New" bold="1" size="14" />
|
|
</field>
|
|
<field x="1" y="1" type="Testo" width="12" pattern="1" text="Data Elab.:" />
|
|
<field x="12" y="1" type="Stringa" width="12" pattern="1">
|
|
<prescript description="H3.0 PRESCRIPT">MESSAGE _TODAY</prescript>
|
|
</field>
|
|
<field x="72" y="1" type="Testo" width="6" pattern="1" text="Pag.:" />
|
|
<field x="77" y="1" type="Stringa" width="12" pattern="1">
|
|
<prescript description="H3.0 PRESCRIPT">MESSAGE _PAGENO</prescript>
|
|
</field>
|
|
<field border="2" x="0.5" y="3.5" type="Rettangolo" width="92" height="7" pattern="1" />
|
|
<field x="1" y="4" type="Testo" width="10" pattern="1" text="Cliente:">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field x="13" y="4" type="Numero" align="right" width="6" pattern="1">
|
|
<source>#F_CODCF</source>
|
|
</field>
|
|
<field x="20" y="4" type="Stringa" width="50" pattern="1">
|
|
<source>#F_RAGSOC</source>
|
|
</field>
|
|
<field x="1" y="5" type="Testo" width="10" pattern="1" text="Articolo:">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field x="13" y="5" type="Stringa" width="20" pattern="1">
|
|
<source>#F_CODART</source>
|
|
</field>
|
|
<field x="34" y="5" type="Stringa" width="50" pattern="1">
|
|
<source>#F_DESART</source>
|
|
</field>
|
|
<field x="1" y="6" type="Testo" width="10" pattern="1" text="Cau.Lav.:">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field x="13" y="6" type="Stringa" width="4" pattern="1">
|
|
<source>#F_CODAGG1</source>
|
|
</field>
|
|
<field x="18" y="6" type="Stringa" width="50" pattern="1">
|
|
<source>#F_DESCODAGG1</source>
|
|
</field>
|
|
<field x="1" y="7" type="Testo" width="12" pattern="1" text="Numerazione:">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field x="13" y="7" type="Stringa" width="4" pattern="1">
|
|
<source>#F_CODNUM</source>
|
|
</field>
|
|
<field x="18" y="7" type="Stringa" width="50" pattern="1">
|
|
<source>#F_DESCODNUM</source>
|
|
</field>
|
|
<field x="1" y="8" type="Testo" width="10" pattern="1" text="Tipo:">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field x="13" y="8" type="Stringa" width="4" pattern="1">
|
|
<source>#F_TIPODOC</source>
|
|
</field>
|
|
<field x="18" y="8" type="Stringa" width="50" pattern="1">
|
|
<source>#F_DESTIPODOC</source>
|
|
</field>
|
|
<field x="1" y="9" type="Testo" width="10" pattern="1" text="Da Data:">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field x="13" y="9" type="Data" width="10" pattern="1">
|
|
<source>#F_DATADOC_DA</source>
|
|
</field>
|
|
<field x="25" y="9" type="Testo" width="10" pattern="1" text="a Data:">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field x="32.5" y="9" type="Data" width="10" pattern="1">
|
|
<source>#F_DATADOC_A</source>
|
|
</field>
|
|
<field x="46" y="9" type="Testo" width="12" pattern="1" text="Solo Totali:">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field x="58" y="9" type="Stringa" width="3" pattern="1">
|
|
<source>IF(#F_TOT=='X';'Si';'No')</source>
|
|
</field>
|
|
<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="51.5" y="12" type="Numero" align="right" width="10" pattern="1">
|
|
<source>166.DOTOD</source>
|
|
</field>
|
|
<field x="62" y="12" type="Numero" align="right" width="10" pattern="1">
|
|
<source>166.DOTTM</source>
|
|
</field>
|
|
<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="16.5" y="13.25" type="Stringa" align="right" width="10" pattern="1">
|
|
<source>IF(#F_TOT=='X';' ';'Num.Doc.')</source>
|
|
</field>
|
|
<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="40.5" y="13.25" type="Stringa" width="12" pattern="1">
|
|
<source>IF(#F_TOT=='X';' ';'Caus.Lav.')</source>
|
|
</field>
|
|
<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="62" y="13.25" type="Testo" align="right" width="15" pattern="1" text="Qta Consegnata">
|
|
<source>IF(#F_TOT=='X';' ';'')</source>
|
|
</field>
|
|
<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" pattern="1" />
|
|
<section type="Body" level="1" pattern="1">
|
|
<condition>(#F_TOT!='X' )</condition>
|
|
<field x="2" type="Stringa" width="4" pattern="1">
|
|
<source>33.CODNUM</source>
|
|
</field>
|
|
<field x="7" type="Stringa" width="4" pattern="1">
|
|
<source>33.TIPODOC</source>
|
|
</field>
|
|
<field x="12" type="Numero" width="4" pattern="1">
|
|
<source>33.ANNO</source>
|
|
</field>
|
|
<field x="20" type="Numero" width="10" pattern="1">
|
|
<source>33.NDOC</source>
|
|
</field>
|
|
<field x="31" type="Data" width="10" pattern="1">
|
|
<source>33.DATADOC</source>
|
|
</field>
|
|
<field x="42.5" type="Stringa" width="4" pattern="1">
|
|
<source>34.CODAGG1</source>
|
|
</field>
|
|
<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="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)*SCONTOF;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" pattern="1">
|
|
<condition>(#F_TOT=='X' )</condition>
|
|
<field x="1" type="Stringa" hidden="1" width="4" pattern="1">
|
|
<source>33.CODNUM</source>
|
|
</field>
|
|
<field x="5.5" type="Stringa" hidden="1" width="4" pattern="1">
|
|
<source>33.TIPODOC</source>
|
|
</field>
|
|
<field x="10" type="Numero" hidden="1" align="right" width="4" pattern="1">
|
|
<source>33.ANNO</source>
|
|
</field>
|
|
<field x="16.5" type="Numero" hidden="1" align="right" width="10" pattern="1">
|
|
<source>33.NDOC</source>
|
|
</field>
|
|
<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">
|
|
<source>34.CODAGG1</source>
|
|
</field>
|
|
<field x="60" type="Numero" hidden="1" align="right" width="13" pattern="1">
|
|
<source>34.QTAGG1</source>
|
|
<prescript description="B2.0 PRESCRIPT">MESSAGE ADD,F3.1000</prescript>
|
|
</field>
|
|
<field x="75" type="Numero" hidden="1" align="right" width="15" pattern="1">
|
|
<source>34.QTA</source>
|
|
<prescript description="B2.0 PRESCRIPT">MESSAGE ADD,F3.2000</prescript>
|
|
</field>
|
|
</section>
|
|
<section type="Foot" pattern="1" />
|
|
<section type="Foot" level="1" pattern="1" />
|
|
<section type="Foot" level="2" pattern="1" />
|
|
<section type="Foot" level="3" 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="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>
|
|
<sql>USE 34 KEY 2
|
|
SELECT (BETWEEN(33.TIPODOC,#F_TIPODOC,#F_TIPODOC)(BETWEEN(33.CODCF,#F_CODCF,#F_CODCF))(BETWEEN(33.DATADOC,#F_DATADOC_DA,#F_DATADOC_A))(BETWEEN(34.CODAGG1,#F_CODAGG1,#F_CODAGG1)))
|
|
BY 33.CODCF 34.CODART 33.DATADOC
|
|
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
|
|
JOIN 169 TO 34 INTO CODCF==#F_CODCF CODART==CODART CODCONT='1'
|
|
JOIN CAU TO 34 INTO CODTAB==CODAGG1
|
|
JOIN %CAU TO CAU ALIAS 104 INTO COD==COD CODTAB==S1
|
|
JOIN %CAU TO CAU ALIAS 204 INTO COD==COD CODTAB==S2
|
|
FROM CODNUM=#F_CODNUM ANNO=#F_ANNO PROVV='D' CODART=#FROM
|
|
TO CODNUM=#F_CODNUM ANNO=#F_ANNO PROVV='D' CODART=#TO</sql>
|
|
</report> |