Patch level : 12.00 1324
Files correlati : ca3.exe ca3100.msk ca3200.msk ca3300.msk ca3600.msk ca3700.msk ca3800.msk /ca3900.msk ca3900a.rep Commento : Corretta esportazione excel della stima ricavi per competenza
This commit is contained in:
parent
a0218610eb
commit
dbf7c77c0f
@ -2,6 +2,7 @@
|
|||||||
#include "camask.h"
|
#include "camask.h"
|
||||||
|
|
||||||
#define ALL_EXPORT
|
#define ALL_EXPORT
|
||||||
|
#define REPORT
|
||||||
#define CLASS_NAME "ca3100a"
|
#define CLASS_NAME "ca3100a"
|
||||||
|
|
||||||
TOOLBAR "topbar" 0 0 0 2
|
TOOLBAR "topbar" 0 0 0 2
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include "camask.h"
|
#include "camask.h"
|
||||||
|
|
||||||
#define ALL_EXPORT
|
#define ALL_EXPORT
|
||||||
|
#define REPORT
|
||||||
#define CLASS_NAME "ca3200a"
|
#define CLASS_NAME "ca3200a"
|
||||||
|
|
||||||
TOOLBAR "topbar" 0 0 0 2
|
TOOLBAR "topbar" 0 0 0 2
|
||||||
@ -13,7 +14,7 @@ TOOLBAR "bottombar" 0 -3 0 1
|
|||||||
#include <bprintbar.h>
|
#include <bprintbar.h>
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
|
||||||
PAGE "Selezioni" 0 0 0 2
|
PAGE "Selezioni" 0 -3 0 1
|
||||||
|
|
||||||
GROUPBOX DLG_NULL 78 3
|
GROUPBOX DLG_NULL 78 3
|
||||||
BEGIN
|
BEGIN
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include "ca3300.h"
|
#include "ca3300.h"
|
||||||
|
|
||||||
#define ALL_EXPORT
|
#define ALL_EXPORT
|
||||||
|
#define REPORT
|
||||||
#define CLASS_NAME "ca3300a"
|
#define CLASS_NAME "ca3300a"
|
||||||
|
|
||||||
TOOLBAR "topbar" 0 0 0 2
|
TOOLBAR "topbar" 0 0 0 2
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include "camask.h"
|
#include "camask.h"
|
||||||
|
|
||||||
#define ALL_EXPORT
|
#define ALL_EXPORT
|
||||||
|
#define REPORT
|
||||||
#define CLASS_NAME "ca3600"
|
#define CLASS_NAME "ca3600"
|
||||||
|
|
||||||
TOOLBAR "topbar" 0 0 0 2
|
TOOLBAR "topbar" 0 0 0 2
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include "camask.h"
|
#include "camask.h"
|
||||||
|
|
||||||
#define ALL_EXPORT
|
#define ALL_EXPORT
|
||||||
|
#define REPORT
|
||||||
#define CLASS_NAME "ca3700"
|
#define CLASS_NAME "ca3700"
|
||||||
|
|
||||||
TOOLBAR "topbar" 0 0 0 2
|
TOOLBAR "topbar" 0 0 0 2
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include "ca3883a.h"
|
#include "ca3883a.h"
|
||||||
|
|
||||||
#define ALL_EXPORT
|
#define ALL_EXPORT
|
||||||
|
#define REPORT
|
||||||
#define CLASS_NAME "ca3800a"
|
#define CLASS_NAME "ca3800a"
|
||||||
|
|
||||||
TOOLBAR "topbar" 0 0 0 2
|
TOOLBAR "topbar" 0 0 0 2
|
||||||
|
@ -14,8 +14,8 @@ void TCRPA_report::merge_array(TString_array& c, TString_array& t,
|
|||||||
{
|
{
|
||||||
while (c.items() > 0)
|
while (c.items() > 0)
|
||||||
{
|
{
|
||||||
TObject* cod = c.remove(0,true);
|
TObject* cod = c.TArray::remove(0,true);
|
||||||
TObject* tes = t.remove(0,true);
|
TObject* tes = t.TArray::remove(0,true);
|
||||||
codici.TArray::add(cod);
|
codici.TArray::add(cod);
|
||||||
testate.TArray::add(tes);
|
testate.TArray::add(tes);
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
#ifndef __CA3883_H
|
#ifndef __CA3883_H
|
||||||
#define __CA3883_H
|
#define __CA3883_H
|
||||||
|
|
||||||
#include <assoc.h>
|
|
||||||
#include <reprint.h>
|
#include <reprint.h>
|
||||||
|
|
||||||
#include "../cg/cglib.h"
|
#include "../cg/cglib.h"
|
||||||
|
|
||||||
#include "ca3883a.h"
|
#include "ca3883a.h"
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
|
@ -108,7 +108,8 @@ protected:
|
|||||||
virtual bool get_usr_val(const TString& name, TVariant& var) const;
|
virtual bool get_usr_val(const TString& name, TVariant& var) const;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual const char * get_excel_disabled_field() { return "H0.201|H0.202|H0.203|H0.204|H0.205"; }
|
// virtual const char * get_excel_header_section() override { return "H1"; }
|
||||||
|
virtual const char * get_excel_disabled_field() override { return "H0.100|H0.101|H0.201|H0.202|H0.203|H0.204|H0.205"; }
|
||||||
void set_filter(const TPrint_stima_ricavi_mask& msk);
|
void set_filter(const TPrint_stima_ricavi_mask& msk);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -195,10 +196,9 @@ TTrec * TPrint_stima_ricavi::get_dbase_recdesc(TReport & rep, const TAutomask &
|
|||||||
void TPrint_stima_ricavi::execute_print(TReport_book & book, TAutomask & mask, TReport & rep, export_type & type)
|
void TPrint_stima_ricavi::execute_print(TReport_book & book, TAutomask & mask, TReport & rep, export_type & type)
|
||||||
{
|
{
|
||||||
((TPrint_stima_ricavi_rep &)rep).set_filter((TPrint_stima_ricavi_mask &)mask);
|
((TPrint_stima_ricavi_rep &)rep).set_filter((TPrint_stima_ricavi_mask &)mask);
|
||||||
rep.set_export_sections(type);
|
book.add(rep, type);
|
||||||
book.add(rep);
|
|
||||||
rep.reset_export_sections();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TPrint_stima_ricavi::user_destroy()
|
bool TPrint_stima_ricavi::user_destroy()
|
||||||
{
|
{
|
||||||
safe_delete(_mask);
|
safe_delete(_mask);
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include "ca3883a.h"
|
#include "ca3883a.h"
|
||||||
|
|
||||||
#define ALL_EXPORT
|
#define ALL_EXPORT
|
||||||
|
#define REPORT
|
||||||
#define CLASS_NAME "ca3900"
|
#define CLASS_NAME "ca3900"
|
||||||
|
|
||||||
TOOLBAR "topbar" 0 0 0 2
|
TOOLBAR "topbar" 0 0 0 2
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<font face="Arial Narrow" size="7" />
|
<font face="Arial Narrow" size="7" />
|
||||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
|
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
|
||||||
<font italic="1" face="Arial Narrow" bold="1" size="8" />
|
<font italic="1" face="Arial Narrow" bold="1" size="8" />
|
||||||
<field border="2" x="1" y="1.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="174" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
|
|
||||||
<field x="1" y="1.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Include inevasi">
|
<field x="1" y="1.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="1" hide_zero="" text="Include inevasi">
|
||||||
<font italic="1" face="Arial Narrow" size="9" />
|
<font italic="1" face="Arial Narrow" size="9" />
|
||||||
</field>
|
</field>
|
||||||
@ -82,7 +81,6 @@ IF
|
|||||||
THEN
|
THEN
|
||||||
</prescript>
|
</prescript>
|
||||||
</field>
|
</field>
|
||||||
<field border="1" x="1" y="5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="174" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
|
|
||||||
<field x="1" y="4" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="5" pattern="1" hide_zero="" text="Fase">
|
<field x="1" y="4" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="6" codval="" id="5" pattern="1" hide_zero="" text="Fase">
|
||||||
<prescript description="H0.5 PRESCRIPT">#STAMPAFASI @
|
<prescript description="H0.5 PRESCRIPT">#STAMPAFASI @
|
||||||
EMPTY= IF
|
EMPTY= IF
|
||||||
@ -101,6 +99,8 @@ ELSE
|
|||||||
THEN
|
THEN
|
||||||
</prescript>
|
</prescript>
|
||||||
</field>
|
</field>
|
||||||
|
<field border="2" x="1" y="1.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="174" codval="" height="0" id="100" pattern="1" hide_zero="" text="" />
|
||||||
|
<field border="1" x="1" y="5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="174" codval="" height="0" id="101" pattern="1" hide_zero="" text="" />
|
||||||
<field x="1" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="121" pattern="1" hide_zero="" text="Commessa" />
|
<field x="1" y="3" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="121" pattern="1" hide_zero="" text="Commessa" />
|
||||||
<field x="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="201" pattern="1" hide_zero="" text="Data stampa">
|
<field x="1" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="201" pattern="1" hide_zero="" text="Data stampa">
|
||||||
<font italic="1" face="Arial Narrow" size="8" />
|
<font italic="1" face="Arial Narrow" size="8" />
|
||||||
@ -121,13 +121,13 @@ THEN
|
|||||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" height="4" page_break="" can_break="" pattern="1">
|
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" height="4" page_break="" can_break="" pattern="1">
|
||||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1
|
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1
|
||||||
</prescript>
|
</prescript>
|
||||||
<field border="1" radius="100" x="2" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="25" width="172" codval="" height="2.5" id="" pattern="2" hide_zero="" text="STIMA RICAVI DI COMPETENZA">
|
|
||||||
<font face="Courier New" bold="1" size="16" />
|
|
||||||
</field>
|
|
||||||
<field border="2" x="1" y="3.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="174" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
|
<field border="2" x="1" y="3.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="174" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
|
||||||
<field x="0.96" y="3" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="2" pattern="1" hide_zero="" text="">
|
<field x="0.96" y="3" deactivated="" type="Numero" hidden="1" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="2" pattern="1" hide_zero="" text="">
|
||||||
<source>ANNO</source>
|
<source>ANNO</source>
|
||||||
</field>
|
</field>
|
||||||
|
<field border="1" radius="100" x="2" deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="25" width="172" codval="" height="2.5" id="100" pattern="2" hide_zero="" text="STIMA RICAVI DI COMPETENZA">
|
||||||
|
<font face="Courier New" bold="1" size="16" />
|
||||||
|
</field>
|
||||||
</section>
|
</section>
|
||||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" height="1.5" page_break="1" can_break="" pattern="1">
|
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" height="1.5" page_break="1" can_break="" pattern="1">
|
||||||
<groupby>(LEVELC;2)||(LEVEL=4)</groupby>
|
<groupby>(LEVELC;2)||(LEVEL=4)</groupby>
|
||||||
|
@ -209,6 +209,12 @@ public:
|
|||||||
virtual int remove(TBaseisamfile& f) const;
|
virtual int remove(TBaseisamfile& f) const;
|
||||||
virtual void zero(char c = '\0');
|
virtual void zero(char c = '\0');
|
||||||
|
|
||||||
|
virtual int readat(TRecnotype nrec, word lockop) { return readat(TLocalisamfile(LF_MOVANA), nrec, lockop); }
|
||||||
|
virtual int read(word op, word lockop) { return read(TLocalisamfile(LF_MOVANA), op, lockop); }
|
||||||
|
virtual int write() const { TLocalisamfile f(num()); return write(f); }
|
||||||
|
virtual int rewrite() const { TLocalisamfile f(num()); return rewrite(f); }
|
||||||
|
virtual int remove() const { TLocalisamfile f(num()); return remove(f); }
|
||||||
|
|
||||||
public:
|
public:
|
||||||
int read(long numreg, word lockop = _nolock); // Funzione read di comodo
|
int read(long numreg, word lockop = _nolock); // Funzione read di comodo
|
||||||
int read_cgnum(long numreg, word lockop = _nolock); // Funzione read per leggere con il numero di registrazione contabile
|
int read_cgnum(long numreg, word lockop = _nolock); // Funzione read per leggere con il numero di registrazione contabile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user