public bool DealingWithQuotations(String enquiryPriceId) { string[] sParams = { "enquiryPriceID" }; object[] objParamValues = { enquiryPriceId }; SqlDbType[] paramTypes = { SqlDbType.VarChar }; return(_da.ExecuteSP("spDealingWithQuotations", sParams, objParamValues, paramTypes)); }
public String UpdateMRMaterialQuantity(String strPKValue) { String errMessage = String.Empty; string[] sParams = { "ID", "Type" }; object[] objParamValues = { strPKValue, (int)QuantityType.QuantityInPOConfirm }; SqlDbType[] paramTypes = { SqlDbType.VarChar, SqlDbType.Int }; bool executeResult = _da.ExecuteSP("spUpdateMRMaterialQuantity", sParams, objParamValues, paramTypes); if (!executeResult) { errMessage = "FailedExecuteSP"; } return(errMessage); }