210 lines
8.5 KiB
Plaintext
210 lines
8.5 KiB
Plaintext
|
|
||
|
<report libraries="ca3200a,ve1300" name="ca3200a" lpi="8">
|
||
|
<description>Mastrini CA movimentati</description>
|
||
|
<font face="Courier New" size="8" />
|
||
|
<section type="Head" height="6.5">
|
||
|
<font italic="1" face="Courier New" bold="1" size="8" />
|
||
|
<field x="1" type="Stringa" width="50" pattern="1">
|
||
|
<font italic="1" face="Courier New" bold="1" size="10" />
|
||
|
<source>#SYSTEM.RAGSOC</source>
|
||
|
</field>
|
||
|
<field x="80" type="Data" width="10" pattern="1">
|
||
|
<source>#SYSTEM.DATE</source>
|
||
|
</field>
|
||
|
<field x="165" type="Numero" align="right" width="3" pattern="1">
|
||
|
<source>#REPORT.PAGE</source>
|
||
|
</field>
|
||
|
<field x="1" y="1.5" type="Testo" width="4" pattern="1" text="CdC:" />
|
||
|
<field x="11" y="1.5" type="Stringa" width="23" pattern="1">
|
||
|
<source>CODCCOSTO</source>
|
||
|
<prescript description="H0.0 PRESCRIPT">CA_FORMAT_COSTO</prescript>
|
||
|
</field>
|
||
|
<field x="35" y="1.5" type="Stringa" width="50" pattern="1">
|
||
|
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,CDC,CODCOSTO=RMOVANA.CODCCOSTO,DESCRIZ</prescript>
|
||
|
</field>
|
||
|
<field x="1" y="3" type="Testo" width="9" pattern="1" text="Commessa:" />
|
||
|
<field x="11" y="3" type="Stringa" width="23" pattern="1">
|
||
|
<source>CODCMS</source>
|
||
|
<prescript description="H0.0 PRESCRIPT">CA_FORMAT_COMMESSA</prescript>
|
||
|
</field>
|
||
|
<field x="35" y="3" type="Stringa" width="50" pattern="1">
|
||
|
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=RMOVANA.CODCMS,DESCRIZ</prescript>
|
||
|
</field>
|
||
|
<field x="1" y="4.5" type="Testo" width="5" pattern="1" text="Fase:" />
|
||
|
<field x="11" y="4.5" type="Stringa" width="13" pattern="1">
|
||
|
<source>CODFASE</source>
|
||
|
<prescript description="H0.0 PRESCRIPT">CA_FORMAT_FASE</prescript>
|
||
|
</field>
|
||
|
<field x="35" y="4.5" type="Stringa" width="50" pattern="1">
|
||
|
<prescript description="H0.0 PRESCRIPT">MESSAGE ISAMREAD,FASI,CODFASE=RMOVANA.CODFASE,DESCRIZ</prescript>
|
||
|
</field>
|
||
|
<field border="2" x="1" y="6" type="Linea" width="167" height="0" pattern="1" />
|
||
|
</section>
|
||
|
<section type="Head" level="1" height="3">
|
||
|
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.101
|
||
|
MESSAGE RESET,F1.102</prescript>
|
||
|
<field border="1" radius="100" x="1" type="Testo" valign="center" align="center" shade_offset="25" width="167" height="2.5" text="MASTRINI DI CONTABILITA' ANALITICA">
|
||
|
<font face="Courier New" bold="1" size="16" />
|
||
|
</field>
|
||
|
</section>
|
||
|
<section repeat="1" type="Head" level="2" height="3">
|
||
|
<groupby>CODCONTO</groupby>
|
||
|
<font italic="1" face="Courier New" size="8" />
|
||
|
<field type="Testo" width="6" pattern="1" text="Conto:">
|
||
|
<font italic="1" face="Courier New" bold="1" size="8" />
|
||
|
</field>
|
||
|
<field x="7" type="Stringa" width="23" pattern="1">
|
||
|
<font italic="1" face="Courier New" bold="1" size="8" />
|
||
|
<source>CODCONTO</source>
|
||
|
<prescript description="H2.0 PRESCRIPT">CA_FORMAT_CONTO</prescript>
|
||
|
</field>
|
||
|
<field x="31" type="Stringa" width="50" pattern="1">
|
||
|
<font italic="1" face="Courier New" bold="1" size="8" />
|
||
|
<prescript description="H2.0 PRESCRIPT">MESSAGE ISAMREAD,PCONANA,CODCONTO=CODCONTO,DESCR</prescript>
|
||
|
</field>
|
||
|
<field x="12" y="1.5" type="Testo" align="center" width="11" pattern="1" text="N.Reg.F;Riga" />
|
||
|
<field x="24" y="1.5" type="Testo" width="11" pattern="1" text="Descrizione" />
|
||
|
<field x="43" y="1.5" type="Testo" width="10" pattern="1" text="Data Doc." />
|
||
|
<field x="54" y="1.5" type="Testo" width="6" pattern="1" text="N.Doc." />
|
||
|
<field x="63" y="1.5" type="Testo" width="7" pattern="1" text="Causale" />
|
||
|
<field x="97" y="1.5" type="Testo" align="right" width="4" pattern="1" text="Dare" />
|
||
|
<field x="112" y="1.5" type="Testo" align="right" width="5" pattern="1" text="Avere" />
|
||
|
<field x="121" y="1.5" type="Testo" align="right" width="12" pattern="1" text="Saldo progr." />
|
||
|
<field x="136" y="1.5" type="Testo" align="right" width="12" pattern="1" text="Saldo movim." />
|
||
|
<field x="152" y="1.5" type="Testo" align="right" width="12" pattern="1" text="Altro saldo" />
|
||
|
<field border="1" x="1" y="2.5" type="Linea" width="168" height="0" pattern="1" />
|
||
|
<field x="1" y="1.5" type="Testo" align="center" width="10" id="121" pattern="1" text="Data" />
|
||
|
</section>
|
||
|
<section type="Body" />
|
||
|
<section type="Body" level="1">
|
||
|
<field x="1" type="Data" width="10" pattern="1">
|
||
|
<source>MOVANA.DATACOMP</source>
|
||
|
</field>
|
||
|
<field x="12" type="Numero" align="right" width="7" pattern="1">
|
||
|
<source>NUMREG</source>
|
||
|
</field>
|
||
|
<field x="19" type="Testo" width="1" pattern="1" text="F;" />
|
||
|
<field x="20" type="Numero" align="right" width="3" pattern="1">
|
||
|
<source>NUMRIG</source>
|
||
|
</field>
|
||
|
<field x="24" type="Stringa" dynamic_height="1" width="17" height="3" pattern="1">
|
||
|
<source>DESCR</source>
|
||
|
</field>
|
||
|
<field x="43" type="Data" width="10" pattern="1">
|
||
|
<source>MOVANA.DATADOC</source>
|
||
|
</field>
|
||
|
<field x="54" type="Stringa" width="7" pattern="1">
|
||
|
<source>MOVANA.NUMDOC</source>
|
||
|
</field>
|
||
|
<field x="63" type="Stringa" width="3" pattern="1">
|
||
|
<source>MOVANA.CODCAUS</source>
|
||
|
</field>
|
||
|
<field x="67" type="Stringa" dynamic_height="1" width="17" height="3" pattern="1">
|
||
|
<prescript description="B1.0 PRESCRIPT">MESSAGE ISAMREAD,CAUS,CODCAUS=MOVANA.CODCAUS,DESCR</prescript>
|
||
|
</field>
|
||
|
<field x="86" type="Valuta" align="right" width="15" id="101" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||
|
<source>IMPORTO</source>
|
||
|
<prescript description="B1.101 PRESCRIPT">"RMOVANA.SEZIONE" @
|
||
|
"A" =
|
||
|
IF
|
||
|
0 #THIS !
|
||
|
THEN
|
||
|
</prescript>
|
||
|
<postscript description="B1.101 POSTSCRIPT">MESSAGE ADD,F1.101
|
||
|
MESSAGE ADD,F2.131</postscript>
|
||
|
</field>
|
||
|
<field x="102" type="Valuta" align="right" width="15" id="102" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||
|
<source>IMPORTO</source>
|
||
|
<prescript description="B1.102 PRESCRIPT">"RMOVANA.SEZIONE" @
|
||
|
"D" =
|
||
|
IF
|
||
|
0 #THIS !
|
||
|
THEN
|
||
|
</prescript>
|
||
|
<postscript description="B1.102 POSTSCRIPT">MESSAGE ADD,F1.102
|
||
|
MESSAGE ADD,F2.132</postscript>
|
||
|
</field>
|
||
|
<field x="118" type="Valuta" align="right" width="15" id="103" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||
|
<prescript description="B1.103 PRESCRIPT">"RMOVANA.SEZIONE" @
|
||
|
"D" =
|
||
|
IF
|
||
|
0 #THIS !
|
||
|
THEN
|
||
|
</prescript>
|
||
|
<postscript description="B1.103 POSTSCRIPT">MESSAGE ADD,F1.102
|
||
|
MESSAGE ADD,F2.132</postscript>
|
||
|
</field>
|
||
|
<field x="134" type="Valuta" align="right" width="15" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||
|
<prescript description="B1.104 PRESCRIPT">"RMOVANA.SEZIONE" @
|
||
|
"D" =
|
||
|
IF
|
||
|
0 #THIS !
|
||
|
THEN
|
||
|
</prescript>
|
||
|
<postscript description="B1.104 POSTSCRIPT">MESSAGE ADD,F1.102
|
||
|
MESSAGE ADD,F2.132</postscript>
|
||
|
</field>
|
||
|
<field x="150" type="Valuta" align="right" width="15" id="105" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||
|
<prescript description="B1.105 PRESCRIPT">"RMOVANA.SEZIONE" @
|
||
|
"D" =
|
||
|
IF
|
||
|
0 #THIS !
|
||
|
THEN
|
||
|
</prescript>
|
||
|
<postscript description="B1.105 POSTSCRIPT">MESSAGE ADD,F1.102
|
||
|
MESSAGE ADD,F2.132</postscript>
|
||
|
</field>
|
||
|
</section>
|
||
|
<section type="Foot" height="1" />
|
||
|
<section type="Foot" level="1">
|
||
|
<field border="2" x="1" y="1" type="Linea" width="168" height="0" pattern="1" />
|
||
|
<field x="85" y="2" type="Testo" width="17" pattern="1" text="Totali periodo:">
|
||
|
<font face="Courier New" bold="1" size="8" />
|
||
|
</field>
|
||
|
<field x="85" y="3.25" type="Testo" width="20" pattern="1" text="Totali progressivi:">
|
||
|
<font face="Courier New" bold="1" size="8" />
|
||
|
</field>
|
||
|
<field x="105" y="2" type="Valuta" align="right" width="15" id="101" pattern="1" text="###.###.###,@@">
|
||
|
<font face="Courier New" bold="1" size="8" />
|
||
|
</field>
|
||
|
<field x="121" y="2" type="Valuta" align="right" width="15" id="102" pattern="1" text="###.###.###,@@">
|
||
|
<font face="Courier New" bold="1" size="8" />
|
||
|
</field>
|
||
|
<field x="137" y="2" type="Valuta" align="right" width="15" id="103" pattern="1" text="###.###.###,@@">
|
||
|
<font face="Courier New" bold="1" size="8" />
|
||
|
</field>
|
||
|
<field x="153" y="2" type="Valuta" align="right" width="15" id="104" pattern="1" text="###.###.###,@@">
|
||
|
<font face="Courier New" bold="1" size="8" />
|
||
|
</field>
|
||
|
</section>
|
||
|
<section type="Foot" level="2" height="1" />
|
||
|
<sql>USE RMOVANA
|
||
|
BY CODCONTO NUMREG NUMRIG
|
||
|
JOIN MOVANA INTO NUMREG==NUMREG</sql>
|
||
|
<prescript description="PRESCRIPT">: SCAMBIA_CAMPI ( F1 F2 -- )
|
||
|
VARIABLE _X1 \ coordinate del campo F1
|
||
|
VARIABLE _Y1
|
||
|
VARIABLE _X2 \ coordinate del campo F2
|
||
|
VARIABLE _Y2
|
||
|
|
||
|
2DUP \ duplica i campi F1 F2 sullo stack
|
||
|
GET_POS \ prende le coordinate del campo F2
|
||
|
_Y2 ! \ e le mette in _Y2 e _X2
|
||
|
_X2 !
|
||
|
GET_POS \ prende le coordinate del campo F1
|
||
|
_Y1 ! \ e le mette in _Y1 e _X1
|
||
|
_X1 !
|
||
|
|
||
|
_X1 @ \ legge le coordinate di F1
|
||
|
_Y1 @
|
||
|
ROT
|
||
|
SET_POS \ mette le coord in F2
|
||
|
|
||
|
_X2 @
|
||
|
_Y2 @
|
||
|
ROT
|
||
|
SET_POS
|
||
|
;
|
||
|
|
||
|
</prescript>
|
||
|
</report>
|