/// <summary> /// This Method is a interface to getPurchaseRequestDetails function /// </summary> /// <param name="PReqNo_SI"></param> /// <returns></returns> /// <history> /// Hari haran 07/05/2012 created /// </history> public iSmartEntity getPurchaseRequestDetails_SI(string PReqNo_SI) { try { logger.Debug("iSmartInterface: getPurchaseRequestDetails_SI() called"); logger.Debug("PReqNo value : " + PReqNo_SI); iSmart_BAL getTS_BAL = new iSmart_BAL(); logger.Debug("Control Flow : Method - getPurchaseRequestDetails_SI Stop"); return (getTS_BAL.getPurchaseRequestDetails_BAL(PReqNo_SI)); } catch (SqlException dbEx) { logger.Error("Database Exception At iSmartInterface - getPurchaseRequestDetails_SI : " + dbEx.Message.ToString()); logger.Error("iSmartInterface: getPurchaseRequestDetails_SI() returning error"); throw dbEx; } catch (Exception ex) { logger.Error("Exception At iSmartInterface - getPurchaseRequestDetails_SI : " + ex.Message.ToString()); logger.Error("iSmartInterface: getPurchaseRequestDetails_SI() returning error"); throw ex; } }