Patch level : 12.0 462

Files correlati     :   ve0.exe

 Errore segnalato da Dinamica   
I controllo di commessa chiusa sui documenti era bloccante, non può esserlo perché devo poter modificare un vecchio documento o evadere fatture da emettere o ricevere
La segnalazione  non bloccante viene data quanto la commessa è e chiusa e siamo oltre l'eventuale proroga, solo al cambio di commessa.



git-svn-id: svn://10.65.10.50/branches/R_10_00@24168 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
bonazzi 2017-11-02 09:39:51 +00:00
parent 712485de4c
commit 554c02f940

View File

@ -2925,7 +2925,7 @@ bool cms_mag_handler(TMask_field& f, KEY key)
if (chiusa && curr.get_bool(COMMESSE_PROROGA))
chiusa = mask.get_date(F_DATADOC) > curr.get_date(COMMESSE_DATAPROR);
if (chiusa)
return f.error_box(FR("La commessa chiusa %s, vuoi utilizzarla"), (const char*)codcms);
return f.yesno_box(FR("La commessa chiusa %s, vuoi utilizzarla"), (const char*)codcms);
}
mask.codcms_sh() = codcms;
@ -2993,7 +2993,7 @@ bool codcms_handler(TMask_field& f, KEY key)
if (chiusa && curr_cms.get_bool(COMMESSE_PROROGA))
chiusa = mask.get_date(F_DATADOC) > curr_cms.get_date(COMMESSE_DATAPROR);
if (chiusa)
return f.error_box(FR("La commessa chiusa %s, vuoi utilizzarla"), (const char*)codcms);
return f.yesno_box(FR("La commessa chiusa %s, vuoi utilizzarla"), (const char*)codcms);
}
doc.put(DOC_CODCMS, codcms);
FOR_EACH_PHYSICAL_RDOC(doc, r, riga)