Files correlati : Ricompilazione Demo : [ ] Commento : sistemato il problema dell'errore in caso di cambio segno al secondo giro di stampa git-svn-id: svn://10.65.10.50/trunk@19773 c028cbd2-c16b-5b4b-a496-9718f37d4682
411 lines
11 KiB
XML
Executable File
411 lines
11 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<report name="ca1800a" orientation="1" lpi="6">
|
|
<description>Stampa conti per commessa (analitica CM)</description>
|
|
<font face="Arial" size="8" />
|
|
<section type="Head">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<field x="1" y="0.5" type="Testo" width="12" pattern="1" text="Commessa" />
|
|
<field border="1" x="83.5" y="1" type="Linea" height="1.5" pattern="1" />
|
|
<field x="3" y="1.5" type="Testo" width="10" pattern="1" text="Conto" />
|
|
<field x="70" y="1.5" type="Testo" align="center" width="10" pattern="1" text="COSTI" />
|
|
<field x="86" y="1.5" type="Testo" align="center" width="10" pattern="1" text="RICAVI" />
|
|
<field border="1" x="1" y="2.5" type="Linea" width="100" height="0" pattern="1" />
|
|
</section>
|
|
<section type="Head" level="1">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1
|
|
MESSAGE RESET,F1.105
|
|
MESSAGE RESET,F1.107</prescript>
|
|
<field border="1" radius="100" x="25" y="0.25" type="Rettangolo" shade_offset="50" width="50" height="3" />
|
|
<field x="25" y="0.75" type="Testo" valign="center" align="center" width="50" height="2" pattern="1" text="CONTI PER COMMESSA">
|
|
<font face="Arial" bold="1" size="16" />
|
|
</field>
|
|
<field x="70" y="4" type="Testo" width="12" pattern="1" text="Data stampa:">
|
|
<font face="Arial" size="8" />
|
|
</field>
|
|
<field x="80" y="4" type="Data" width="10" pattern="1">
|
|
<source>#SYSTEM.DATE</source>
|
|
</field>
|
|
<field x="1" y="4.5" type="Testo" width="10" pattern="1" text="Esercizio:">
|
|
<font face="Arial" size="8" />
|
|
</field>
|
|
<field x="1" y="5.5" type="Testo" width="15" pattern="1" text="Movimenti dal:">
|
|
<font face="Arial" size="8" />
|
|
</field>
|
|
<field x="23" y="5.5" type="Testo" width="3" pattern="1" text="al:">
|
|
<font face="Arial" size="8" />
|
|
</field>
|
|
<field x="1" y="6.5" type="Testo" width="10" pattern="1" text="Da fase:">
|
|
<font face="Arial" size="8" />
|
|
</field>
|
|
<field x="23" y="6.5" type="Testo" width="7" pattern="1" text="a fase:">
|
|
<font face="Arial" size="8" />
|
|
</field>
|
|
<field x="12" y="4.5" type="Numero" align="right" width="4" id="101" pattern="1">
|
|
<source>#ANNO</source>
|
|
</field>
|
|
<field x="12" y="5.5" type="Data" width="10" id="102" pattern="1">
|
|
<source>#DATAINI</source>
|
|
</field>
|
|
<field x="30" y="5.5" type="Data" width="10" id="103" pattern="1">
|
|
<source>#DATAFIN</source>
|
|
</field>
|
|
<field x="12" y="6.5" type="Stringa" width="10" id="104" pattern="1">
|
|
<source>#DACODFASE</source>
|
|
</field>
|
|
<field x="30" y="6.5" type="Stringa" width="10" id="105" pattern="1">
|
|
<source>#ACODFASE</source>
|
|
</field>
|
|
</section>
|
|
<section type="Head" level="2">
|
|
<groupby>CODCMS</groupby>
|
|
<font face="Arial" bold="1" size="8" />
|
|
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2
|
|
MESSAGE RESET,F2.105
|
|
MESSAGE RESET,F2.107</prescript>
|
|
<field border="1" x="1" y="1.5" type="Linea" width="100" height="0" pattern="1" />
|
|
<field x="1" y="0.25" type="Stringa" width="20" id="101" pattern="1">
|
|
<source>CODCMS</source>
|
|
<postscript description="H2.101 POSTSCRIPT">MESSAGE COPY,F2.101</postscript>
|
|
</field>
|
|
<field x="22" y="0.25" type="Stringa" width="50" id="102" pattern="1">
|
|
<prescript description="H2.102 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#101,DESCRIZ</prescript>
|
|
<postscript description="H2.102 POSTSCRIPT">MESSAGE COPY,F2.102</postscript>
|
|
</field>
|
|
</section>
|
|
<section type="Head" level="3" hidden="1">
|
|
<groupby>CODCONTO[1,6]</groupby>
|
|
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3
|
|
MESSAGE RESET,F3.105
|
|
MESSAGE RESET,F3.107</prescript>
|
|
<field x="2" type="Stringa" width="3" id="101" pattern="1">
|
|
<source>CODCONTO[1,3]</source>
|
|
<prescript description="H3.101 PRESCRIPT">MESSAGE COPY,F3.101</prescript>
|
|
</field>
|
|
<field x="5" type="Stringa" width="3" id="102" pattern="1">
|
|
<source>CODCONTO[4,6]</source>
|
|
<prescript description="H3.102 PRESCRIPT">MESSAGE COPY,F3.102</prescript>
|
|
</field>
|
|
</section>
|
|
<section type="Body" />
|
|
<section type="Body" level="1">
|
|
<field x="3" type="Stringa" width="12" id="101" pattern="1">
|
|
<source>CODCONTO</source>
|
|
<prescript description="B1.101 PRESCRIPT">CA_FORMAT_CONTO</prescript>
|
|
</field>
|
|
<field x="16" type="Stringa" width="50" id="102" pattern="1">
|
|
<source>CODCONTO</source>
|
|
<prescript description="B1.102 PRESCRIPT">CA_FORMAT_CONTO_DESCR</prescript>
|
|
</field>
|
|
<field x="66" type="Array" hidden="1" width="1" id="103" pattern="1">
|
|
<source>INDBIL</source>
|
|
<list>
|
|
<li Value="Costi" Code="3">MESSAGE ENABLE,1@|DISABLE,2@</li>
|
|
<li Value="Ricavi" Code="4">MESSAGE DISABLE,1@|ENABLE,2@</li>
|
|
</list>
|
|
</field>
|
|
<field x="67" type="Valuta" align="right" width="13" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<groups>1</groups>
|
|
<source>IMPORTO</source>
|
|
<postscript description="B1.104 POSTSCRIPT">#THIS @
|
|
|
|
#F3.105 @ \ se la sezione del tot &#E8; vuota la metto = alla mia sezione corrente
|
|
EMPTY= IF
|
|
#105 @
|
|
#F3.105 !
|
|
THEN
|
|
|
|
#105 @
|
|
#F3.105 @
|
|
C;E; IF \ se sono diverse le sezioni deve sottrarmi al totale
|
|
-1 *
|
|
THEN
|
|
#F3.104 +!
|
|
|
|
|
|
#THIS @ \ stesso lavoro per il totale di commessa
|
|
|
|
#F2.105 @
|
|
EMPTY= IF
|
|
#105 @
|
|
#F2.105 !
|
|
THEN
|
|
|
|
#105 @
|
|
#F2.105 @
|
|
C;E; IF -1 *
|
|
THEN
|
|
#F2.104 +!
|
|
|
|
|
|
#THIS @ \ stesso lavoro per il totale generale
|
|
|
|
#F1.105 @
|
|
EMPTY= IF
|
|
#105 @
|
|
#F1.105 !
|
|
THEN
|
|
|
|
#105 @
|
|
#F1.105 @
|
|
C;E; IF -1 *
|
|
THEN
|
|
#F1.104 +!</postscript>
|
|
</field>
|
|
<field x="80.5" type="Stringa" width="2" id="105" pattern="1">
|
|
<groups>1</groups>
|
|
<source>SEZIONE</source>
|
|
</field>
|
|
<field x="84.5" type="Valuta" align="right" width="13" id="106" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<groups>2</groups>
|
|
<source>IMPORTO</source>
|
|
<postscript description="B1.106 POSTSCRIPT">#THIS @
|
|
|
|
#F3.107 @ \ se la sezione del tot &#E8; vuota la metto = alla mia sezione corrente
|
|
EMPTY= IF
|
|
#107 @
|
|
#F3.107 !
|
|
THEN
|
|
|
|
#107 @
|
|
#F3.107 @
|
|
C;E; IF \ se sono diverse le sezioni deve sottrarmi al totale
|
|
-1 *
|
|
THEN
|
|
#F3.106 +!
|
|
|
|
|
|
#THIS @ \ stesso lavoro per il totale commessa
|
|
|
|
#F2.107 @
|
|
EMPTY= IF
|
|
#107 @
|
|
#F2.107 !
|
|
THEN
|
|
|
|
#107 @
|
|
#F2.107 @
|
|
C;E; IF
|
|
-1 *
|
|
THEN
|
|
#F2.106 +!
|
|
|
|
|
|
#THIS @ \ stesso lavoro per il totale generale
|
|
|
|
#F1.107 @
|
|
EMPTY= IF
|
|
#107 @
|
|
#F1.107 !
|
|
THEN
|
|
|
|
#107 @
|
|
#F1.107 @
|
|
C;E; IF -1 *
|
|
THEN
|
|
#F1.106 +!</postscript>
|
|
</field>
|
|
<field x="98" type="Stringa" width="2" id="107" pattern="1">
|
|
<groups>2</groups>
|
|
<source>SEZIONE</source>
|
|
</field>
|
|
</section>
|
|
<section type="Foot">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<field border="1" x="1" y="0.5" type="Linea" width="100" height="0" pattern="1" />
|
|
<field x="85" y="0.75" type="Testo" width="5" pattern="1" text="Pag." />
|
|
<field x="90" y="0.75" type="Numero" align="right" width="3" pattern="1">
|
|
<source>#REPORT.PAGE</source>
|
|
</field>
|
|
</section>
|
|
<section type="Foot" level="1">
|
|
<font italic="1" face="Arial" bold="1" size="8" />
|
|
<field border="2" x="1" y="0.5" type="Linea" width="100" height="0" pattern="1" />
|
|
<field x="2" y="1" type="Testo" width="20" pattern="1" text="TOTALE GENERALE">
|
|
<font face="Arial" bold="1" size="8" />
|
|
</field>
|
|
<field x="65.5" y="1" type="Valuta" align="right" width="14" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<prescript description="F1.104 PRESCRIPT">#THIS @ \ se importo negativo cambia segno e inverte sezione
|
|
DUP
|
|
0 C; IF
|
|
-1 *
|
|
#THIS !
|
|
|
|
#105 @
|
|
"D" = IF
|
|
"A"
|
|
ELSE
|
|
"D"
|
|
THEN
|
|
#105 !
|
|
ELSE
|
|
DROP
|
|
THEN</prescript>
|
|
</field>
|
|
<field x="80" y="1" type="Stringa" width="2" id="105" pattern="1">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<prescript description="F1.105 PRESCRIPT">#104 @
|
|
0 = IF
|
|
HIDE
|
|
ELSE
|
|
SHOW
|
|
THEN</prescript>
|
|
</field>
|
|
<field x="83.5" y="1" type="Valuta" align="right" width="14" id="106" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<prescript description="F1.106 PRESCRIPT">#THIS @ \ se importo negativo cambia segno e inverte sezione
|
|
DUP
|
|
0 C; IF
|
|
-1 *
|
|
#THIS !
|
|
|
|
#107 @
|
|
"D" = IF
|
|
"A"
|
|
ELSE
|
|
"D"
|
|
THEN
|
|
#107 !
|
|
ELSE
|
|
DROP
|
|
THEN</prescript>
|
|
</field>
|
|
<field x="98" y="1" type="Stringa" width="2" id="107" pattern="1">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<prescript description="F1.107 PRESCRIPT">#106 @
|
|
0 = IF
|
|
HIDE
|
|
ELSE
|
|
SHOW
|
|
THEN</prescript>
|
|
</field>
|
|
</section>
|
|
<section type="Foot" level="2" height="3">
|
|
<font italic="1" face="Arial" bold="1" size="8" />
|
|
<field border="1" x="1" y="0.25" type="Linea" width="100" height="0" pattern="1" />
|
|
<field x="1" y="0.75" type="Testo" width="6" pattern="1" text="Totale" />
|
|
<field x="8" y="0.75" type="Stringa" width="15" id="101" pattern="1">
|
|
<font italic="1" face="Arial Narrow" bold="1" size="8" />
|
|
</field>
|
|
<field x="24" y="0.75" type="Stringa" width="35" id="102" pattern="1">
|
|
<font italic="1" face="Arial Narrow" bold="1" size="8" />
|
|
</field>
|
|
<field x="66.5" y="0.75" type="Valuta" align="right" width="13" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<prescript description="F2.104 PRESCRIPT">#THIS @ \ se importo negativo cambia segno e inverte sezione
|
|
DUP
|
|
0 C; IF
|
|
-1 *
|
|
#THIS !
|
|
|
|
#105 @
|
|
"D" = IF
|
|
"A"
|
|
ELSE
|
|
"D"
|
|
THEN
|
|
#105 !
|
|
ELSE
|
|
DROP
|
|
THEN</prescript>
|
|
</field>
|
|
<field x="80" y="0.75" type="Stringa" width="2" id="105" pattern="1">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<prescript description="F2.105 PRESCRIPT">#104 @
|
|
0 = IF
|
|
HIDE
|
|
ELSE
|
|
SHOW
|
|
THEN</prescript>
|
|
</field>
|
|
<field x="84.5" y="0.75" type="Valuta" align="right" width="13" id="106" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<prescript description="F2.106 PRESCRIPT">#THIS @ \ se importo negativo cambia segno e inverte sezione
|
|
DUP
|
|
0 C; IF
|
|
-1 *
|
|
#THIS !
|
|
|
|
#107 @
|
|
"D" = IF
|
|
"A"
|
|
ELSE
|
|
"D"
|
|
THEN
|
|
#107 !
|
|
ELSE
|
|
DROP
|
|
THEN</prescript>
|
|
</field>
|
|
<field x="98" y="0.75" type="Stringa" width="2" id="107" pattern="1">
|
|
<font face="Arial" bold="1" size="8" />
|
|
<prescript description="F2.107 PRESCRIPT">#106 @
|
|
0 = IF
|
|
HIDE
|
|
ELSE
|
|
SHOW
|
|
THEN</prescript>
|
|
</field>
|
|
</section>
|
|
<section type="Foot" level="3" height="1.5">
|
|
<font italic="1" face="Arial" bold="1" size="8" />
|
|
<field x="10" type="Stringa" width="50" pattern="1">
|
|
<prescript description="F3.0 PRESCRIPT">MESSAGE ISAMREAD,PCON,GRUPPO=#101!CONTO=#102,DESCR</prescript>
|
|
</field>
|
|
<field x="2" type="Stringa" width="3" id="101" pattern="1" />
|
|
<field x="5" type="Stringa" width="3" id="102" pattern="1" />
|
|
<field x="66.5" type="Valuta" align="right" width="13" id="104" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<prescript description="F3.104 PRESCRIPT">#THIS @ \ se importo negativo cambia segno e inverte sezione
|
|
DUP
|
|
0 C; IF
|
|
-1 *
|
|
#THIS !
|
|
|
|
#105 @
|
|
"D" = IF
|
|
"A"
|
|
ELSE
|
|
"D"
|
|
THEN
|
|
#105 !
|
|
ELSE
|
|
DROP
|
|
THEN</prescript>
|
|
</field>
|
|
<field x="80" type="Stringa" width="2" id="105" pattern="1">
|
|
<prescript description="F3.105 PRESCRIPT">#104 @
|
|
0 = IF
|
|
HIDE
|
|
ELSE
|
|
SHOW
|
|
THEN</prescript>
|
|
</field>
|
|
<field x="84.5" type="Valuta" align="right" width="13" id="106" pattern="1" hide_zero="1" text="###.###.###,@@">
|
|
<prescript description="F3.106 PRESCRIPT">#THIS @ \ se importo negativo cambia segno e inverte sezione
|
|
DUP
|
|
0 C; IF
|
|
-1 *
|
|
#THIS !
|
|
|
|
#107 @
|
|
"D" = IF
|
|
"A"
|
|
ELSE
|
|
"D"
|
|
THEN
|
|
#107 !
|
|
ELSE
|
|
DROP
|
|
THEN</prescript>
|
|
</field>
|
|
<field x="98" type="Stringa" width="2" id="107" pattern="1">
|
|
<prescript>#106 @
|
|
0 = IF
|
|
HIDE
|
|
ELSE
|
|
SHOW
|
|
THEN</prescript>
|
|
</field>
|
|
</section>
|
|
</report> |