Patch level : 10.0 324

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

Salvataggio valori vendita e costo sui preventivi (Dinamica)


git-svn-id: svn://10.65.10.50/trunk@18972 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2009-06-03 11:31:29 +00:00
parent 1621029b88
commit cb1b3459c0
3 changed files with 6 additions and 5 deletions

View File

@ -827,6 +827,7 @@ int TGestione_preventivo_app::write( const TMask& m )
{
const real importo = row.importo(true, false);
row.put(RDOC_VALV, importo);
for (int i = level - 1; i >= 0; i--)
{
real * r = (real *) valori.objptr(i);
@ -841,6 +842,7 @@ int TGestione_preventivo_app::write( const TMask& m )
const real costo = row.get_real(RDOC_QTA) * row.get_real(RDOC_COSTO);
row.put(RDOC_VALC, costo);
for (int i = level - 1; i >= 0; i--)
{
real * r = (real *) costi.objptr(i);
@ -901,6 +903,7 @@ int TGestione_preventivo_app::rewrite( const TMask& m )
{
const real importo = row.importo(true, false);
row.put(RDOC_VALV, importo);
for (int i = level - 1; i >= 0; i--)
{
real * r = (real *) valori.objptr(i);
@ -915,6 +918,7 @@ int TGestione_preventivo_app::rewrite( const TMask& m )
const real costo = row.get_real(RDOC_QTA) * row.get_real(RDOC_COSTO);
row.put(RDOC_VALC, costo);
for (int i = level - 1; i >= 0; i--)
{
real * r = (real *) costi.objptr(i);

View File

@ -162,9 +162,6 @@ void TGenerazione_esecutivo::post_process_output(TLista_documenti& doc_out)
}
}
}
for (int j = 1 ; j < doc.physical_rows(); j++)
if (doc[j].get(RDOC_TREE).blank())
break;
}
}
@ -237,7 +234,7 @@ protected:
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
public:
TGenEsecutivo_mask() : TAutomask("pe0500a") { open(); }
TGenEsecutivo_mask() : TAutomask("pe0500a") {}
};
bool TGenEsecutivo_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)

View File

@ -111,7 +111,7 @@ protected:
virtual bool on_field_event(TOperable_field& o, TField_event e, long jolly);
public:
TGenOrdini_mask() : TAutomask("pe0600a") { open(); }
TGenOrdini_mask() : TAutomask("pe0600a") {}
};
bool TGenOrdini_mask::on_field_event(TOperable_field& o, TField_event e, long jolly)