src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.html
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
equal deleted inserted replaced
1027:2e9052d7de0e 1028:8b85368639cc
    52 <SCRIPT language="JavaScript" type="text/javascript">
    52 <SCRIPT language="JavaScript" type="text/javascript">
    53 
    53 
    54 function depurar(command) {
    54 function depurar(command) {
    55 	var frm = document.frmMain;
    55 	var frm = document.frmMain;
    56 	if (frm.inpAgno.value == null || frm.inpAgno.value == "") {
    56 	if (frm.inpAgno.value == null || frm.inpAgno.value == "") {
    57 		frm.inpAgno.focus();
    57 		setWindowElementFocus(frm.inpAgno);
    58 		mensaje(7);
    58 		mensaje(7);
    59 		return false;
    59 		return false;
    60 	} else if (frm.inpAgnoRef.value == null || frm.inpAgnoRef.value == "") {
    60 	} else if (frm.inpAgnoRef.value == null || frm.inpAgnoRef.value == "") {
    61 		frm.inpAgnoRef.focus();
    61 		setWindowElementFocus(frm.inpAgnoRef);
    62 		mensaje(7);
    62 		mensaje(7);
    63 		return false;
    63 		return false;
    64 	} else if (frm.inpOrganizacion.value == ""){
    64 	} else if (frm.inpOrganizacion.value == ""){
    65 		frm.inpOrganizacion.focus();
    65 		setWindowElementFocus(frm.inpOrganizacion);
    66 		mensaje(1);
    66 		mensaje(1);
    67 		return false;
    67 		return false;
    68 	} else if (frm.inpcAcctSchemaId.value == ""){
    68 	} else if (frm.inpcAcctSchemaId.value == ""){
    69 		frm.inpcAcctSchemaId.focus();
    69 		setWindowElementFocus(frm.inpcAcctSchemaId);
    70 		mensaje(1);
    70 		mensaje(1);
    71 		return false;
    71 		return false;
    72 	} else if (frm.inpcElementvalueId.value == ""){
    72 	} else if (frm.inpcElementvalueId.value == ""){
    73 		frm.inpcElementvalueId.focus();
    73 		setWindowElementFocus(frm.inpcElementvalueId);
    74 		mensaje(1);
    74 		mensaje(1);
    75 		return false;
    75 		return false;
    76 	} else if (frm.inpLevel.value == ""){
    76 	} else if (frm.inpLevel.value == ""){
    77 		frm.inpLevel.focus();
    77 		setWindowElementFocus(frm.inpLevel);
    78 		mensaje(1);
    78 		mensaje(1);
    79 		return false;
    79 		return false;
    80 	}
    80 	}
    81 	return true;
    81 	return true;
    82 }
    82 }