BUG-12257 No es posible crear un Report Table-New Version... SOLVED

- El valor del PRO_UID no fue inicializado.
- Se captura el valor para iniciar el PRO_UID.
This commit is contained in:
Marco Antonio Nina
2013-06-25 15:04:44 -04:00
parent d36f3abe56
commit cccf288b9c

View File

@@ -979,9 +979,10 @@ function createReportTable()
});
return false;
}
//validate process
if(Ext.getCmp('PROCESS').getValue().trim() == '') {
PRO_UID = PRO_UID !== false ? PRO_UID : ((Ext.getCmp('PROCESS').getValue().trim() != '') ? Ext.getCmp('PROCESS').getValue().trim() : '')
if(PRO_UID == '') {
Ext.getCmp('PROCESS').focus();
PMExt.error(_('ID_ERROR'), _('ID_PROCESS_IS_REQUIRED'), function(){
Ext.getCmp('PROCESS').focus();