src/org/openbravo/erpCommon/ad_forms/RequisitionToOrderCreate.html
changeset 1028 8b85368639cc
parent 770 8850d5956eba
child 1044 8691bbc94032
equal deleted inserted replaced
1027:2e9052d7de0e 1028:8b85368639cc
    54       return true;
    54       return true;
    55     }
    55     }
    56       function depurar(action) {
    56       function depurar(action) {
    57         var frm=document.frmMain;
    57         var frm=document.frmMain;
    58         if (frm.inpOrderDate.value==null || frm.inpOrderDate.value=="") {
    58         if (frm.inpOrderDate.value==null || frm.inpOrderDate.value=="") {
    59             frm.inpOrderDate.focus();
    59             setWindowElementFocus(frm.inpOrderDate);
    60             mensaje(7);
    60             mensaje(7);
    61             return false;
    61             return false;
    62         }
    62         }
    63         if (frm.inpOrderVendorId.value==null || frm.inpOrderVendorId.value=="") {
    63         if (frm.inpOrderVendorId.value==null || frm.inpOrderVendorId.value=="") {
    64             frm.inpOrderVendorId_DES.focus();
    64             setWindowElementFocus(frm.inpOrderVendorId_DES);
    65             mensaje(7);
    65             mensaje(7);
    66             return false;
    66             return false;
    67         }
    67         }
    68         if (frm.inpPriceListId.value==null || frm.inpPriceListId.value=="") {
    68         if (frm.inpPriceListId.value==null || frm.inpPriceListId.value=="") {
    69             frm.inpPriceListId.focus();
    69             setWindowElementFocus(frm.inpPriceListId);
    70             mensaje(7);
    70             mensaje(7);
    71             return false;
    71             return false;
    72         }
    72         }
    73         if (frm.inpOrderOrg.value==null || frm.inpOrderOrg.value=="") {
    73         if (frm.inpOrderOrg.value==null || frm.inpOrderOrg.value=="") {
    74             frm.inpOrderOrg.focus();
    74             setWindowElementFocus(frm.inpOrderOrg);
    75             mensaje(7);
    75             mensaje(7);
    76             return false;
    76             return false;
    77         }
    77         }
    78         if (frm.inpWarehouse.value==null || frm.inpWarehouse.value=="") {
    78         if (frm.inpWarehouse.value==null || frm.inpWarehouse.value=="") {
    79             frm.inpWarehouse.focus();
    79             setWindowElementFocus(frm.inpWarehouse);
    80             mensaje(7);
    80             mensaje(7);
    81             return false;
    81             return false;
    82         }
    82         }
    83         return true;
    83         return true;
    84       }
    84       }