Patch level : 4.0 418

Files correlati     :  ve0.exe
Ricompilazione Demo : [ ]
Commento            :

Corretta funzione parentdoc


git-svn-id: svn://10.65.10.50/trunk@13997 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2006-05-18 15:49:49 +00:00
parent 7656644cbe
commit a8d3b8d7bb
2 changed files with 2 additions and 3 deletions

View File

@ -484,7 +484,7 @@ bool TReport_doc::msg_parent_doc(TVariant_stack& stack)
{
const TRiga_documento* first_merc = NULL;
const TRiga_documento* first_desc = NULL;
for (int r = 1; r <= doc().items(); r++)
for (int r = 1; r <= doc().physical_rows(); r++)
{
const TRiga_documento& row = riga_doc(r);
if (row.get(RDOC_DANDOC).not_empty())

View File

@ -926,7 +926,7 @@ void TDocumento_mask::spese2mask()
spese.add(s);
}
doc().put("SPESEUPD", FALSE);
// doc().put("SPESEUPD", FALSE);
doc().put(DOC_CODVAL, get(F_CODVAL));
doc().put(DOC_CAMBIO, get(F_CAMBIO));
doc().put(DOC_CONTROEURO, get(F_CONTROEURO));
@ -1364,7 +1364,6 @@ bool TDocumento_mask::ss_notify( TSheet_field& ss, int r, KEY key )
ss.sheet_mask().enable(DLG_USER, on);
}
return TRUE;
}