Пример #1
0
 public tinppricing GetSinglePricing(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     PricingBll bll = new PricingBll(contextInfo);
     bll.CallAccessControl();
     tinppricing rs = bll.GetSingleObject<tinppricing>(lstParameters);
     GC.Collect();
     return rs;
 }
Пример #2
0
 public void DoUpdatePricing(ContextInfo contextInfo, tinppricing prc, List<tinppricingdtl> lstPrcDtl,
     List<tinppricingdtldef> lstDef)
 {
     contextInfo.Action = MES_ActionType.Update;
     PricingBll bll = new PricingBll(contextInfo);
     bll.CallAccessControl();
     bll.DoUpdatePricing(prc, lstPrcDtl, lstDef);
     GC.Collect();
 }
Пример #3
0
 public DataSet GetPricingRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     PricingBll bll = new PricingBll(contextInfo);
     bll.CallAccessControl();
     DataSet rs = bll.GetPricingRecords(lstParameters);
     GC.Collect();
     return rs;
 }
Пример #4
0
 public DataSet GetValidPricing(ContextInfo contextInfo, string customerid, DateTime dt)
 {
     contextInfo.Action = MES_ActionType.Query;
     PricingBll bll = new PricingBll(contextInfo);
     bll.CallAccessControl();
     DataSet rs = bll.GetValidPricing(customerid, dt);
     GC.Collect();
     return rs;
 }