Files correlati : Ricompilazione Demo : [ ] Commento : Riportata la versione 3.1 patch 650 git-svn-id: svn://10.65.10.50/trunk@14148 c028cbd2-c16b-5b4b-a496-9718f37d4682
258 lines
12 KiB
Plaintext
Executable File
258 lines
12 KiB
Plaintext
Executable File
|
|
<report name="pd6030100b" lpi="6">
|
|
<description>Scheda clienti - dati delle vendite</description>
|
|
<font face="Courier New" size="10" />
|
|
<section type="Head" width="130" height="3">
|
|
<field type="Stringa" width="80" pattern="1" text="DITTA">
|
|
<source>#SYSTEM.FIRM+" "+#SYSTEM.RAGSOC</source>
|
|
</field>
|
|
<field y="1" type="Testo" width="15" pattern="1" text="DATI ANAGRAFICI">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field x="80" y="1" type="Data" width="10" pattern="1">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
<source>#SYSTEM.DATE</source>
|
|
</field>
|
|
<field border="2" y="2.5" type="Linea" width="90" height="0" pattern="1" />
|
|
</section>
|
|
<section type="Head" level="1" />
|
|
<section type="Body" />
|
|
<section type="Body" level="1" height="60" page_break="1">
|
|
<field type="Stringa" width="8" pattern="1">
|
|
<source>IF(CLIFO.TIPOCF=='C', "CLIENTE", "FORNITORE")</source>
|
|
</field>
|
|
<field x="35" type="Stringa" width="6" pattern="1">
|
|
<source>CLIFO.CODCF</source>
|
|
</field>
|
|
<field x="9" y="1" type="Testo" width="25" pattern="1" text="Ragione sociale" />
|
|
<field x="35" y="1" type="Stringa" width="50" pattern="1">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
<source>CLIFO.RAGSOC</source>
|
|
</field>
|
|
<field x="9" y="2" type="Testo" width="25" pattern="1" text="Indirizzo" />
|
|
<field x="35" y="2" type="Stringa" width="35" pattern="1">
|
|
<source>CLIFO.INDCF+", "+CLIFO.CIVCF</source>
|
|
</field>
|
|
<field x="9" y="3" type="Testo" width="25" pattern="1" text="CAP Comune e provincia" />
|
|
<field x="35" y="3" type="Stringa" width="5" pattern="1">
|
|
<source>CLIFO.CAPCF</source>
|
|
</field>
|
|
<field x="41" y="3" type="Stringa" width="50" pattern="1">
|
|
<source>COMUNI.DENCOM+" "+COMUNI.PROVCOM</source>
|
|
</field>
|
|
<field x="9" y="5" type="Testo" width="25" pattern="1" text="Codice fiscale" />
|
|
<field x="35" y="5" type="Stringa" width="16" pattern="1">
|
|
<source>CLIFO.COFI</source>
|
|
</field>
|
|
<field x="9" y="6" type="Testo" width="25" pattern="1" text="Partita IVA" />
|
|
<field x="35" y="6" type="Stringa" width="12" pattern="1">
|
|
<source>CLIFO.PAIV</source>
|
|
</field>
|
|
<field x="9" y="7" type="Testo" width="25" pattern="1" text="Referente" />
|
|
<field x="35" y="7" type="Stringa" width="50" pattern="1">
|
|
<source>CLIFO.REFERENTE</source>
|
|
</field>
|
|
<field x="9" y="8" type="Testo" width="25" pattern="1" text="Telefono" />
|
|
<field x="35" y="8" type="Stringa" width="40" pattern="1">
|
|
<source>CLIFO.PTEL+" "+CLIFO.TEL</source>
|
|
</field>
|
|
<field x="9" y="9" type="Testo" width="25" pattern="1" text="Telefono" />
|
|
<field x="35" y="9" type="Stringa" width="40" pattern="1">
|
|
<source>CLIFO.PTEL2+" "+CLIFO.TEL2</source>
|
|
</field>
|
|
<field x="9" y="10" type="Testo" width="25" pattern="1" text="Telefono" />
|
|
<field x="35" y="10" type="Stringa" width="40" pattern="1">
|
|
<source>CLIFO.PTEL3+" "+CLIFO.TEL3</source>
|
|
</field>
|
|
<field x="9" y="11" type="Testo" width="25" pattern="1" text="Fax" />
|
|
<field x="35" y="11" type="Stringa" width="40" pattern="1">
|
|
<source>CLIFO.PFAX+" "+CLIFO.FAX</source>
|
|
</field>
|
|
<field x="9" y="12" type="Testo" width="25" pattern="1" text="E-Mail" />
|
|
<field x="35" y="12" type="Stringa" width="50" pattern="1">
|
|
<source>CLIFO.MAIL</source>
|
|
</field>
|
|
<field x="9" y="13" type="Testo" width="25" pattern="1" text="Pagamento" />
|
|
<field x="35" y="13" type="Stringa" width="55" pattern="1">
|
|
<source>CODPAG</source>
|
|
<prescript description="B1.0 PRESCRIPT">MESSAGE TABLEREAD,%CPG,CODPAG,S0</prescript>
|
|
</field>
|
|
<field x="9" y="14" type="Testo" width="25" pattern="1" text="Codice ABI" />
|
|
<field x="35" y="14" type="Stringa" align="right" width="5" pattern="1">
|
|
<source>CLIFO.CODABI</source>
|
|
</field>
|
|
<field x="41" y="14" type="Stringa" width="50" pattern="1">
|
|
<source>CODABI</source>
|
|
<prescript description="B1.0 PRESCRIPT">MESSAGE TABLEREAD,%BAN,CODABI,S0</prescript>
|
|
</field>
|
|
<field x="9" y="15" type="Testo" width="25" pattern="1" text="Codice CAB" />
|
|
<field x="35" y="15" type="Stringa" align="right" width="5" pattern="1">
|
|
<source>CLIFO.CODCAB</source>
|
|
</field>
|
|
<field x="41" y="15" type="Stringa" width="50" pattern="1">
|
|
<source>CODCAB</source>
|
|
<prescript description="B1.0 PRESCRIPT">MESSAGE TABLEREAD,%BAN,CODABI+CODCAB,S0</prescript>
|
|
</field>
|
|
<field x="9" y="16" type="Testo" width="25" pattern="1" text="Conto corrente" />
|
|
<field x="35" y="16" type="Stringa" width="20" pattern="1">
|
|
<source>CLIFO.NUMCC</source>
|
|
</field>
|
|
<field border="2" y="17.5" type="Linea" width="93" height="0" pattern="1" />
|
|
<field x="9" y="18" type="Testo" width="25" pattern="1" text="Ass. fiscale" />
|
|
<field x="35" y="18" type="Stringa" width="50" pattern="1">
|
|
<source>CFVEN.ASSFIS</source>
|
|
<prescript description="B1.0 PRESCRIPT">MESSAGE TABLEREAD,%IVA,CFVEN.ASSFIS,S0</prescript>
|
|
</field>
|
|
<field x="9" y="19" type="Testo" width="25" pattern="1" text="Vs. lettera esenzione" />
|
|
<field x="35" y="19" type="Stringa" width="7" pattern="1">
|
|
<source>CFVEN.VSNRPROT</source>
|
|
</field>
|
|
<field x="43" y="19" type="Data" width="15" pattern="1" text="del ">
|
|
<source>CFVEN.VSDATAREG</source>
|
|
</field>
|
|
<field x="9" y="20" type="Testo" width="25" pattern="1" text="Ns. lettera esenzione" />
|
|
<field x="35" y="20" type="Stringa" width="7" pattern="1">
|
|
<source>CFVEN.NSNPROT</source>
|
|
</field>
|
|
<field x="43" y="20" type="Data" width="15" pattern="1" text="del ">
|
|
<source>CFVEN.NSDATAREG</source>
|
|
</field>
|
|
<field x="9" y="21" type="Testo" width="25" pattern="1" text="Cod. mezzo" />
|
|
<field x="35" y="21" type="Stringa" width="50" pattern="1">
|
|
<source>CFVEN.CODSPMEZZO</source>
|
|
<prescript description="B1.0 PRESCRIPT">MESSAGE TABLEREAD,%MSP,CFVEN.CODSPMEZZO,S0</prescript>
|
|
</field>
|
|
<field x="9" y="22" type="Testo" width="25" pattern="1" text="Porto" />
|
|
<field x="35" y="22" type="Stringa" width="50" pattern="1">
|
|
<source>CFVEN.CODPORTO</source>
|
|
<prescript description="B1.0 PRESCRIPT">MESSAGE TABLEREAD,%POR,CFVEN.CODPORTO,S0</prescript>
|
|
</field>
|
|
<field x="9" y="23" type="Testo" width="25" pattern="1" text="Vettori" />
|
|
<field x="35" y="23" type="Stringa" width="60" pattern="1">
|
|
<source>110@.S0</source>
|
|
</field>
|
|
<field x="35" y="24" type="Stringa" width="60" pattern="1">
|
|
<source>110@.S1[1,35]+110@.S1[36,45]</source>
|
|
</field>
|
|
<field x="35" y="25" type="Stringa" width="5" pattern="1">
|
|
<source>110@.S7</source>
|
|
</field>
|
|
<field x="41" y="25" type="Stringa" width="50" pattern="1">
|
|
<source>111@.DENCOM+" "+111@.PROVCOM</source>
|
|
</field>
|
|
<field x="35" y="26" type="Stringa" width="60" pattern="1">
|
|
<source>"TEL. " +110@.S5[1,10]+" "+110@.S3+" - FAX. "+110@.S5[11,20]+" "+110@.S4</source>
|
|
</field>
|
|
<field x="9" y="27" type="Testo" width="25" pattern="1" text="Spese incasso" />
|
|
<field x="35" y="27" type="Stringa" width="2" pattern="1">
|
|
<source>IF(CFVEN.ADDBOLLI=='X',"SI","NO")</source>
|
|
</field>
|
|
<field x="9" y="28" type="Testo" width="25" pattern="1" text="Spese da addebitare" />
|
|
<field x="35" y="28" type="Stringa" width="60" height="2" pattern="1">
|
|
<source>104@.S0+" "+105@.S0+" "+106@.S0+" "+107@.S0</source>
|
|
</field>
|
|
<field x="9" y="30" type="Testo" width="25" pattern="1" text="Cod. ABI p.e." />
|
|
<field x="35" y="30" type="Stringa" align="right" width="5" pattern="1">
|
|
<source>CFVEN.CODABIPR</source>
|
|
</field>
|
|
<field x="9" y="31" type="Testo" width="25" pattern="1" text="Cod. CAB p.e." />
|
|
<field x="35" y="31" type="Stringa" align="right" width="5" pattern="1">
|
|
<source>CFVEN.CODCABPR</source>
|
|
</field>
|
|
<field x="9" y="32" type="Testo" width="25" pattern="1" text="Effetti non acc." />
|
|
<field x="35" y="32" type="Stringa" width="50" pattern="1">
|
|
<source>CFVEN.NONACCEFF</source>
|
|
</field>
|
|
<field x="9" y="33" type="Testo" width="25" pattern="1" text="Scadenza effetti" />
|
|
<field x="9" y="34" type="Testo" width="25" pattern="1" text="Note documento" />
|
|
<field x="35" y="34" type="Stringa" width="50" pattern="1">
|
|
<source>CFVEN.CODNOTESP1</source>
|
|
<prescript description="B1.0 PRESCRIPT">MESSAGE TABLEREAD,%NDO,CFVEN.CODNOTESP1,S0</prescript>
|
|
</field>
|
|
<field x="35" y="35" type="Stringa" width="50" pattern="1">
|
|
<source>CFVEN.CODNOTESP2</source>
|
|
<prescript description="B1.0 PRESCRIPT">MESSAGE TABLEREAD,%NDO,CFVEN.CODNOTESP2,S0</prescript>
|
|
</field>
|
|
<field x="9" y="36" type="Testo" width="25" pattern="1" text="Agente" />
|
|
<field x="35" y="36" type="Stringa" width="5" pattern="1">
|
|
<source>CFVEN.CODAG</source>
|
|
</field>
|
|
<field x="9" y="37" type="Testo" width="25" pattern="1" text="Provvigione" />
|
|
<field x="35" y="37" type="Numero" align="right" width="10" pattern="1" hide_zero="1">
|
|
<source>CFVEN.PERCPROVV</source>
|
|
</field>
|
|
<field border="2" y="38.5" type="Linea" width="90" height="0" pattern="1" />
|
|
<field x="9" y="39" type="Testo" width="25" pattern="1" text="Indirizzo di spedizione">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field border="2" y="40.5" type="Linea" width="90" height="0" pattern="1" />
|
|
<field x="9" y="41" type="Stringa" width="50" pattern="1">
|
|
<source>200@.RAGSOC</source>
|
|
</field>
|
|
<field x="9" y="42" type="Stringa" width="35" pattern="1">
|
|
<source>200@.INDIR+" "+200@.CIV</source>
|
|
</field>
|
|
<field x="9" y="43" type="Stringa" width="5" pattern="1">
|
|
<source>200@.CAP</source>
|
|
</field>
|
|
<field x="15" y="43" type="Stringa" width="50" pattern="1">
|
|
<source>300@.DENCOM+" "+300@.PROVCOM</source>
|
|
</field>
|
|
<field x="9" y="44" type="Stringa" width="35" pattern="1">
|
|
<source>200@.LOCALITA</source>
|
|
</field>
|
|
<field x="9" y="45" type="Testo" width="25" pattern="1" text="Telefono" />
|
|
<field x="18" y="45" type="Stringa" width="40" pattern="1">
|
|
<source>200@.PTEL+200@.TEL</source>
|
|
</field>
|
|
<field x="9" y="46" type="Testo" width="25" pattern="1" text="Fax" />
|
|
<field x="18" y="46" type="Stringa" width="40" pattern="1">
|
|
<source>200@.PFAX+200@.FAX</source>
|
|
</field>
|
|
<field border="2" y="47.5" type="Linea" width="90" height="0" pattern="1" />
|
|
<field x="9" y="48" type="Testo" width="25" pattern="1" text="Indirizzo documento">
|
|
<font face="Courier New" bold="1" size="10" />
|
|
</field>
|
|
<field border="2" y="49.5" type="Linea" width="90" height="0" pattern="1" />
|
|
<field x="9" y="50" type="Stringa" width="50" pattern="1">
|
|
<source>400@.RAGSOC</source>
|
|
</field>
|
|
<field x="9" y="51" type="Stringa" width="35" pattern="1">
|
|
<source>400@.INDIR+" "+400@.CIV</source>
|
|
</field>
|
|
<field x="9" y="52" type="Stringa" width="5" pattern="1">
|
|
<source>400@.CAP</source>
|
|
</field>
|
|
<field x="15" y="52" type="Stringa" width="50" pattern="1">
|
|
<source>500@.DENCOM+" "+500@.PROVCOM</source>
|
|
</field>
|
|
<field x="9" y="53" type="Stringa" width="35" pattern="1">
|
|
<source>400@.LOCALITA</source>
|
|
</field>
|
|
<field x="9" y="54" type="Testo" width="25" pattern="1" text="Telefono" />
|
|
<field x="18" y="54" type="Stringa" width="40" pattern="1">
|
|
<source>400@.PTEL+400@.TEL</source>
|
|
</field>
|
|
<field x="9" y="55" type="Testo" width="25" pattern="1" text="Fax" />
|
|
<field x="18" y="55" type="Stringa" width="40" pattern="1">
|
|
<source>400@.PFAX+400@.FAX</source>
|
|
</field>
|
|
</section>
|
|
<section type="Foot" />
|
|
<section type="Foot" level="1" />
|
|
<sql>USE CLIFO KEY #F_PD6030_SORT
|
|
JOIN COMUNI INTO STATO==STATOCF COM==COMCF
|
|
JOIN CFVEN INTO TIPOCF==TIPOCF CODCF==CODCF
|
|
JOIN SPP TO CFVEN ALIAS 104 INTO CODTAB==CODSP1
|
|
JOIN SPP TO CFVEN ALIAS 105 INTO CODTAB==CODSP2
|
|
JOIN SPP TO CFVEN ALIAS 106 INTO CODTAB==CODSP3
|
|
JOIN SPP TO CFVEN ALIAS 107 INTO CODTAB==CODSP4
|
|
JOIN %VET TO CFVEN ALIAS 110 INTO CODTAB==CODVETT1
|
|
JOIN COMUNI TO 110@ ALIAS 111 INTO STATO==S8 COM==S9
|
|
JOIN INDSPED TO CFVEN ALIAS 200 INTO TIPOCF==TIPOCF CODCF==CODCF CODIND==CODINDSP
|
|
JOIN COMUNI TO 200@ ALIAS 300 INTO STATO==STATO COM==COM
|
|
JOIN INDSPED TO CFVEN ALIAS 400 INTO TIPOCF==TIPOCF CODCF==CODCF CODIND==CODINDDOC
|
|
JOIN COMUNI TO 400@ ALIAS 500 INTO STATO==STATO COM==COM
|
|
FROM TIPOCF=#F_PD6030_TYPE CODCF=#DACODCF RAGSOC=#DARAGSOC
|
|
TO TIPOCF=#F_PD6030_TYPE CODCF=#ACODCF RAGSOC=#ARAGSOC</sql>
|
|
</report> |