Patch level :10.0
Files correlati : Ricompilazione Demo : [ ] Commento : stampa personalizzazione dinamica git-svn-id: svn://10.65.10.50/branches/R_10_00@21311 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c80c2a596e
commit
a72778a6ce
4
ps/ps1001_prev_datacomp.h
Executable file
4
ps/ps1001_prev_datacomp.h
Executable file
@ -0,0 +1,4 @@
|
||||
#define F_DADATA 201
|
||||
#define F_ADATA 202
|
||||
#define F_CDC 203
|
||||
#define F_CDC_DESCR 204
|
96
ps/ps1001_prev_datacomp.rep
Executable file
96
ps/ps1001_prev_datacomp.rep
Executable file
@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="ps1001_prev_datacomp" lpi="6">
|
||||
<description>Movana P commessa prevalente</description>
|
||||
<font face="Arial" size="8" />
|
||||
<section type="Head" pattern="1">
|
||||
<font italic="1" face="Arial" bold="1" size="8" />
|
||||
<field x="1" y="0.5" type="Testo" align="right" width="7" pattern="1" text="Numreg" />
|
||||
<field x="9" y="0.5" type="Testo" align="center" width="10" pattern="1" text="Datareg" />
|
||||
<field x="20" y="0.5" type="Testo" align="center" width="10" pattern="1" text="Datacomp" />
|
||||
<field x="31" y="0.5" type="Testo" align="center" width="10" pattern="1" text="Datafcomp" />
|
||||
<field x="42" y="0.5" type="Testo" width="15" pattern="1" text="Commessa" />
|
||||
<field x="62" y="0.5" type="Testo" width="3" pattern="1" text="Sez" />
|
||||
<field x="68" y="0.5" type="Testo" align="right" width="10" pattern="1" text="Importo" />
|
||||
<field border="1" x="1" y="1.5" type="Linea" width="100" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<field border="1" radius="50" x="10" y="0.5" type="Testo" valign="center" align="center" shade_offset="50" width="80" height="2" pattern="2" text="MOVIMENTI DI BUDGET PER DATA COMPETENZA">
|
||||
<font face="Arial" bold="1" size="14" />
|
||||
</field>
|
||||
<field x="2" y="3.5" type="Testo" width="10" pattern="1" text="Dalla data:" />
|
||||
<field x="12" y="3.5" type="Data" width="10" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#DADATA</source>
|
||||
</field>
|
||||
<field x="34" y="3.5" type="Testo" width="10" pattern="1" text="Alla data:" />
|
||||
<field x="44" y="3.5" type="Data" width="10" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#ADATA</source>
|
||||
</field>
|
||||
<field x="60" y="3.5" type="Testo" width="6" pattern="1" text="Sede:" />
|
||||
<field x="66" y="3.5" type="Stringa" width="10" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#CDC</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2" hidden="1" pattern="1">
|
||||
<groupby>NUMREG</groupby>
|
||||
<field x="1" type="Numero" align="right" width="10" id="101" pattern="1">
|
||||
<source>MOVANA.NUMREG</source>
|
||||
<prescript description="H2.101 PRESCRIPT">MESSAGE COPY,F2.101</prescript>
|
||||
</field>
|
||||
<field x="12" type="Data" width="10" id="102" pattern="1">
|
||||
<source>MOVANA.DATAREG</source>
|
||||
<prescript description="H2.102 PRESCRIPT">MESSAGE COPY,F2.102</prescript>
|
||||
</field>
|
||||
<field x="23" type="Data" width="10" id="103" pattern="1">
|
||||
<source>MOVANA.DATACOMP</source>
|
||||
<prescript description="H2.103 PRESCRIPT">MESSAGE COPY,F2.103</prescript>
|
||||
</field>
|
||||
<field x="34" type="Data" width="10" id="104" pattern="1">
|
||||
<source>MOVANA.DATAFCOMP</source>
|
||||
<prescript description="H2.104 PRESCRIPT">MESSAGE COPY,F2.104</prescript>
|
||||
</field>
|
||||
<field x="45" type="Stringa" width="2" id="107" pattern="1">
|
||||
<source>MOVANA.SEZIONE</source>
|
||||
<prescript description="H2.107 PRESCRIPT">MESSAGE COPY,F2.107</prescript>
|
||||
</field>
|
||||
<field x="48" type="Valuta" align="right" width="12" id="108" pattern="1" text="#########,@@">
|
||||
<source>MOVANA.TOTDOC</source>
|
||||
<prescript description="H2.108 PRESCRIPT">MESSAGE COPY,F2.108</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" pattern="1">
|
||||
<field x="1" type="Numero" align="right" width="7" pattern="1">
|
||||
<source>NUMREG</source>
|
||||
</field>
|
||||
<field x="9" type="Numero" align="right" width="3" pattern="1">
|
||||
<source>NUMRIG</source>
|
||||
</field>
|
||||
<field x="13" type="Stringa" width="4" pattern="1">
|
||||
<source>CODCCOSTO</source>
|
||||
</field>
|
||||
<field x="18" type="Stringa" width="20" pattern="1">
|
||||
<source>CODCMS</source>
|
||||
<prescript description="B1.0 PRESCRIPT">MESSAGE COPY,F2.106</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" pattern="1" />
|
||||
<section type="Foot" level="1" pattern="1" />
|
||||
<section type="Foot" level="2" pattern="1">
|
||||
<field x="1" type="Numero" align="right" width="7" id="101" pattern="1" />
|
||||
<field x="9" type="Data" width="10" id="102" pattern="1" />
|
||||
<field x="20" type="Data" width="10" id="103" pattern="1" />
|
||||
<field x="31" type="Data" width="10" id="104" pattern="1" />
|
||||
<field x="42" type="Stringa" width="20" id="106" pattern="1" />
|
||||
<field x="63" type="Stringa" width="2" id="107" pattern="1" />
|
||||
<field x="66" type="Valuta" align="right" width="12" id="108" pattern="1" text="#########,@@" />
|
||||
</section>
|
||||
<sql>USE RMOVANA KEY 3
|
||||
SELECT (BETWEEN(CODCCOSTO,#CDC,#CDC))(MOVANA.TIPOMOV="P")(COMMESSE.APPOGGIO!="X")
|
||||
JOIN MOVANA INTO NUMREG==NUMREG
|
||||
JOIN COMMESSE INTO CODCMS==CODCMS
|
||||
FROM DATACOMP=#DADATA
|
||||
TO DATACOMP=#ADATA</sql>
|
||||
</report>
|
56
ps/ps1001_prev_datacomp.uml
Executable file
56
ps/ps1001_prev_datacomp.uml
Executable file
@ -0,0 +1,56 @@
|
||||
#include "ps1001_prev_datacomp.h"
|
||||
|
||||
PAGE "Movimenti preventivi" -1 -1 78 7
|
||||
|
||||
TEXT DLG_NULL
|
||||
BEGIN
|
||||
PROMPT 1 1 "Date di competenza"
|
||||
END
|
||||
|
||||
DATA F_DADATA
|
||||
BEGIN
|
||||
PROMPT 1 2 "Dal "
|
||||
CHECKTYPE REQUIRED
|
||||
FIELD #DADATA
|
||||
END
|
||||
|
||||
DATA F_ADATA
|
||||
BEGIN
|
||||
PROMPT 1 3 "Al "
|
||||
CHECKTYPE REQUIRED
|
||||
FIELD #ADATA
|
||||
VALIDATE DATE_CMP_FUNC >= F_DADATA
|
||||
WARNING "La data finale deve essere successiva a quella iniziale"
|
||||
END
|
||||
|
||||
STRING F_CDC 10
|
||||
BEGIN
|
||||
PROMPT 1 5 "Sede "
|
||||
USE CDC
|
||||
INPUT CODCOSTO F_CDC
|
||||
DISPLAY "Sede@10" CODCOSTO
|
||||
DISPLAY "Descrizione@50" DESCRIZ
|
||||
OUTPUT F_CDC CODCOSTO
|
||||
OUTPUT F_CDC_DESCR DESCRIZ
|
||||
CHECKTYPE NORMAL
|
||||
FIELD #CDC
|
||||
END
|
||||
|
||||
STRING F_CDC_DESCR 50
|
||||
BEGIN
|
||||
PROMPT 20 5 ""
|
||||
USE CDC KEY 2
|
||||
INPUT DESCRIZ F_CDC_DESCR
|
||||
DISPLAY "Descrizione@50" DESCRIZ
|
||||
DISPLAY "Sede@10" CODCOSTO
|
||||
COPY OUTPUT F_CDC
|
||||
CHECKTYPE NORMAL
|
||||
END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
TOOLBAR "" 0 0 0 2
|
||||
#include <printbar.h>
|
||||
ENDPAGE
|
||||
|
||||
ENDMASK
|
Loading…
x
Reference in New Issue
Block a user