Patch level :2.2 102
Files correlati : Ricompilazione Demo : [ ] Commento :stampa mastrini e movimenti in stato di avanzamento git-svn-id: svn://10.65.10.50/trunk@13112 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
061e4573d5
commit
4f034aa7f5
@ -152,6 +152,17 @@ TPrint_mastrini_ca_mask::TPrint_mastrini_ca_mask()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
// REPORT
|
||||||
|
////////////////////////////////////////////////////////
|
||||||
|
class TPrint_mastrini_ca_rep : public TAnal_report
|
||||||
|
{
|
||||||
|
/*protected:
|
||||||
|
virtual bool get_usr_val(const TString& name, TVariant& var) const;
|
||||||
|
void calcola_saldo_iniziale();*/
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
// APPLICAZIONE
|
// APPLICAZIONE
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
@ -195,14 +206,13 @@ void TPrint_mastrini_ca::main_loop()
|
|||||||
TString path = _mask->get(F_REPORT);
|
TString path = _mask->get(F_REPORT);
|
||||||
if (path.empty())
|
if (path.empty())
|
||||||
path = "ca3200a";
|
path = "ca3200a";
|
||||||
|
TPrint_mastrini_ca_rep rep;
|
||||||
|
rep.load(path);
|
||||||
|
|
||||||
FOR_EACH_SHEET_ROW(sheet, r, row)
|
FOR_EACH_SHEET_ROW(sheet, r, row)
|
||||||
{
|
{
|
||||||
TAnal_report rep;
|
|
||||||
rep.load(path);
|
|
||||||
|
|
||||||
TString query;
|
TString query;
|
||||||
query << "USE RMOVANA";
|
query << "USE RMOVANA\nJOIN PCONANA INTO CODCONTO==CODCONTO";
|
||||||
rep.set_recordset(query);
|
rep.set_recordset(query);
|
||||||
|
|
||||||
rep.mask2report(*_mask);
|
rep.mask2report(*_mask);
|
||||||
|
@ -136,8 +136,8 @@ TPrint_bilancio_ca_mask::TPrint_bilancio_ca_mask()
|
|||||||
|
|
||||||
const int logicnum = use_pdcc ? LF_PCON : LF_PCONANA;
|
const int logicnum = use_pdcc ? LF_PCON : LF_PCONANA;
|
||||||
|
|
||||||
const int nfields = ca_create_fields(*this, 0, logicnum, 2, 9, F_CDC1_INI, F_DES1_INI, 0x0, "#DACONTO");
|
const int nfields = ca_create_fields(*this, 0, logicnum, 2, 10, F_CDC1_INI, F_DES1_INI, 0x0, "#DACONTO");
|
||||||
ca_create_fields(*this, 0, logicnum, 2, 15, F_CDC1_FIN, F_DES1_FIN, 0x0, "#ACONTO");
|
ca_create_fields(*this, 0, logicnum, 2, 16, F_CDC1_FIN, F_DES1_FIN, 0x0, "#ACONTO");
|
||||||
|
|
||||||
for (int i = 0; i < nfields; i++)
|
for (int i = 0; i < nfields; i++)
|
||||||
{
|
{
|
||||||
|
@ -132,17 +132,17 @@ END
|
|||||||
|
|
||||||
GROUPBOX DLG_NULL 78 6
|
GROUPBOX DLG_NULL 78 6
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 0 8 "@bDa:"
|
PROMPT 0 9 "@bDa:"
|
||||||
END
|
END
|
||||||
|
|
||||||
GROUPBOX DLG_NULL 78 6
|
GROUPBOX DLG_NULL 78 6
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 0 14 "@bA:"
|
PROMPT 0 15 "@bA:"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRING F_REPORT 256 64
|
STRING F_REPORT 256 64
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 1 20 "Report "
|
PROMPT 1 21 "Report "
|
||||||
END
|
END
|
||||||
|
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
9
ca/pconana.h
Executable file
9
ca/pconana.h
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#ifndef __PCONANA_H
|
||||||
|
#define __PCONANA_H
|
||||||
|
|
||||||
|
#define PCONANA_CODCONTO "CODCONTO"
|
||||||
|
#define PCONANA_DESCR "DESCR"
|
||||||
|
#define PCONANA_SEZSALDI "SEZSALDI"
|
||||||
|
#define PCONANA_SOSPESO "SOSPESO"
|
||||||
|
|
||||||
|
#endif
|
Loading…
x
Reference in New Issue
Block a user