//--ShipmentsListManagement     
 public List<ShipmentsDetailsInfo> GetShipmentsDetails(int offset, System.Nullable<int> limit, ShipmentsBasicinfo shipmentObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List<ShipmentsDetailsInfo> lstShipmentDet = AspxShipMethodMgntController.GetShipmentsDetails(offset, limit, shipmentObj, aspxCommonObj);
         return lstShipmentDet;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
        //--ShipmentsListManagement

        public static List <ShipmentsDetailsInfo> GetShipmentsDetails(int offset, System.Nullable <int> limit, ShipmentsBasicinfo shipmentObj, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <ShipmentsDetailsInfo> lstShipmentDet = AspxShipMethodMgntProvider.GetShipmentsDetails(offset, limit, shipmentObj, aspxCommonObj);
                return(lstShipmentDet);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
 //--ShipmentsListManagement
 
 public static List<ShipmentsDetailsInfo> GetShipmentsDetails(int offset, System.Nullable<int> limit, ShipmentsBasicinfo shipmentObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List<KeyValuePair<string, object>> parameter = CommonParmBuilder.GetParamSPUC(aspxCommonObj);
         parameter.Add(new KeyValuePair<string, object>("@offset", offset));
         parameter.Add(new KeyValuePair<string, object>("@limit", limit));
         parameter.Add(new KeyValuePair<string, object>("@ShippingMethodName", shipmentObj.ShippingMethodName));
         parameter.Add(new KeyValuePair<string, object>("@ShipToName", shipmentObj.ShipToName));
         parameter.Add(new KeyValuePair<string, object>("@OrderID", shipmentObj.OrderID));
         SQLHandler sqlH = new SQLHandler();
         List<ShipmentsDetailsInfo> lstShipmentDet= sqlH.ExecuteAsList<ShipmentsDetailsInfo>("usp_Aspx_GetShipmentsDetails", parameter);
         return lstShipmentDet;
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Example #4
0
        //--ShipmentsListManagement

        public static List <ShipmentsDetailsInfo> GetShipmentsDetails(int offset, System.Nullable <int> limit, ShipmentsBasicinfo shipmentObj, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamSPUC(aspxCommonObj);
                parameter.Add(new KeyValuePair <string, object>("offset", offset));
                parameter.Add(new KeyValuePair <string, object>("limit", limit));
                parameter.Add(new KeyValuePair <string, object>("ShippingMethodName", shipmentObj.ShippingMethodName));
                parameter.Add(new KeyValuePair <string, object>("ShipToName", shipmentObj.ShipToName));
                parameter.Add(new KeyValuePair <string, object>("OrderID", shipmentObj.OrderID));
                OracleHandler sqlH = new OracleHandler();
                List <ShipmentsDetailsInfo> lstShipmentDet = sqlH.ExecuteAsList <ShipmentsDetailsInfo>("usp_Aspx_GetShipmentsDetails", parameter);
                return(lstShipmentDet);
            }
            catch (Exception e)
            {
                throw e;
            }
        }