public static void ReturnSaveUpdate(ReturnSaveUpdateInfo ReturnSaveUpdateObj, AspxCommonInfo aspxCommonObj) { try { AspxUserDashProvider.ReturnSaveUpdate(ReturnSaveUpdateObj, aspxCommonObj); } catch (Exception e) { throw e; } }
public static void ReturnSaveUpdate(ReturnSaveUpdateInfo ReturnSaveUpdateObj, AspxCommonInfo aspxCommonObj) { try { List <KeyValuePair <string, object> > parameterCollection = CommonParmBuilder.GetFParamNoU(aspxCommonObj); parameterCollection.Add(new KeyValuePair <string, object>("OrderID", ReturnSaveUpdateObj.OrderID)); parameterCollection.Add(new KeyValuePair <string, object>("ItemID", ReturnSaveUpdateObj.ItemID)); parameterCollection.Add(new KeyValuePair <string, object>("ItemName", ReturnSaveUpdateObj.ItemName)); parameterCollection.Add(new KeyValuePair <string, object>("CostVariantValueIDs", ReturnSaveUpdateObj.CostVariantIDs)); parameterCollection.Add(new KeyValuePair <string, object>("CostVariant", ReturnSaveUpdateObj.CostVariants)); parameterCollection.Add(new KeyValuePair <string, object>("Quantity", ReturnSaveUpdateObj.Quantity)); parameterCollection.Add(new KeyValuePair <string, object>("ReturnProductStatusID", ReturnSaveUpdateObj.ProductStatusID)); parameterCollection.Add(new KeyValuePair <string, object>("ReturnReasonID", ReturnSaveUpdateObj.ReturnReasonID)); parameterCollection.Add(new KeyValuePair <string, object>("OtherDetails", ReturnSaveUpdateObj.OtherDetails)); parameterCollection.Add(new KeyValuePair <string, object>("ReturnShippingAddressID", ReturnSaveUpdateObj.ReturnShippingAddressID)); parameterCollection.Add(new KeyValuePair <string, object>("AddedBy", aspxCommonObj.UserName)); OracleHandler sqlH = new OracleHandler(); sqlH.ExecuteNonQuery("usp_Aspx_ReturnSaveUpdate", parameterCollection); } catch (Exception e) { throw e; } }
public void ReturnSaveUpdate(ReturnSaveUpdateInfo ReturnSaveUpdateObj, AspxCommonInfo aspxCommonObj) { try { AspxUserDashController.ReturnSaveUpdate(ReturnSaveUpdateObj, aspxCommonObj); } catch (Exception ex) { throw ex; } }
public static void ReturnSaveUpdate(ReturnSaveUpdateInfo ReturnSaveUpdateObj, AspxCommonInfo aspxCommonObj) { try { List<KeyValuePair<string, object>> parameterCollection = CommonParmBuilder.GetFParamNoU(aspxCommonObj); parameterCollection.Add(new KeyValuePair<string, object>("@OrderID", ReturnSaveUpdateObj.OrderID)); parameterCollection.Add(new KeyValuePair<string, object>("@ItemID", ReturnSaveUpdateObj.ItemID)); parameterCollection.Add(new KeyValuePair<string, object>("@ItemName", ReturnSaveUpdateObj.ItemName)); parameterCollection.Add(new KeyValuePair<string, object>("@CostVariantValueIDs", ReturnSaveUpdateObj.CostVariantIDs)); parameterCollection.Add(new KeyValuePair<string, object>("@CostVariant", ReturnSaveUpdateObj.CostVariants)); parameterCollection.Add(new KeyValuePair<string, object>("@Quantity", ReturnSaveUpdateObj.Quantity)); parameterCollection.Add(new KeyValuePair<string, object>("@ReturnProductStatusID", ReturnSaveUpdateObj.ProductStatusID)); parameterCollection.Add(new KeyValuePair<string, object>("@ReturnReasonID", ReturnSaveUpdateObj.ReturnReasonID)); parameterCollection.Add(new KeyValuePair<string, object>("@OtherDetails", ReturnSaveUpdateObj.OtherDetails)); parameterCollection.Add(new KeyValuePair<string, object>("@ReturnShippingAddressID", ReturnSaveUpdateObj.ReturnShippingAddressID)); parameterCollection.Add(new KeyValuePair<string, object>("@AddedBy", aspxCommonObj.UserName)); SQLHandler sqlH = new SQLHandler(); sqlH.ExecuteNonQuery("usp_Aspx_ReturnSaveUpdate", parameterCollection); } catch (Exception e) { throw e; } }