예제 #1
0
 public void DoDeleteReceiving(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Delete;
     ReceivingBll bll = new ReceivingBll(contextInfo);
     bll.CallAccessControl();
     bll.DoDeleteReceiving(lstParameters);
     GC.Collect();
 }
예제 #2
0
 public void DeleteSingleCarton(ContextInfo contextInfo, string recsysid,string cartonno,string oldstyleno,string oldcolor,string oldsize)
 {
     contextInfo.Action = MES_ActionType.Query;
     ReceivingBll bll = new ReceivingBll(contextInfo);
     bll.CallAccessControl();
     bll.DeleteSingleCarton(recsysid, cartonno,oldstyleno,oldcolor,oldsize);
     GC.Collect();
 }
예제 #3
0
 public bool CheckReceivingUsed(ContextInfo contextInfo, string recsysid)
 {
     contextInfo.Action = MES_ActionType.Query;
     ReceivingBll bll = new ReceivingBll(contextInfo);
     bll.CallAccessControl();
     bool result = bll.CheckUsed(recsysid);
     GC.Collect();
     return result;
 }
예제 #4
0
 public tinpreceiving GetSingleReceiving(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     ReceivingBll bll = new ReceivingBll(contextInfo);
     bll.CallAccessControl();
     tinpreceiving rs = bll.GetSingleObject<tinpreceiving>(lstParameters);
     GC.Collect();
     return rs;
 }
예제 #5
0
 public DataSet GetReceivingRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     ReceivingBll bll = new ReceivingBll(contextInfo);
     bll.CallAccessControl();
     DataSet rs = bll.GetReceivingRecords(lstParameters);
     GC.Collect();
     return rs;
 }
예제 #6
0
 public List<tinpreceiving> GetReceivingList(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     ReceivingBll bll = new ReceivingBll(contextInfo);
     bll.CallAccessControl();
     List<tinpreceiving> rs = bll.GetSelectedObjects<tinpreceiving>(lstParameters);
     GC.Collect();
     return rs;
 }
예제 #7
0
 public DataSet GetReceivingHeader_Print(ContextInfo contextInfo, string recno)
 {
     contextInfo.Action = MES_ActionType.Query;
     ReceivingBll bll = new ReceivingBll(contextInfo);
     bll.CallAccessControl();
     DataSet rs = bll.GetReceivingHeader_Print(recno);
     GC.Collect();
     return rs;
 }
예제 #8
0
 public void DoUpdateReceiving(ContextInfo contextInfo, tinpreceiving rec,
     List<tinpreceivingdtl> lstDtlNew, List<tinpreceivingdtl> lstDtlUpdated, List<string> lstDeleted)
 {
     contextInfo.Action = MES_ActionType.Update;
     ReceivingBll bll = new ReceivingBll(contextInfo);
     bll.CallAccessControl();
     bll.DoUpdateReceiving(rec, lstDtlNew, lstDtlUpdated, lstDeleted);
     GC.Collect();
 }
예제 #9
0
 public void DoInsertReceiving(ContextInfo contextInfo, tinpreceiving rec,
     List<tinpreceivingdtl> lstDtl)
 {
     contextInfo.Action = MES_ActionType.Insert;
     ReceivingBll bll = new ReceivingBll(contextInfo);
     bll.CallAccessControl();
     bll.DoInsertReceiving(rec, lstDtl);
     GC.Collect();
 }
예제 #10
0
 public void UpdateCartonQty(ContextInfo contextInfo, string recsysid,
     string cartonno,string oldstyleno,string oldcolor,string oldsize, int quantity,string color,string size,string styleno)
 {
     contextInfo.Action = MES_ActionType.Query;
     ReceivingBll bll = new ReceivingBll(contextInfo);
     bll.CallAccessControl();
     bll.UpdateCartonQty(recsysid, cartonno,oldstyleno,oldcolor,oldsize, quantity,color,size,styleno);
     GC.Collect();
 }