Trasformati nomi campi stringa in macro
git-svn-id: svn://10.65.10.50/branches/R_10_00@23151 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a54d051988
commit
51299d6178
@ -1040,9 +1040,9 @@ void TRilevamento_cons_msk::registra()
|
|||||||
TDoc_cache ca;
|
TDoc_cache ca;
|
||||||
TSheet_field& sheet = sfield(F_SHEET);
|
TSheet_field& sheet = sfield(F_SHEET);
|
||||||
TRilevamento_ore rilroa;
|
TRilevamento_ore rilroa;
|
||||||
TString80 codcosto;
|
TCodice_cdc codcosto;
|
||||||
TString80 codcms;
|
TCodice_cms codcms;
|
||||||
TString16 codfase;
|
TCodice_fas codfase;
|
||||||
int err = NOERR;
|
int err = NOERR;
|
||||||
const TString4 dett = get(F_INTERVALLO);
|
const TString4 dett = get(F_INTERVALLO);
|
||||||
|
|
||||||
@ -1071,8 +1071,7 @@ void TRilevamento_cons_msk::registra()
|
|||||||
if (_numcn.full() && _tipocn.full())
|
if (_numcn.full() && _tipocn.full())
|
||||||
{
|
{
|
||||||
TDocumento & doc = ca.doc(rilroa);
|
TDocumento & doc = ca.doc(rilroa);
|
||||||
const int docrow = doc.id2rownum(rilroa.get_long(RILORE_IDRIGA));
|
const int docrow = doc.id2rownum(rilroa.get_long(RILORE_IDRIGA));
|
||||||
|
|
||||||
if (docrow > 0)
|
if (docrow > 0)
|
||||||
doc.destroy_row(docrow, true);
|
doc.destroy_row(docrow, true);
|
||||||
}
|
}
|
||||||
@ -1173,7 +1172,8 @@ void TRilevamento_cons_msk::registra()
|
|||||||
rdoc.put(RDOC_PREZZO, costo);
|
rdoc.put(RDOC_PREZZO, costo);
|
||||||
rdoc.put(RDOC_PREZZOL, rdoc.iva(risatt.cod_iva()).lordo(costo, ALL_DECIMALS));
|
rdoc.put(RDOC_PREZZOL, rdoc.iva(risatt.cod_iva()).lordo(costo, ALL_DECIMALS));
|
||||||
rdoc.put(RDOC_CODIVA, risatt.cod_iva());
|
rdoc.put(RDOC_CODIVA, risatt.cod_iva());
|
||||||
rilroa.put(RILORE_PROVV, key.provv());
|
|
||||||
|
rilroa.put(RILORE_PROVV, key.provv());
|
||||||
rilroa.put(RILORE_ANNOD, key.anno());
|
rilroa.put(RILORE_ANNOD, key.anno());
|
||||||
rilroa.put(RILORE_CODNUM, key.codnum());
|
rilroa.put(RILORE_CODNUM, key.codnum());
|
||||||
rilroa.put(RILORE_NDOC, key.ndoc());
|
rilroa.put(RILORE_NDOC, key.ndoc());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user