Correzione MI6213: tolto il controllo relativo all'insoluto/nota di

credito.


git-svn-id: svn://10.65.10.50/trunk@4292 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1997-04-18 14:15:52 +00:00
parent 305931491f
commit 38a16b3ae6

View File

@ -1866,9 +1866,9 @@ bool TVar_sc::contropartita_handler(TMask_field& f, KEY k)
TString npart = f.mask().get (107);
int nriga = f.mask().get_int (110);
int tipomov = app().tipo_movimento(tipo,g,c,s,anno,npart,nriga,*(app()._mask));
if ( (tipomov == 2 || tipomov == 5) && (g != 0 || c != 0 || s != 0) )
return f.warning_box("La contropartita non puo' essere indicata in caso di Nota credito e Insoluto");
// int tipomov = app().tipo_movimento(tipo,g,c,s,anno,npart,nriga,*(app()._mask));
// if ( (tipomov == 2 || tipomov == 5) && (g != 0 || c != 0 || s != 0) )
// return f.warning_box("La contropartita non puo' essere indicata in caso di Nota credito e Insoluto");
TString tipocf = f.mask().get(121);