Patch level : 10.0 368

Files correlati     : ve0.exe
Ricompilazione Demo : [ ]
Commento            :
0001307: Riporto c.vendita / listino
Se sull'anagrafica clienti ho impostato la c.di vendita ed il codice listino è creando un documento per lo cliente non mi riporta , in testata,la cat.di vendita ed il codice listino


git-svn-id: svn://10.65.10.50/trunk@19100 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2009-07-09 14:22:48 +00:00
parent ea1fdbbc2c
commit 3df8b29015
2 changed files with 8 additions and 2 deletions

View File

@ -126,7 +126,6 @@ void TMotore_application::init_insert_mode( TMask& m )
m.fld(pos).dirty(); m.fld(pos).dirty();
} }
pos = m.id2pos(F_CAUSMAG); pos = m.id2pos(F_CAUSMAG);
if (pos >= 0) if (pos >= 0)
{ {
@ -136,6 +135,13 @@ void TMotore_application::init_insert_mode( TMask& m )
tp.set_defaults(m); tp.set_defaults(m);
if (!dm.field(F_CODCF).empty()) // Carica i dati dell'eventuale cliente
{
curdo.put(DOC_TIPOCF, dm.get(F_TIPOCF));
curdo.put(DOC_CODCF, dm.get(F_CODCF));
dm.cli2mask(true);
}
if (provv == 'P') if (provv == 'P')
m.enable(DLG_CONFERMA); m.enable(DLG_CONFERMA);
else else

View File

@ -2463,7 +2463,7 @@ bool link_handler( TMask_field& f, KEY key )
cur = 0L; cur = 0L;
siblings.add(FR_CODART); siblings.add(FR_CODART);
TBrowse_sheet sht(&cur, items, "Selezione Multipla", head, 0, row_mask.efield(FR_CODART), siblings); TBrowse_sheet sht(&cur, items, TR("Selezione multipla"), head, 0, row_mask.efield(FR_CODART), siblings);
if (sht.run() == K_ENTER && sht.one_checked()) if (sht.run() == K_ENTER && sht.one_checked())
{ {