Example #1
0
 public void NotifyStockInSuccess(Department department, DepartmentStockIn stockIn,long stockOutId)
 {
     GlobalMessage message = (GlobalMessage)GlobalUtility.GetObject("GlobalMessage");
     message.PublishMessage(ChannelConstants.DEPT2SUBSTOCK_STOCKOUT, "Đã lấy hàng thành công!");
     ClientUtility.Log(logger, department.DepartmentId + " Nhap lai hang THANH CONG." + stockIn.ToString());
 }
Example #2
0
 public void NotifyStockInFail(Department department, DepartmentStockIn stockIn, long id)
 {
     GlobalMessage message = (GlobalMessage)GlobalUtility.GetObject("GlobalMessage");
         ClientUtility.Log(logger, department.DepartmentId + " Nhap lai hang THAT BAI." + stockIn.ToString());
         message.PublishError(ChannelConstants.DEPT2SUBSTOCK_STOCKOUT, "Đã lấy hàng thất bại!");
 }