Exemplo n.º 1
0
 public DIActionRules FetchDIActionRules(DIActionRules Di, SafeDataReader dr)
 {
     Di.DIID = dr.GetInt32("DIID");
     Di.ForState = dr.GetString("ForState");
     Di.DO = dr.GetInt32("do");
     Di.UNDO = dr.GetInt32("undo");
     return Di;
 }
Exemplo n.º 2
0
 private Vendor FetchUnMatchedVendorDetails(Vendor vendor, SafeDataReader dr)
 {
     vendor.Date = dr.GetString("TransactionDate");
     vendor.UsedBy = dr.GetString("UsedBy");
     vendor.Description = dr.GetString("Description");
     vendor.VenderReferenceID = dr.GetString("VENDORREF");
     vendor.VendorAmount = dr.GetDecimal("VENDORAMOUNT");
     vendor.VRID = dr.GetInt32("VRID");
     vendor.VRDID = dr.GetInt32("VRDID");
     return vendor;
 }
Exemplo n.º 3
0
 private WODuplicateDetails FetchWODuplicateShareHoldersDetails(WODuplicateDetails WODuplicateDetails, SafeDataReader dr)
 {
     WODuplicateDetails.ID = dr.GetInt32("ID");
     WODuplicateDetails.Name = dr.GetString("Name");
     WODuplicateDetails.CertNo = dr.GetString("CertNo");
     WODuplicateDetails.NoofShares = dr.GetString("NoofShares");
     //if NULL Displaying as "" in UI
     WODuplicateDetails.DateOfIssue = dr.GetDateTime("DateOfIssue") == default(DateTime) ? string.Empty : dr.GetDateTime("DateOfIssue").ToString("dd/MM/yy");
     WODuplicateDetails.NoOfNewCertToBeIssued = dr.GetInt32("NoOfNewCertToBeIssued");
     return WODuplicateDetails;
 }
Exemplo n.º 4
0
 private Vendor FetchMatchedVendorDetails(Vendor vendor, SafeDataReader dr)
 {
     vendor.VenderReferenceID = dr.GetString("VENDORREF");
     vendor.VendorAmount = dr.GetDecimal("VENDORAMOUNT");
     vendor.DI = dr.GetString("DI");
     vendor.DIRef = dr.GetString("DIREF");
     vendor.DIAmount = dr.GetDecimal("DIAMOUNT");
     vendor.IsBilled = dr.GetBoolean("BILLED");
     vendor.Type = dr.GetString("TYPE");
     vendor.IsVerified = dr.GetBoolean("ISVERIFIED");
     vendor.VRID = dr.GetInt32("VRID");
     vendor.VRDID = dr.GetInt32("VRDID");
     vendor.ItemCode = dr.GetString("ItemCode");
     vendor.ItemNumber = dr.GetString("ItemNumber");
     vendor.WOCode = dr.GetString("WOCode");
     vendor.InvoiceNumber = dr.GetString("InvoiceNumber");
     vendor.ClientName = dr.GetString("ClientName");
     vendor.Date = dr.GetString("DATE");
     vendor.UsedBy = dr.GetString("SIC");
     vendor.GroupName = dr.GetString("GroupName");
     return vendor;
 }
Exemplo n.º 5
0
 private Vendor FetchService(Vendor vendor, SafeDataReader dr)
 {
     vendor.Type = dr.GetString("Type");
     vendor.UploadedOn = dr.GetString("UploadedOn");
     vendor.Username = dr.GetString("Name");
     vendor.VRID = dr.GetInt32("VRID");
     vendor.Name =  dr.GetString("FileName");
     return vendor;
 }
Exemplo n.º 6
0
        private TemplateMapping FetchTemplateFileDetails(TemplateMapping TMapping, SafeDataReader dr)
        {
            TMapping.SetID = dr.GetInt32("SetID");
            TMapping.SetName = dr.GetString("SetName");
            TMapping.FileName = dr.GetString("FileName");
            TMapping.FileID = dr.GetInt32("FileID");
            TMapping.FileFullName = dr.GetString("FileFullName");
            TMapping.FilePath = dr.GetString("FilePath");
            TMapping.TFileStatus = dr.GetBoolean("TFileStatus");
            TMapping.Description = dr.GetString("Description");
            TMapping.IsDefault = dr.GetString("IsDefault");
            TMapping.IsMultiple = dr.GetString("IsMultiple");
            TMapping.MultipleEntity = dr.GetString("MultipleEntity");
            TMapping.SetDescription = dr.GetString("SetDescription");
            TMapping.SetStatus = dr.GetBoolean("SetStatus");

            return TMapping;
        }
Exemplo n.º 7
0
        private _ChoosenClient FetchClientInfo(_ChoosenClient getClientInfo, SafeDataReader dr)
        {
            getClientInfo.ClientCode = dr.GetString("ID");
            getClientInfo.ClientName = dr.GetString("Name");
            getClientInfo.SourceID = dr.GetString("SourceCode");
            getClientInfo.UniqueID = dr.GetInt32("UniqueID");

            return getClientInfo;
        }
Exemplo n.º 8
0
        private AGMDetails FetchWOAGMDetails(AGMDetails AGMDetails, SafeDataReader dr)
        {
            AGMDetails.ID = dr.GetInt32("ID");
            AGMDetails.WOIDForWoAGM = dr.GetString("WOID");
            AGMDetails.ROPlaceOfAGM = dr.GetBoolean("ROPlaceofAGM");
            AGMDetails.DateOfAGM = dr.GetDateTime("DateofAGM").ToString("dd/MM/yyyy") == "01/01/0001" ? "" : dr.GetDateTime("DateofAGM").ToString("dd/MM/yyyy");
            AGMDetails.TimeOfAGM = dr.GetString("TimeofAGM");
            AGMDetails.FinancialYearEnd = dr.GetDateTime("FinancialYearEnd").ToString("dd/MM/yyyy") == "01/01/0001" ? "" : dr.GetDateTime("FinancialYearEnd").ToString("dd/MM/yyyy");
            AGMDetails.DateOfFinancialStatement = dr.GetDateTime("DateofFinancialStatement").ToString("dd/MM/yyyy") == "01/01/0001" ? "" : dr.GetDateTime("DateofFinancialStatement").ToString("dd/MM/yyyy");
            AGMDetails.IsAuditor = dr.GetBoolean("IsAuditor");
            AGMDetails.Auditors = dr.GetInt32("Auditors");
            AGMDetails.ShareHoldingStructure = dr.GetInt32("ShareHoldingStructure");
            AGMDetails.IsDirectorsFeeAmount = dr.GetBoolean("IsDirectorsFeeAmount");
            AGMDetails.DirectorFeeAmount = dr.GetString("DirectorFeeAmount");
            AGMDetails.DirectorCurrency = dr.GetInt32("DirectorCurrency");
            AGMDetails.IsRemunerationAmount = dr.GetBoolean("IsRemunerationAmount");
            AGMDetails.RemunerationAmount = dr.GetString("RemunerationAmount");
            AGMDetails.RemunerationCurrency = dr.GetInt32("RemunerationCurrency");
            AGMDetails.MeetingNotice = dr.GetString("MeetingNotice");
            AGMDetails.MeetingNoticeSource = dr.GetString("MeetingNoticeSource");
            AGMDetails.MeetingMinutes = dr.GetString("MeetingMinutes");
            AGMDetails.MeetingMinutesSource = dr.GetString("MeetingMinutesSource");
            AGMDetails.OtherMeetingMinutes = dr.GetString("OtherMeetingMinutes");
            AGMDetails.DesignationofPersonSigningAGM = dr.GetString("DesignationofPersonSigningAGM");
            AGMDetails.S197Certificate = dr.GetString("S197Certificate");
            AGMDetails.S197CertificateSource = dr.GetString("S197CertificateSource");
            AGMDetails.IsS161toIssueShares = dr.GetBoolean("IsS161toIssueShares");
            AGMDetails.S161NoticeofResolution = dr.GetString("S161NoticeofResolution");
            AGMDetails.S161NoticeofResolutionSource = dr.GetString("S161NoticeofResolutionSource");
            AGMDetails.DividentVoucher = dr.GetString("DividentVoucher");
            AGMDetails.DividentVoucherSource = dr.GetString("DividentVoucherSource");
            AGMDetails.IsDirectorsdueforRetirement = dr.GetBoolean("IsDirectorsdueforRetirement");
            AGMDetails.IsDividend = dr.GetBoolean("IsDividend");
            AGMDetails.Dividendpershare = dr.GetString("Dividendpershare");
            AGMDetails.DividendCurrency = dr.GetInt32("DividendCurrency");
            AGMDetails.TotalNetAmountofDividend = dr.GetString("TotalNetAmountofDividend");
            AGMDetails.TotalNoOfShares = dr.GetString("TotalNoOfShares");
            AGMDetails.ApprovalFS = dr.GetBoolean("IsApprovalFS");
            AGMDetails.MeetingAddressLine1 = dr.GetString("MeetingAddressLine1");
            AGMDetails.MeetingAddressLine2 = dr.GetString("MeetingAddressLine2");
            AGMDetails.MeetingAddressLine3 = dr.GetString("MeetingAddressLine3");
            AGMDetails.MeetingAddressCountry = dr.GetInt32("MeetingAddressCountry");
            AGMDetails.MeetingAddressPostalCode = dr.GetString("MeetingAddressPostalCode");

            return AGMDetails;
        }
Exemplo n.º 9
0
 private Cessionofficers CessationDirectors(Cessionofficers Directors, SafeDataReader dr)
 {
     Directors.ID = dr.GetInt32("ID");
     Directors.Name = dr.GetString("Name");
     Directors.SourceCode = dr.GetString("SourceCode");
     return Directors;
 }
Exemplo n.º 10
0
 //Need to check
 private DisbursementItem FetchDisbursementItemsByID(DisbursementItem SearchDisbursementItem, SafeDataReader dr)
 {
     SearchDisbursementItem.WorkOrderNumber = dr.GetString("WOCode").Trim();
     SearchDisbursementItem.ClientNumber = dr.GetString("ClientName");
     SearchDisbursementItem.ID = dr.GetInt32("ID");
     SearchDisbursementItem.RefID = SearchDisbursementItem.ID;
     SearchDisbursementItem.WOID = dr.GetInt32("WOID");
     SearchDisbursementItem.Type = dr.GetString("DIType");
     SearchDisbursementItem.Units = dr.GetInt32("Units");
     SearchDisbursementItem.Code = dr.GetString("ItemCode");
     SearchDisbursementItem.ItemNumber = dr.GetString("ItemNumber");
     SearchDisbursementItem.Amount = dr.GetDecimal("Amount");
     SearchDisbursementItem.Description = dr.GetString("Description");
     SearchDisbursementItem.DateIncurred = dr.GetString("DateIncurred");
     SearchDisbursementItem.VenderRefID = dr.GetString("VenderRefId");
     SearchDisbursementItem.IsVerified = dr.GetBoolean("IsVerified");
     SearchDisbursementItem.IsAdhoc = dr.GetBoolean("IsAdhoc");
     SearchDisbursementItem.IsArchived = dr.GetBoolean("IsArchived");
     SearchDisbursementItem.IsBilled = dr.GetBoolean("IsBilled");
     SearchDisbursementItem.UnitPrice = dr.GetDecimal("UnitPrice");
     SearchDisbursementItem.NeedVerification = dr.GetBoolean("NeedVerification");
     SearchDisbursementItem.NoteCount = dr.GetInt32("NoteCount");
     SearchDisbursementItem.NoteType = dr.GetString("NoteType");
     SearchDisbursementItem.CreatedDate = dr.GetDateTime("CreatedDate").ToString("dd MMM yyyy hh:mm:ss tt");
     SearchDisbursementItem.ACCPACStatus = dr.GetInt32("ACCPACStatus");
     SearchDisbursementItem.ACCPACDescription = dr.GetString("ACCPACDescription");
     SearchDisbursementItem.ACCPACExplanation = dr.GetString("Explaination");
     SearchDisbursementItem.InvoiceNumber = dr.GetString("InvoiceNumber");
     SearchDisbursementItem.IsMatched = dr.GetBoolean("IsMatched");
     return SearchDisbursementItem;
 }
Exemplo n.º 11
0
        public Notifications FetchNotificationsWOType(Notifications NotificationsBinding, SafeDataReader dr)
        {
            NotificationsBinding.Number = dr.GetInt32("Number");
            NotificationsBinding.Type = dr.GetString("Type");
            NotificationsBinding.href = dr.GetString("href");

            return NotificationsBinding;
        }
Exemplo n.º 12
0
 private DisbursementItem FetchDisbursementItems(DisbursementItem disbursementItems, SafeDataReader dr)
 {
     disbursementItems.ID = dr.GetInt32("ID");
     disbursementItems.WOID = dr.GetInt32("WOID");
     disbursementItems.Amount = dr.GetDecimal("Amount");
     disbursementItems.ItemCode = dr.GetString("ItemCode");
     disbursementItems.Description = dr.GetString("Description");
     disbursementItems.VenderRefID = dr.GetString("VenderRefId");
     disbursementItems.Units = dr.GetInt32("Units");
     disbursementItems.Code = dr.GetString("Code");
     disbursementItems.Type = dr.GetString("DIType");
     disbursementItems.IsBilled = dr.GetBoolean("IsBilled");
     disbursementItems.IsAdhoc = dr.GetBoolean("IsAdhoc");
     disbursementItems.IsArchived = dr.GetBoolean("IsArchived");
     disbursementItems.IsVerified = dr.GetBoolean("IsVerified");
     return disbursementItems;
 }
Exemplo n.º 13
0
 private DisbursementItem FetchCurrencyType(DisbursementItem CurrencyType, SafeDataReader dr)
 {
     CurrencyType.ID = dr.GetInt32("ID");
     CurrencyType.Code = dr.GetString("Code");
     return CurrencyType;
 }
Exemplo n.º 14
0
 public DIInstate FetchDIInstate(DIInstate Di, SafeDataReader dr)
 {
     Di.DIID = dr.GetInt32("DIID");
     Di.InState = dr.GetString("InState");
     return Di;
 }
Exemplo n.º 15
0
 private WOEGMChangeOfName FetchEGMChangeOfNameDetailsByWOID(WOEGMChangeOfName WOEGMChangeOfName, SafeDataReader dr)
 {
     WOEGMChangeOfName.WOID = dr.GetInt32("WOID");
     WOEGMChangeOfName.NewName = dr.GetString("NewName");
     WOEGMChangeOfName.ShareHoldingStructure = dr.GetInt32("ShareHoldingStructure");
     WOEGMChangeOfName.IsROPlaceOfMeeting = dr.GetBoolean("IsROPlaceOfMeeting");
     WOEGMChangeOfName.MAddressLine1 = dr.GetString("MeetingAddressLine1");
     WOEGMChangeOfName.MAddressLine2 = dr.GetString("MeetingAddressLine2");
     WOEGMChangeOfName.MAddressLine3 = dr.GetString("MeetingAddressLine3");
     WOEGMChangeOfName.MAddressCountry = dr.GetInt32("MAddressCountry");
     WOEGMChangeOfName.MAddressPostalCode = dr.GetString("MPostalCode");
     WOEGMChangeOfName.MeetingMinutesSource = dr.GetString("MeetingMinutesSource");
     WOEGMChangeOfName.MeetingNoticeSource = dr.GetString("MeetingNoticeSource");
     WOEGMChangeOfName.MeetingNotice = dr.GetInt32("MeetingNotice");
     WOEGMChangeOfName.MeetingMinutes = dr.GetInt32("MeetingMinutes");
     WOEGMChangeOfName.OthersMeetingMinutes = dr.GetString("OthersMeetingMinutes");
     WOEGMChangeOfName.Designation = dr.GetString("Designation");
     WOEGMChangeOfName.NoticeResolutionSource = dr.GetString("NoticeResolutionSource");
     WOEGMChangeOfName.NoticeResolution = dr.GetInt32("NoticeResolution");
     return WOEGMChangeOfName;
 }
Exemplo n.º 16
0
 private Cessionofficers FetchCessationOfficers(Cessionofficers Directors, SafeDataReader dr)
 {
     Directors.ID = dr.GetInt32("CessionID");
     Directors.Name = dr.GetString("Cessation Officer");
     Directors.DateofResignation = dr.GetString("Date Of Resignation");
     Directors.Position = dr.GetString("Position");
     //  Directors.DependingDirector = dr.GetString("Depending Director");
     Directors.Email = dr.GetString("Email");
     Directors.ContactNo = dr.GetString("Phone");
     Directors.Fax = dr.GetString("Fax");
     Directors.NatureAppoint = dr.GetInt32("NatureAppoint");
     Directors.IsExistsChildPerson = dr.GetInt32("IsExistsChildPerson");
     return Directors;
 }
Exemplo n.º 17
0
        private TemplateMapping FetchTemplate(TemplateMapping TMapping, SafeDataReader dr)
        {
            TMapping.WOID = dr.GetInt32("WOID");
            TMapping.SetID = dr.GetInt32("SetID");
            TMapping.SetName = dr.GetString("SetName");
            TMapping.FileName = dr.GetString("FileName");
            TMapping.FileID = dr.GetInt32("FileID");
            TMapping.FileFullName = dr.GetString("FileFullName");
            TMapping.FilePath = dr.GetString("FilePath");
            TMapping.TFileStatus = dr.GetBoolean("TFileStatus");

            return TMapping;
        }
Exemplo n.º 18
0
 internal void FetchCABErrors(CABErrors ErrorLog, SafeDataReader dr)
 {
     ErrorLog.ID = dr.GetInt32("ID");
     ErrorLog.ERROR_NUMBER = dr.GetString("ERROR_NUMBER");
     ErrorLog.ERROR_SEVERITY = dr.GetString("ERROR_SEVERITY");
     ErrorLog.ERROR_STATE = dr.GetString("ERROR_STATE");
     ErrorLog.ERROR_PROCEDURE = dr.GetString("ERROR_PROCEDURE");
     ErrorLog.ERROR_LINE = dr.GetString("ERROR_LINE");
     ErrorLog.ERROR_MESSAGE = dr.GetString("ERROR_MESSAGE");
     ErrorLog.SCCode = dr.GetString("SCCode");
     ErrorLog.ONDate = dr.GetString("ONDate");
     ErrorLog.Client = dr.GetString("Client");
     ErrorLog.FeeCode = dr.GetString("FeeCode");
     ErrorLog.CREATEDATE = dr.GetDateTime("CREATEDATE").ToString("dd MMM yyyy hh:mm:ss tt");
 }
Exemplo n.º 19
0
 private TemplateMapping FetchTemplateSetDetails(TemplateMapping TMapping, SafeDataReader dr)
 {
     TMapping.SetID = dr.GetInt32("SetID");
     TMapping.SetName = dr.GetString("SetName");
     TMapping.FilePath = dr.GetString("FilePath");
     return TMapping;
 }
Exemplo n.º 20
0
 internal void FetchScheduleHistory(ScheduleHistory history, SafeDataReader dr)
 {
     history.Id = dr.GetInt32("Id");
     history.ScheduleName = dr.GetString("ScheduleName");
     history.Parameter = dr.GetString("Parameter");
     history.ScheduleDescription = dr.GetString("ScheduleDescription");
     history.RunbySystem = dr.GetString("RunbySystem");
     history.LatRunOn = dr.GetDateTime("LatRunOn").ToString("dd MMM yyyy hh:mm:ss tt");
 }
Exemplo n.º 21
0
 private Vendor FetchErrorList(Vendor vendor, SafeDataReader dr)
 {
     vendor.VRID = dr.GetInt32("VRID");
     vendor.UploadedOn = dr.GetString("TransationDate");
     vendor.Code = dr.GetString("Description");
     vendor.VenderReferenceID = dr.GetString("ReferenceNo");
     vendor.ItemNumber = dr.GetString("Amount");
     return vendor;
 }
Exemplo n.º 22
0
 private WOTypes FetchService(WOTypes wotypes, SafeDataReader dr)
 {
     wotypes.WOTypeId = dr.GetInt32("ID");
     wotypes.WOName = dr.GetString("Name");
     wotypes.WOCategoryCode = dr.GetString("CategoryCode");
     wotypes.WOCode = dr.GetString("Code");
     wotypes.WODescription = dr.GetString("Description");
     wotypes.Status = dr.GetBoolean("Status");
     return wotypes;
 }
Exemplo n.º 23
0
 private Vendor FetchMultiDiscrepancyVendorDetails(Vendor vendor, SafeDataReader dr, bool IsUnbilled)
 {
     vendor.VenderReferenceID = dr.GetString("VENDORREF");
     vendor.VendorAmount = dr.GetDecimal("VENDORAMOUNT");
     vendor.DI = dr.GetString("DI");
     vendor.DIRef = dr.GetString("DIREF");
     vendor.DIAmount = dr.GetDecimal("DIAMOUNT");
     vendor.IsBilled = dr.GetBoolean("BILLED");
     vendor.Type = dr.GetString("TYPE");
     vendor.Discrepancy = (IsUnbilled ? dr.GetDecimal("UnBilledDiscrepancy") : dr.GetDecimal("Discrepancy"));
     vendor.VRID = dr.GetInt32("VRID");
     vendor.VRDID = dr.GetInt32("VRDID");
     vendor.ItemCode = dr.GetString("ItemCode");
     vendor.ItemNumber = dr.GetString("ItemNumber");
     vendor.Status = dr.GetString("STATUS");
     vendor.RowNo = dr.GetInt32("RowNo");
     vendor.IsDiscVisible = false;
     vendor.WOCode = dr.GetString("WOCode");
     vendor.InvoiceNumber = dr.GetString("InvoiceNumber");
     vendor.ClientName = dr.GetString("ClientName");
     vendor.Date = dr.GetString("DATE");
     vendor.UsedBy = dr.GetString("SIC");
     vendor.GroupName = dr.GetString("GroupName");
     return vendor;
 }
Exemplo n.º 24
0
        public CABBatch FetchGapInfo(CABBatch GapInfo, SafeDataReader dr)
        {
            GapInfo.SNO = dr.GetInt32("new_id");
            GapInfo.FromDate = dr.GetDateTime("start_date").ToString("dd MMM yyyy");
            GapInfo.ToDate = dr.GetDateTime("end_date").ToString("dd MMM yyyy");
            GapInfo.Duration = dr.GetInt32("NoofDays");

            return GapInfo;
        }
Exemplo n.º 25
0
 private Vendor FetchUnmatchedVendorDetails(Vendor vendor, SafeDataReader dr)
 {
     vendor.VenderReferenceID = dr.GetString("VENDERREFID");
     vendor.VendorAmount = dr.GetDecimal("VENDORAMOUNT");
     vendor.DI = dr.GetString("DI");
     vendor.DIAmount = dr.GetDecimal("DIAMOUNT");
     vendor.IsBilled = dr.GetBoolean("BILLED");
     vendor.Type = dr.GetString("TYPE");
     vendor.VerifyAmount = dr.GetDecimal("VERIFYAMOUNT");
     vendor.WOID = dr.GetInt32("WOID");
     vendor.ID = dr.GetInt32("ID");
     vendor.IsAdhoc = dr.GetInt32("IsAdhoc");
     return vendor;
 }
Exemplo n.º 26
0
 private static CABBatch FetchBatchDetails(CABBatch CABBatch, SafeDataReader dr)
 {
     CABBatch.ID = dr.GetInt32("ID");
     CABBatch.Name = dr.GetString("Name");
     CABBatch.BatchCode = dr.GetString("BatchType");
     CABBatch.BatchID = dr.GetString("BatchID");
     CABBatch.FromDate = dr.GetDateTime("FromDate").ToString("dd/MM/yyyy");
     CABBatch.ToDate = dr.GetDateTime("ToDate").ToString("dd/MM/yyyy");
     CABBatch.FromDateList = CABBatch.FromDate == "" ? "" : dr.GetDateTime("FromDate").ToString("dd MMM yyyy");
     CABBatch.ToDateList = CABBatch.ToDate == "" ? "" : dr.GetDateTime("ToDate").ToString("dd MMM yyyy");
     CABBatch.CreatedDate = dr.GetDateTime("CreatedDate").ToString("dd MMM yyyy hh:mm:ss tt"); ;
     return CABBatch;
 }
Exemplo n.º 27
0
 private WODuplicateDetails FetchWODuplicateDetails(WODuplicateDetails WODuplicateDetails, SafeDataReader dr)
 {
     WODuplicateDetails.WOID = dr.GetString("WOID");
     WODuplicateDetails.ClassOfShare = dr.GetInt32("ClassOfShare");
     return WODuplicateDetails;
 }
Exemplo n.º 28
0
        private GlobalSetting FetchGlobalSettings(GlobalSetting setting, SafeDataReader dr)
        {
            setting.Id = dr.GetInt32("ID");
            setting.Code = dr.GetString("Code");
            setting.Value = dr.GetString("Value");
            setting.RangeMin = dr.GetString("RangeMin");
            setting.RangeMax = dr.GetString("RangeMax");
            setting.Description = dr.GetString("Description");
            setting.Status = dr.GetBoolean("Status");

            return setting;
        }
        private WOExistingClientEngaging FetchECEDetails(WOExistingClientEngaging ECEData, SafeDataReader dr)
        {
            ECEData.Currency = dr.GetInt32("Currency");
            ECEData.ClassOfShare = dr.GetInt32("ClassOfShare");
            ECEData.NewAllottedShares = dr.GetString("NewAllottedShares");
            ECEData.EachShare = dr.GetString("ConsiderationOfEachShare");
            ECEData.AmountPaidToEachShare = dr.GetString("AmountPaidToEachShare");
            ECEData.TotalConsideration = dr.GetString("TotalConsideration");
            ECEData.NoOfIssuedShares = dr.GetString("ResultantNoOfIssuedShares");
            ECEData.IssuedCapital = dr.GetString("IssuedCapital");
            ECEData.MeetingNoticeSource = dr.GetString("MeetingNoticeSource");
            ECEData.MeetingNotice = dr.GetInt32("MeetingNotice");
            ECEData.MeetingMinutesSource = dr.GetString("MeetingMinutesSource");
            ECEData.MeetingMinutes = dr.GetInt32("MeetingMinutes");
            ECEData.OthersMeetingMinutes = dr.GetString("OthersMeetingMinutes");
            ECEData.Designation = dr.GetString("Designation");
            ECEData.NoticeResolutionSource = dr.GetString("NoticeResolutionSource");
            ECEData.NoticeResolution = dr.GetInt32("NoticeResolution");
            ECEData.F24F25Source = dr.GetString("F24F25Source");
            ECEData.F24F25ID = dr.GetInt32("F24F25ID");
            ECEData.ShareHoldingStructure = dr.GetInt32("ShareHoldingStructure");
            ECEData.ResultantPaidupCapital = dr.GetString("ResultantPaidupCapital");

            ECEData.IsROPlaceOfMeeting = dr.GetBoolean("IsROPlaceOfMeeting");
            ECEData.MAddressLine1 = dr.GetString("MeetingAddressLine1");
            ECEData.MAddressLine2 = dr.GetString("MeetingAddressLine2");
            ECEData.MAddressLine3 = dr.GetString("MeetingAddressLine3");
            ECEData.MAddressCountry = dr.GetInt32("MAddressCountry");
            ECEData.MAddressPostalCode = dr.GetString("MPostalCode");

            return ECEData;
        }
Exemplo n.º 30
0
 private DisbursementItem FetchInsertedWO(DisbursementItem InsertedWO, SafeDataReader dr)
 {
     InsertedWO.ID = dr.GetInt32("ID");
     InsertedWO.WOCode = dr.GetString("WOCode").Trim();
     InsertedWO.ClientName = dr.GetString("ClientName");
     return InsertedWO;
 }