Correzione MI2231. Cambiata la memorizzazione del cod. Attivita':
Memorizza la stringa anziche' il long. git-svn-id: svn://10.65.10.50/trunk@3967 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
40211f0926
commit
9c2d0d0a78
@ -244,7 +244,8 @@ bool TLiquidazione_app::look_plm(int m, const char* a, bool create)
|
|||||||
bool ok = FALSE;
|
bool ok = FALSE;
|
||||||
|
|
||||||
_plm_r->zero();
|
_plm_r->zero();
|
||||||
(*_plm_codatt) = format("%06ld", atol(a));
|
//(*_plm_codatt) = format("%06ld", atol(a));
|
||||||
|
(*_plm_codatt) = format("%6s", a);
|
||||||
(*_plm_mese) = format("%02d",m);
|
(*_plm_mese) = format("%02d",m);
|
||||||
(*_plm_anno) = _year;
|
(*_plm_anno) = _year;
|
||||||
|
|
||||||
@ -270,7 +271,8 @@ bool TLiquidazione_app::look_pum(int m, const char* a, bool create)
|
|||||||
bool ok = FALSE;
|
bool ok = FALSE;
|
||||||
|
|
||||||
_pum->zero();
|
_pum->zero();
|
||||||
(*_pum_codatt) = format("%06ld", atol(a));
|
//(*_pum_codatt) = format("%06ld", atol(a));
|
||||||
|
(*_pum_codatt) = format("%6s", a);
|
||||||
(*_pum_mese) = format("%02d",m);
|
(*_pum_mese) = format("%02d",m);
|
||||||
(*_pum_anno) = _year;
|
(*_pum_anno) = _year;
|
||||||
|
|
||||||
@ -292,7 +294,8 @@ bool TLiquidazione_app::look_pom(int m, const char* a, bool create)
|
|||||||
bool ok = FALSE;
|
bool ok = FALSE;
|
||||||
|
|
||||||
_pom->zero();
|
_pom->zero();
|
||||||
(*_pom_codatt) = format("%06ld", atol(a));
|
//(*_pom_codatt) = format("%06ld", atol(a));
|
||||||
|
(*_pom_codatt) = format("%6s", a);
|
||||||
(*_pom_mese) = format("%02d",m);
|
(*_pom_mese) = format("%02d",m);
|
||||||
(*_pom_anno) = _year;
|
(*_pom_anno) = _year;
|
||||||
|
|
||||||
@ -314,7 +317,8 @@ bool TLiquidazione_app::look_pam(int m, const char* a, bool create)
|
|||||||
bool ok = FALSE;
|
bool ok = FALSE;
|
||||||
|
|
||||||
_pam->zero();
|
_pam->zero();
|
||||||
(*_pam_codatt) = format("%06ld", atol(a));
|
//(*_pam_codatt) = format("%06ld", atol(a));
|
||||||
|
(*_pam_codatt) = format("%6s", a);
|
||||||
(*_pam_mese) = format("%02d",m);
|
(*_pam_mese) = format("%02d",m);
|
||||||
(*_pam_anno) = _year;
|
(*_pam_anno) = _year;
|
||||||
|
|
||||||
@ -446,7 +450,8 @@ bool TLiquidazione_app::look_ppa(int month, const char* codatt, int type, bool c
|
|||||||
_ppa->zero();
|
_ppa->zero();
|
||||||
(*_ppa_year) = _year;
|
(*_ppa_year) = _year;
|
||||||
(*_ppa_month) = format("%02d",month);
|
(*_ppa_month) = format("%02d",month);
|
||||||
(*_ppa_codatt) = format("%06ld", atol(codatt));
|
//(*_ppa_codatt) = format("%06ld", atol(codatt));
|
||||||
|
(*_ppa_codatt) = format("%6s", codatt);
|
||||||
(*_ppa_kind) = type;
|
(*_ppa_kind) = type;
|
||||||
TString ctab = _ppa_r->get("CODTAB");
|
TString ctab = _ppa_r->get("CODTAB");
|
||||||
_ppa->read();
|
_ppa->read();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user