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:
parent
305931491f
commit
38a16b3ae6
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user