From b89f762389cfbedbd753f9e4b25316477a3ce09b Mon Sep 17 00:00:00 2001 From: villa Date: Tue, 1 Aug 1995 10:23:21 +0000 Subject: [PATCH] relapp non l'ho toccata aggiunti campi partite e file descrizione campi solleciti git-svn-id: svn://10.65.10.50/trunk@1660 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/partite.h | 90 ++++++++++++++++++++++++----------------------- include/relapp.h | 3 +- include/stosoll.h | 18 ++++++++++ 3 files changed, 66 insertions(+), 45 deletions(-) create mode 100755 include/stosoll.h diff --git a/include/partite.h b/include/partite.h index 635472998..63e276e59 100755 --- a/include/partite.h +++ b/include/partite.h @@ -1,44 +1,46 @@ -#ifndef __PARTITE_H -#define __PARTITE_H - -#define PART_ANNO "ANNO" -#define PART_NUMPART "NUMPART" -#define PART_NRIGA "NRIGA" -#define PART_TIPOMOV "TIPOMOV" -#define PART_NREG "NREG" -#define PART_NUMRIG "NUMRIG" -#define PART_DATAREG "DATAREG" -#define PART_DATADOC "DATADOC" -#define PART_NUMDOC "NUMDOC" -#define PART_DESCR "DESCR" -#define PART_REG "REG" -#define PART_PROTIVA "PROTIVA" -#define PART_CODCAUS "CODCAUS" -#define PART_SEZ "SEZ" -#define PART_IMPORTO "IMPORTO" -#define PART_IMPOSTA "IMPOSTA" -#define PART_SPESE "SPESE" -#define PART_CODPAG "CODPAG" -#define PART_CODVAL "CODVAL" -#define PART_CAMBIO "CAMBIO" -#define PART_IMPORTOVAL "IMPORTOVAL" -#define PART_DATACAM "DATACAM" -#define PART_TIPOCF "TIPOC" -#define PART_GRUPPO "GRUPPO" -#define PART_CONTO "CONTO" -#define PART_SOTTOCONTO "SOTTOCONTO" -#define PART_CODABI "CODABI" -#define PART_CODCAB "CODCAB" -#define PART_CODAG "CODAG" -#define PART_IMPTOTPAG "IMPTOTPAG" -#define PART_RITENUTE "RITENUTE" -#define PART_SALACC "SALACC" -#define PART_TIPOPAG "TIPOPAG" -#define PART_DATARIFPAG "DATARIFPAG" -#define PART_NUMRIFPAG "NUMRIFPAG" -#define PART_NRATA "NRATA" -#define PART_CHIUSA "CHIUSA" -#define PART_CODABIPR "CODABIPR" -#define PART_CODCABPR "CODCABPR" - -#endif +#ifndef __PARTITE_H +#define __PARTITE_H + +#define PART_ANNO "ANNO" +#define PART_NUMPART "NUMPART" +#define PART_NRIGA "NRIGA" +#define PART_TIPOMOV "TIPOMOV" +#define PART_NREG "NREG" +#define PART_NUMRIG "NUMRIG" +#define PART_DATAREG "DATAREG" +#define PART_DATADOC "DATADOC" +#define PART_NUMDOC "NUMDOC" +#define PART_DESCR "DESCR" +#define PART_REG "REG" +#define PART_PROTIVA "PROTIVA" +#define PART_CODCAUS "CODCAUS" +#define PART_SEZ "SEZ" +#define PART_IMPORTO "IMPORTO" +#define PART_IMPOSTA "IMPOSTA" +#define PART_SPESE "SPESE" +#define PART_CODPAG "CODPAG" +#define PART_CODVAL "CODVAL" +#define PART_CAMBIO "CAMBIO" +#define PART_IMPORTOVAL "IMPORTOVAL" +#define PART_DATACAM "DATACAM" +#define PART_TIPOCF "TIPOC" +#define PART_GRUPPO "GRUPPO" +#define PART_CONTO "CONTO" +#define PART_SOTTOCONTO "SOTTOCONTO" +#define PART_CODABI "CODABI" +#define PART_CODCAB "CODCAB" +#define PART_CODAG "CODAG" +#define PART_IMPTOTPAG "IMPTOTPAG" +#define PART_RITENUTE "RITENUTE" +#define PART_SALACC "SALACC" +#define PART_TIPOPAG "TIPOPAG" +#define PART_DATARIFPAG "DATARIFPAG" +#define PART_NUMRIFPAG "NUMRIFPAG" +#define PART_NRATA "NRATA" +#define PART_CHIUSA "CHIUSA" +#define PART_CODABIPR "CODABIPR" +#define PART_CODCABPR "CODCABPR" +#define PART_GRUPPOCL "GRUPPOCL" +#define PART_CONTOCL "CONTOCL" + +#endif diff --git a/include/relapp.h b/include/relapp.h index ec17196b0..2f60c1695 100755 --- a/include/relapp.h +++ b/include/relapp.h @@ -45,7 +45,7 @@ class TRelation_application : public TApplication bool autonum(TMask* m, bool rec); bool has_filtered_cursor() const { return filtered() || force_cursor_usage();} -protected: // TApplication +protected: virtual bool create(); virtual bool destroy(); virtual bool firm_change_enabled() const; @@ -106,6 +106,7 @@ protected: void set_search_field(short id) { _search_id = id;} // Impone il campo da utilizzare col bottone Ricerca public: + TRelation_application(); virtual ~TRelation_application(); bool filtered() const { return _fixed.not_empty(); } diff --git a/include/stosoll.h b/include/stosoll.h new file mode 100755 index 000000000..1326835e2 --- /dev/null +++ b/include/stosoll.h @@ -0,0 +1,18 @@ +#ifndef __PAGSCA_H +#define __PAGSCA_H + +#define SOLL_TIPOC "TIPOC" +#define SOLL_GRUPPO "GRUPPO" +#define SOLL_CONTO "CONTO" +#define SOLL_SOTTOCONTO "SOTTOCONTO" +#define SOLL_ANNO "ANNO" +#define SOLL_NUMPART "NUMPART" +#define SOLL_NRIGA "NRIGA" +#define SOLL_NRATA "NRATA" +#define SOLL_NRIGP "NRIGP" +#define SOLL_ACCSAL "ACCSAL" +#define SOLL_IMPORTO "IMPORTO" +#define SOLL_ABBUONI "ABBUONI" +#define SOLL_DIFFCAM "DIFFCAM" + +#endif