201 lines
8.4 KiB
Plaintext
201 lines
8.4 KiB
Plaintext
|
<?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" />
|
||
|
<section type="Head" level="1" />
|
||
|
<section type="Head" level="2">
|
||
|
<groupby>CODCF</groupby>
|
||
|
</section>
|
||
|
<section type="Head" level="3" page_break="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="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">
|
||
|
<source>166.DOTIN</source>
|
||
|
</field>
|
||
|
<field x="72" 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">
|
||
|
<source>166.DOTTM</source>
|
||
|
</field>
|
||
|
<field x="1" 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">
|
||
|
<source>IF(#F_TOT=='X';' ';'Num.Doc.')</source>
|
||
|
</field>
|
||
|
<field x="31" y="13.25" type="Stringa" width="12" pattern="1">
|
||
|
<source>IF(#F_TOT=='X';' ';'Data Doc.')</source>
|
||
|
</field>
|
||
|
<field x="41.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">
|
||
|
<source>IF(#F_TOT=='X';' ';'')</source>
|
||
|
</field>
|
||
|
<field x="76.5" y="13.25" type="Testo" width="16" 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">
|
||
|
<source>TRIM(34.CODART) + "-" + TRIM(47.DESCR)</source>
|
||
|
</field>
|
||
|
</section>
|
||
|
<section type="Body" />
|
||
|
<section type="Body" level="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="61" 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">
|
||
|
<source>34.QTA</source>
|
||
|
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F3.2000</prescript>
|
||
|
</field>
|
||
|
</section>
|
||
|
<section type="Body" level="2">
|
||
|
<condition>#F_TOT=='X'</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">
|
||
|
<source>33.TIPODOC</source>
|
||
|
</field>
|
||
|
<field x="11" 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">
|
||
|
<source>33.NDOC</source>
|
||
|
</field>
|
||
|
<field x="30" 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" />
|
||
|
<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">
|
||
|
<font face="Courier New" bold="1" size="10" />
|
||
|
</field>
|
||
|
<field x="76" y="1" type="Numero" align="right" width="15" id="2000" pattern="1">
|
||
|
<font face="Courier New" bold="1" size="10" />
|
||
|
</field>
|
||
|
</section>
|
||
|
<sql>USE 34 KEY 5
|
||
|
SELECT (BETWEEN(33.TIPODOC,#F_TIPODOC,#F_TIPODOC)(34.CODART!='')(BETWEEN(33.CODCF,#F_CODCF,#F_CODCF))(BETWEEN(34.CODNUM,#F_CODNUM,#F_CODNUM))(BETWEEN(33.DATADOC,#F_DATADOC_DA,#F_DATADOC_A))(BETWEEN(34.CODART,#F_CODART,#F_CODART))(BETWEEN(34.CODAGG1,#F_CODAGG1,#F_CODAGG1)))
|
||
|
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>
|
||
|
</report>
|