Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : Creazione ordini fornitore SRM git-svn-id: svn://10.65.10.50/branches/R_10_00@21355 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b1b181a918
commit
f0b71a9fad
@ -447,7 +447,7 @@ void TCrea_ordini_srm_app::elimina_righe(const TDocumento& ordc, const TAssoc_ar
|
|||||||
for(int i = 1; i <= ordf.physical_rows(); i++)
|
for(int i = 1; i <= ordf.physical_rows(); i++)
|
||||||
{
|
{
|
||||||
if (ordf.get_int(RDOC_NRIGA) == 0)
|
if (ordf.get_int(RDOC_NRIGA) == 0)
|
||||||
ordf.destroy_row(nriga, true);
|
ordf.destroy_row(i, true);
|
||||||
}
|
}
|
||||||
for (int i = 1; i <= ordf.physical_rows(); i++)
|
for (int i = 1; i <= ordf.physical_rows(); i++)
|
||||||
ordf.put(RDOC_NRIGA, i);
|
ordf.put(RDOC_NRIGA, i);
|
||||||
@ -476,6 +476,7 @@ void TCrea_ordini_srm_app::elabora_ordini_cliente()
|
|||||||
//scorro le righe documento, fermandomi quando la set_paragraph fallisce
|
//scorro le righe documento, fermandomi quando la set_paragraph fallisce
|
||||||
//dal momento che non so a priori quante sono le righe del documento
|
//dal momento che non so a priori quante sono le righe del documento
|
||||||
|
|
||||||
|
message_box("start");
|
||||||
for(int i = 1; i <= ordc.rows(); i++)
|
for(int i = 1; i <= ordc.rows(); i++)
|
||||||
{
|
{
|
||||||
TRiga_documento& rordc = ordc[i];
|
TRiga_documento& rordc = ordc[i];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user