Exemple #1
0
 public object InsertUpdateQuotation(Quotation quotation)
 {
     if (quotation.QuotationDetailList.Count > 0)
     {
         quotation.DetailXML = _commonBusiness.GetXMLfromQuotationObject(quotation.QuotationDetailList, "ProductID,ProductModelID,Qty,Rate,UnitCode");
     }
     if (quotation.QuotationOtherChargeList.Count > 0)
     {
         quotation.OtherChargeDetailXML = _commonBusiness.GetXMLfromQuotationOtherChargeObject(quotation.QuotationOtherChargeList, "OtherChargeCode,ChargeAmount");
     }
     return(_quotationRepository.InsertUpdateQuotation(quotation));
 }