//public static void SaveQuotationDetails(String clientcustid, String customeruser, String quotedprod, String quoteqty, String quoteprice, String quoteamt) public static void SaveQuotationDetails(String clientcustid, String customeruser, String AllData) { var xml = XDocument.Load(JsonReaderWriterFactory.CreateJsonReader(Encoding.ASCII.GetBytes(AllData), new XmlDictionaryReaderQuotas())); //VPCRMSBAL.SaveQuotationData(Convert.ToDecimal(clientcustid), VPCRMSDAL.AssignQuoteID(), Convert.ToDecimal(customeruser), quotedprod, Convert.ToDecimal(quoteqty), Convert.ToDecimal(quoteprice), Convert.ToDecimal(quoteamt)); VPCRMSBAL.SaveQuotationData(Convert.ToDecimal(clientcustid), VPCRMSDAL.AssignQuoteID(), Convert.ToDecimal(customeruser), xml.ToString()); }
// To Save/Update client products. public static void SaveProdData(Decimal alias, String prodname, String proddesc, String prodhsn, String prodprice) { VPCRMSDAL VPCRMSDAL = new VPCRMSDAL(); VPCRMSDAL.SaveProdData(alias, prodname, proddesc, prodhsn, prodprice); }