Patch level : 4.0 906

Files correlati     :
Ricompilazione Demo : [ ]
Commento           :

Aggiunta sulle comesses e documenti la gestione delle commesse promiscue con tipo indetraibilita'


git-svn-id: svn://10.65.10.50/trunk@16309 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2008-03-12 16:57:07 +00:00
parent be4c8bc2a8
commit 7ef11b7bbf

View File

@ -1054,9 +1054,11 @@ void TRiga_documento::autosave(TSheet_field& f)
if (regiva.full()) if (regiva.full())
{ {
put( RDOC_TIPODET, 9 ); const TString4 tipod = regiva == "PR" ? rec_cms.get(COMMESSE_INDETR) : "9";
row.add(9, f.cid2index(FR_TIPODET));
m.set(FR_TIPODET, 9); put( RDOC_TIPODET, tipod );
row.add(tipod, f.cid2index(FR_TIPODET));
m.set(FR_TIPODET, tipod);
} }
} }
} //if(tipodet!=9) } //if(tipodet!=9)