public DataSet SaveExpressPackage(string ExpressNumber, string PackageType, long CustomerID, string WarehouseName, string PackageCode) { DataSet EPR = new DataSet(); try { OrderECManagementAccessor accessor = new OrderECManagementAccessor(); EPR = accessor.SaveExpressPackage(ExpressNumber, PackageType, CustomerID, WarehouseName, PackageCode); } catch (Exception ex) { LogError(ex); } return(EPR); }
public DataSet CheckExpress(string ExpressNumber, long CustomerID, string WarehouseName, string Type) { DataSet EPR = new DataSet(); try { OrderECManagementAccessor accessor = new OrderECManagementAccessor(); EPR = accessor.CheckExpress(ExpressNumber, CustomerID, WarehouseName, Type); } catch (Exception ex) { LogError(ex); } return(EPR); }
public ExpressPackageResponse CheckExpress(string ExpressNumber, long CustomerID, string WarehouseName) { ExpressPackageResponse EPR = new ExpressPackageResponse(); try { OrderECManagementAccessor accessor = new OrderECManagementAccessor(); EPR = accessor.CheckExpress(ExpressNumber, CustomerID, WarehouseName); } catch (Exception ex) { LogError(ex); } return(EPR); }
public Response <string> UpdateOrderExpressInfo(IEnumerable <OrderInfo> orders, long CustomerID) { Response <string> response = new Response <string>(); try { OrderECManagementAccessor accessor = new OrderECManagementAccessor(); response.Result = accessor.UpdateOrderExpressInfo(orders, CustomerID); response.IsSuccess = true; } catch (Exception ex) { LogError(ex); response.Exception = ex; response.IsSuccess = false; } return(response); }
public Response <GetOrderByConditionResponse> ExternOrderNumberCheck(List <OrderNumbers> list, long CustomerID) { Response <GetOrderByConditionResponse> response = new Response <GetOrderByConditionResponse>() { Result = new GetOrderByConditionResponse() }; try { OrderECManagementAccessor accessor = new OrderECManagementAccessor(); response.Result = accessor.ExternOrderNumberCheck(list, CustomerID); response.IsSuccess = true; } catch (Exception ex) { LogError(ex); response.Exception = ex; response.IsSuccess = false; response.ErrorCode = ErrorCode.Technical; } return(response); }