Patch level : 10.0 858
Files correlati : 770.exe Ricompilazione Demo : [ ] Commento : Bug 0001416: 001503 - dati precompilati in chiusura registrazione contabile la versione 3.2 precompilava l'imponibile e gli importi della registrazione della fattura percipiente, la versione enterprise no. E' richiesto che i campi vengano precompilati anche in caso di carico nota percipiente. La modifica fatta prevede di compilare i campi dalla prima nota quando la scheda percipiente non esista già. Dovrebbe risolvere anche questo problema. Nel caso non sia così. serbbe utile dettalòiare meglio il caso. git-svn-id: svn://10.65.10.50/branches/R_10_00@21287 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
464ef0777b
commit
6b2a529d06
@ -721,7 +721,7 @@ void TSchedaPercipienti::init_modify_mode(TMask& m)
|
|||||||
_ragsoc = get_ragsoc(_tipoa, _codanagr);
|
_ragsoc = get_ragsoc(_tipoa, _codanagr);
|
||||||
|
|
||||||
// inizilizza maschera
|
// inizilizza maschera
|
||||||
init_mask(m);
|
init_mask(m, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TSchedaPercipienti::init_insert_mode(TMask& m)
|
void TSchedaPercipienti::init_insert_mode(TMask& m)
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
#include "770102.h"
|
#include "770102.h"
|
||||||
#include <tabutil.h>
|
#include <tabutil.h>
|
||||||
|
|
||||||
void TSchedaPercipienti::init_mask(TMask& m)
|
void TSchedaPercipienti::init_mask(TMask& m, bool inserimento)
|
||||||
{
|
{
|
||||||
update_lasts(m);
|
update_lasts(m);
|
||||||
|
|
||||||
// se collegamento
|
// se collegamento
|
||||||
if (tipo_coll() != nessuno)
|
if (tipo_coll() != nessuno)
|
||||||
{
|
{
|
||||||
const bool variazione = coll_variazione();
|
if (inserimento)
|
||||||
if (!variazione) compila_testata(m);
|
compila_testata(m);
|
||||||
switch (tipo_coll())
|
switch (tipo_coll())
|
||||||
{
|
{
|
||||||
case pagamento:
|
case pagamento:
|
||||||
|
@ -184,7 +184,7 @@ class TSchedaPercipienti : public TRelation_application
|
|||||||
virtual int read(TMask& m);
|
virtual int read(TMask& m);
|
||||||
virtual void on_config_change();
|
virtual void on_config_change();
|
||||||
|
|
||||||
void init_mask(TMask&);
|
void init_mask(TMask& m, bool inserimento = true);
|
||||||
TMask* load_mask(int n);
|
TMask* load_mask(int n);
|
||||||
void fill_sheet(TMask&);
|
void fill_sheet(TMask&);
|
||||||
bool scrivi_dati_per(TRectype& rec);
|
bool scrivi_dati_per(TRectype& rec);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user