コード例 #1
0
 public void OnClosePallet() {
   log.debug("OnClosePallet().");
   if (palletMeanegementView.getQty() == 0
       && !"Closed".equalsIgnoreCase(palletMeanegementView.getStatus().getName())) {
     showDialog(
         MessageDialog.SAVE.getMessageHeader(),
         "The Pallet will not be used agin.",
         "confirmClosePalletDlg");
   } else if ("Closed".equalsIgnoreCase(palletMeanegementView.getStatus().getName())) {
     log.debug("Already Closed Pallet");
     showDialogWarning("Already Closed Pallet");
   } else {
     log.debug("Qty > 0");
     showDialogError("Qty > 0");
   }
   statusOnShow = 0;
 }
コード例 #2
0
  public void onClickPalletTB() {
    log.debug("onClickPalletTB(). {}", palletMeanegementView);
    isCheckPrintTag = false;
    isCheckClosePallet = false;
    if (palletMeanegementView.getStatus().getId() > 2) {
      isCheckLocation = false;
    } else {
      isCheckLocation = true;
    }

    if (palletMeanegementView.getIsFoil() == 1) {
      isCheckUnFoil = false;
    }
  }