示例#1
0
文件: FX_Input.cs 项目: huangss0/GTS0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("FX_InputID");
            reader.GetString("CountryName", this.CountryName);                           /*Optional 2*/
            reader.GetString("Custodian", this.Custodian);                               /*Optional 3*/
            reader.GetString("AccountNumber", this.AccountNumber);                       /*Optional 4*/
            reader.GetString("Currency_Code", this.Currency_Code);                       /*Optional 5*/
            reader.GetDateTime("FX_NotificationDate", this.FX_NotificationDate);         /*Optional 6*/
            reader.GetDecimal("LocalAmountReceived", this.LocalAmountReceived);          /*Optional 7*/
            reader.GetDateTime("Depositary_ReceivedDate", this.Depositary_ReceivedDate); /*Optional 8*/
            reader.GetDateTime("FX_RequestedDate", this.FX_RequestedDate);               /*Optional 9*/
            reader.GetDateTime("FX_ReceivedDate", this.FX_ReceivedDate);                 /*Optional 10*/
            reader.GetString("Depositary", this.Depositary);                             /*Optional 11*/
            reader.GetDecimal("FX_Rate", this.FX_Rate);                                  /*Optional 12*/
            reader.GetDecimal("USDAmountReceived", this.USDAmountReceived);              /*Optional 13*/
            reader.GetDateTime("ActualCheckRequestDate", this.ActualCheckRequestDate);   /*Optional 14*/
            reader.GetDateTime("PayToBrokerDate", this.PayToBrokerDate);                 /*Optional 15*/
            reader.GetString("LastModifiedBy", this.LastModifiedBy);                     /*Optional 16*/
            reader.GetDateTime("ModifiedDateTime", this.ModifiedDateTime);               /*Optional 17*/
            reader.GetDecimal("Forex_Fee", this.Forex_Fee);                              /*Optional 18*/

            this.SyncWithDB();
        }
示例#2
0
文件: Security.cs 项目: huangss0/GTS0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("SecurityID");
            reader.GetString("Name", this.Name);
            reader.GetString("CUSIP", this.CUSIP);                         /*Optional 3*/
            reader.GetString("Country", this.Country);
            reader.GetString("TickerSymbol", this.TickerSymbol);           /*Optional 5*/
            reader.GetString("ISIN", this.ISIN);                           /*Optional 6*/
            reader.GetString("Sedol", this.Sedol);                         /*Optional 7*/
            reader.GetString("Depositary", this.Depositary);               /*Optional 8*/
            reader.GetString("FirstFiler", this.FirstFiler);               /*Optional 9*/
            reader.GetString("ClearingSystem", this.ClearingSystem);       /*Optional 10*/
            reader.GetString("SecurityType", this.SecurityType);           /*Optional 11*/
            reader.GetDateTime("ModifiedDateTime", this.ModifiedDateTime); /*Optional 12*/
            reader.GetString("LastModifiedBy", this.LastModifiedBy);       /*Optional 13*/
            reader.GetDateTime("EffectiveDate", this.EffectiveDate);
            reader.GetDecimal("ADR_RATIO_ADR", this.ADR_RATIO_ADR);        /*Optional 15*/
            reader.GetDecimal("ADR_RATIO_ORD", this.ADR_RATIO_ORD);        /*Optional 16*/
            reader.GetString("DutchName", this.DutchName);                 /*Optional 17*/

            this.SyncWithDB();
        }
示例#3
0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("FeesID");
            reader.GetString("Country", this.Country);
            reader.GetString("Security_Type", this.Security_Type);                      /*Optional 3*/
            reader.GetString("Depositary", this.Depositary);
            reader.GetDecimal("ShortFormFees", this.ShortFormFees);                     /*Optional 5*/
            reader.GetDecimal("LongFormFees", this.LongFormFees);                       /*Optional 6*/
            reader.GetDecimal("FavAtSourceFee", this.FavAtSourceFee);                   /*Optional 7*/
            reader.GetDecimal("ExemptAtSourceFee", this.ExemptAtSourceFee);             /*Optional 8*/
            reader.GetDecimal("FavTransparentEntityFee", this.FavTransparentEntityFee); /*Optional 9*/
            reader.GetDecimal("MinAtSourceFee", this.MinAtSourceFee);                   /*Optional 10*/
            reader.GetDecimal("MinLongFormFee", this.MinLongFormFee);                   /*Optional 11*/
            reader.GetDecimal("MinQuickRefundFee", this.MinQuickRefundFee);             /*Optional 12*/
            reader.GetDecimal("MinShortFormFee", this.MinShortFormFee);                 /*Optional 13*/
            reader.GetDateTime("EffectiveDate", this.EffectiveDate);
            reader.GetDateTime("CreatedDate", this.CreatedDate);                        /*Optional 15*/
            reader.GetString("ImportBy", this.ImportBy);                                /*Optional 16*/
            reader.GetString("Notes", this.Notes);                                      /*Optional 17*/
            reader.GetInt("SecurityTypeID", this.SecurityTypeID);
            reader.GetString("IncomeEventID", this.IncomeEventID);                      /*Optional 19*/
            reader.GetString("Issue", this.Issue);                                      /*Optional 20*/
            reader.GetString("CUSIP", this.CUSIP);                                      /*Optional 21*/
            reader.GetDecimal("AdditionalDSCFee", this.AdditionalDSCFee);               /*Optional 22*/

            this.SyncWithDB();
        }
示例#4
0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("Dividend_PayID");
            reader.GetInt("DividendIndex", this.DividendIndex);
            reader.GetDateTime("PaymentReferenceDate", this.PaymentReferenceDate); /*Optional 3*/
            reader.GetString("Depositary", this.Depositary);                       /*Optional 4*/
            reader.GetDateTime("FXValueDate", this.FXValueDate);                   /*Optional 5*/
            reader.GetDecimal("DivFXRate", this.DivFXRate);                        /*Optional 6*/
            reader.GetString("LastModifiedBy", this.LastModifiedBy);               /*Optional 7*/
            reader.GetDateTime("ModifiedDateTime", this.ModifiedDateTime);         /*Optional 8*/
            reader.GetBool("Paid_And_Locked", this.Paid_And_Locked);               /*Optional 9*/
            reader.GetDateTime("Paid_And_Locked_Date", this.Paid_And_Locked_Date); /*Optional 10*/
            reader.GetDateTime("Billed_Date", this.Billed_Date);                   /*Optional 11*/
            reader.GetDateTime("Paid_Date_Actual", this.Paid_Date_Actual);         /*Optional 12*/
            reader.GetString("WriteOff", this.WriteOff);                           /*Optional 13*/
            reader.GetInt("FX_InputID", this.FX_InputID);                          /*Optional 14*/
            reader.GetInt("CustodianID", this.CustodianID);                        /*Optional 15*/

            this.SyncWithDB();
        }
示例#5
0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("RSHID");
            reader.GetInt("DividendIndex", this.DividendIndex);
            reader.GetInt("DTC", this.DTC);
            reader.GetString("Depositary", this.Depositary);
            reader.GetString("AccountNumber", this.AccountNumber);           /*Optional 5*/
            reader.GetString("TIN", this.TIN);                               /*Optional 6*/
            reader.GetDecimal("Shares", this.Shares);                        /*Optional 7*/
            reader.GetString("RegisteredName", this.RegisteredName);         /*Optional 8*/
            reader.GetString("Address", this.Address);                       /*Optional 9*/
            reader.GetString("CountryCode", this.CountryCode);               /*Optional 10*/
            reader.GetString("TaxStatus", this.TaxStatus);                   /*Optional 11*/
            reader.GetDecimal("ForeignTaxWH", this.ForeignTaxWH);            /*Optional 12*/
            reader.GetString("CUSIP", this.CUSIP);                           /*Optional 13*/
            reader.GetString("IssueNumber", this.IssueNumber);               /*Optional 14*/
            reader.GetString("CitizenshipCode", this.CitizenshipCode);       /*Optional 15*/
            reader.GetString("OwnerCode", this.OwnerCode);                   /*Optional 16*/
            reader.GetString("ZipCode", this.ZipCode);                       /*Optional 17*/
            reader.GetString("State", this.State);                           /*Optional 18*/
            reader.GetString("CityName", this.CityName);                     /*Optional 19*/
            reader.GetString("Agent", this.Agent);                           /*Optional 20*/
            reader.GetInt("LOC", this.LOC);                                  /*Optional 21*/
            reader.GetDateTime("RecordDate", this.RecordDate);               /*Optional 22*/
            reader.GetString("Comp_Num", this.Comp_Num);                     /*Optional 23*/
            reader.GetString("Class_CD", this.Class_CD);                     /*Optional 24*/
            reader.GetString("Tax_CD", this.Tax_CD);                         /*Optional 25*/
            reader.GetDecimal("Shares2", this.Shares2);                      /*Optional 26*/
            reader.GetString("GlobeTax", this.GlobeTax);                     /*Optional 27*/
            reader.GetString("Dividend_Intention", this.Dividend_Intention); /*Optional 28*/
            reader.GetDateTime("Holder_On_Date", this.Holder_On_Date);       /*Optional 29*/
            reader.GetString("Tin_Status_1", this.Tin_Status_1);             /*Optional 30*/
            reader.GetString("Tin_Status_Source", this.Tin_Status_Source);   /*Optional 31*/
            reader.GetDateTime("Tin_Exp_Date_1", this.Tin_Exp_Date_1);       /*Optional 32*/
            reader.GetInt("Tin_B_Count", this.Tin_B_Count);                  /*Optional 33*/
            reader.GetString("Holder_Type_Code", this.Holder_Type_Code);     /*Optional 34*/
            reader.GetDateTime("Last_Contact_Date", this.Last_Contact_Date); /*Optional 35*/
            reader.GetString("Last_Contact_Type", this.Last_Contact_Type);   /*Optional 36*/
            reader.GetString("GlobeTax_Findings", this.GlobeTax_Findings);   /*Optional 37*/

            this.SyncWithDB();
        }
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetString("Country");
            reader.GetString("Security_Type", this.Security_Type);      /*Optional 2*/
            reader.GetString("Depositary", this.Depositary);
            reader.GetDecimal("WithholdingRate", this.WithholdingRate); /*Optional 4*/
            reader.GetDecimal("ADSC", this.ADSC);                       /*Optional 5*/
            reader.GetDecimal("RateWithADSC", this.RateWithADSC);       /*Optional 6*/
            reader.GetDateTime("EffectiveDate", this.EffectiveDate);    /*Optional 7*/
            reader.GetDateTime("CreatedDate", this.CreatedDate);        /*Optional 8*/
            reader.GetString("ImportBy", this.ImportBy);                /*Optional 9*/

            this.SyncWithDB();
        }
示例#7
0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("id");
            reader.GetString("coi", this.coi);                   /*Optional 2*/
            reader.GetString("cor", this.cor);                   /*Optional 3*/
            reader.GetDecimal("statry_rt", this.statry_rt);      /*Optional 4*/
            reader.GetDecimal("int_rt", this.int_rt);            /*Optional 5*/
            reader.GetDateTime("effect_dt", this.effect_dt);     /*Optional 6*/
            reader.GetDateTime("created_dt", this.created_dt);   /*Optional 7*/
            reader.GetDateTime("modified_dt", this.modified_dt); /*Optional 8*/
            reader.GetInt("migratedId", this.migratedId);        /*Optional 9*/
            reader.GetInt("sec_type", this.sec_type);            /*Optional 10*/
            reader.GetString("bo_typ", this.bo_typ);             /*Optional 11*/

            this.SyncWithDB();
        }
示例#8
0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("DetailID");
            //reader.GetInt("DividendIndex", this.DividendIndex);
            reader.GetString("DTC_Number", this.DTC_Number);
            //reader.GetString("Depositary", this.Depositary);/*Optional 10*/
            reader.GetString("BO_COR", this.BO_COR);                          /*Optional 18*/
            reader.GetString("BO_EntityType", this.BO_EntityType);            /*Optional 19*/
            reader.GetDecimal("ReclaimRate", this.ReclaimRate);               /*Optional 22*/
            reader.GetInt("CustodianID", this.CustodianID);                   /*Optional 25*/
            reader.GetString("Status", this.Status);                          /*Optional 27*/
            reader.GetDecimal("RecordDatePosition", this.RecordDatePosition); /*Optional 30*/
            reader.GetString("ReclaimFeesType", this.ReclaimFeesType);        /*Optional 41*/
            reader.GetBool("PaidViaDTCC", this.PaidViaDTCC);                  /*Optional 120*/

            this.SyncWithDB();
        }
示例#9
0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("ID");
            reader.GetInt("ModelNumber", this.ModelNumber);
            reader.GetString("Country", this.Country);
            reader.GetString("Column_Header_Name", this.Column_Header_Name);
            reader.GetString("Table_Column", this.Table_Column);
            reader.GetString("Rate_Desc", this.Rate_Desc);     /*Optional 6*/
            reader.GetDecimal("WHRate", this.WHRate);          /*Optional 7*/
            reader.GetString("ArmorColumn", this.ArmorColumn); /*Optional 8*/
            reader.GetString("Category", this.Category);
            reader.GetString("DiscloseType", this.DiscloseType);
            reader.GetInt("SortOrder", this.SortOrder);
            reader.GetDecimal("ChargeBackFrom", this.ChargeBackFrom);      /*Optional 12*/
            reader.GetString("LastModifiedBy", this.LastModifiedBy);       /*Optional 13*/
            reader.GetDateTime("ModifiedDateTime", this.ModifiedDateTime); /*Optional 14*/

            this.SyncWithDB();
        }
示例#10
0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("ID");
            reader.GetString("Name", this.Name);           /*Optional 2*/
            reader.GetDateTime("Birthday", this.Birthday); /*Optional 3*/
            reader.GetDecimal("Salary", this.Salary);      /*Optional 4*/
            reader.GetBool("IsMarried", this.IsMarried);   /*Optional 5*/

            this.SyncWithDB();
        }
示例#11
0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("DetailID");
            reader.GetString("DTC_Number", this.DTC_Number);
            reader.GetInt("CustodianID", this.CustodianID);                   /*Optional 25*/
            reader.GetString("Status", this.Status);                          /*Optional 27*/
            reader.GetDecimal("RecordDatePosition", this.RecordDatePosition); /*Optional 30*/
            reader.GetInt("Dividend_FilingID", this.Dividend_FilingID);       /*Optional 37*/

            this.SyncWithDB();
        }
示例#12
0
文件: Country.cs 项目: huangss0/GTS0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetString("name");
            reader.GetString("cntry_cd", this.cntry_cd);
            reader.GetInt("currency_id", this.currency_id);                       /*Optional 3*/
            reader.GetDecimal("longform_coefficient", this.longform_coefficient); /*Optional 5*/
            reader.GetBool("In_ESP", this.In_ESP);                                /*Optional 6*/
            reader.GetString("ISO3_cntry_cd", this.ISO3_cntry_cd);                /*Optional 7*/
            reader.GetString("GlobeTaxEmail", this.GlobeTaxEmail);                /*Optional 8*/

            this.SyncWithDB();
        }
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("Dividend_FeeID");
            reader.GetInt("DividendIndex", this.DividendIndex);
            reader.GetDecimal("WHRate", this.WHRate);
            reader.GetDecimal("LongFormFees", this.LongFormFees);
            reader.GetDecimal("MinLongFormFee", this.MinLongFormFee);
            reader.GetDecimal("Fee_Max", this.Fee_Max);
            reader.GetDecimal("Fee_Consularization", this.Fee_Consularization);
            reader.GetDecimal("FavAtSourceFee", this.FavAtSourceFee);
            reader.GetDecimal("MinAtSourceFee", this.MinAtSourceFee);
            reader.GetDecimal("ExemptAtSourceFee", this.ExemptAtSourceFee);
            reader.GetDecimal("ShortFormFees", this.ShortFormFees);
            reader.GetDecimal("Fee_AtSource", this.Fee_AtSource);
            reader.GetDecimal("MinQuickRefundFee", this.MinQuickRefundFee);
            reader.GetDecimal("FavTransparentEntityFee", this.FavTransparentEntityFee);
            reader.GetDecimal("MinShortFormFee", this.MinShortFormFee);
            reader.GetDecimal("Fee_QuickRefund", this.Fee_QuickRefund);
            reader.GetString("LastModifiedBy", this.LastModifiedBy);         /*Optional 17*/
            reader.GetDateTime("ModifiedDateTime", this.ModifiedDateTime);   /*Optional 18*/
            reader.GetDecimal("AdditionalDSCFee", this.AdditionalDSCFee);    /*Optional 19*/
            reader.GetInt("Source_FeeID", this.Source_FeeID);                /*Optional 20*/
            reader.GetDecimal("AdditionalDSCFee1", this.AdditionalDSCFee1);  /*Optional 21*/
            reader.GetString("AtSourceModifiedBy", this.AtSourceModifiedBy); /*Optional 22*/

            this.SyncWithDB();
        }
示例#14
0
        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.pk_ID = reader.GetInt("CustodianID");
            reader.GetInt("Custodian_Number", this.Custodian_Number);/*Optional 2*/
            reader.GetInt("DividendIndex", this.DividendIndex);
            reader.GetString("Custodian", this.Custodian);
            reader.GetDecimal("Custodian_Reported", this.Custodian_Reported);                   /*Optional 5*/
            reader.GetDecimal("Custodian_Paid", this.Custodian_Paid);                           /*Optional 6*/
            reader.GetDecimal("FavAtSourceADRs", this.FavAtSourceADRs);                         /*Optional 7*/
            reader.GetDecimal("ExemptAtSourceADRs", this.ExemptAtSourceADRs);                   /*Optional 8*/
            reader.GetDecimal("FavTransparentEntityADRs", this.FavTransparentEntityADRs);       /*Optional 9*/
            reader.GetDecimal("Custodian_Chargeback", this.Custodian_Chargeback);               /*Optional 10*/
            reader.GetString("SafeKeeping_AccountNum", this.SafeKeeping_AccountNum);            /*Optional 11*/
            reader.GetString("Cash_Account_Number", this.Cash_Account_Number);                  /*Optional 12*/
            reader.GetDecimal("Custodial_Fees", this.Custodial_Fees);                           /*Optional 13*/
            reader.GetDecimal("AtSourceFeePerShare", this.AtSourceFeePerShare);
            reader.GetString("Custodian_Type", this.Custodian_Type);                            /*Optional 15*/
            reader.GetString("Depositary", this.Depositary);                                    /*Optional 16*/
            reader.GetString("Currency", this.Currency);                                        /*Optional 17*/
            reader.GetDecimal("Base", this.Base);                                               /*Optional 18*/
            reader.GetDecimal("Custodial_Percent", this.Custodial_Percent);                     /*Optional 19*/
            reader.GetDecimal("Maximum_Fees", this.Maximum_Fees);                               /*Optional 20*/
            reader.GetDecimal("Minimum_Fees", this.Minimum_Fees);                               /*Optional 21*/
            reader.GetString("Contact_Name", this.Contact_Name);                                /*Optional 22*/
            reader.GetString("Reference_Number", this.Reference_Number);                        /*Optional 23*/
            reader.GetString("Address1", this.Address1);                                        /*Optional 24*/
            reader.GetString("Address2", this.Address2);                                        /*Optional 25*/
            reader.GetString("State", this.State);                                              /*Optional 26*/
            reader.GetString("City", this.City);                                                /*Optional 27*/
            reader.GetString("Zip", this.Zip);                                                  /*Optional 28*/
            reader.GetString("Comments", this.Comments);                                        /*Optional 29*/
            reader.GetString("Email", this.Email);                                              /*Optional 30*/
            reader.GetString("Fax", this.Fax);                                                  /*Optional 31*/
            reader.GetString("Phone", this.Phone);                                              /*Optional 32*/
            reader.GetString("Country", this.Country);                                          /*Optional 33*/
            reader.GetBool("Primary_Contact", this.Primary_Contact);                            /*Optional 34*/
            reader.GetString("MasterFile", this.MasterFile);                                    /*Optional 35*/
            reader.GetString("PDFFile", this.PDFFile);                                          /*Optional 36*/
            reader.GetBool("Paid_And_Locked", this.Paid_And_Locked);
            reader.GetDateTime("Paid_And_Locked_DateTime", this.Paid_And_Locked_DateTime);      /*Optional 38*/
            reader.GetString("LastModifiedBy", this.LastModifiedBy);                            /*Optional 39*/
            reader.GetDateTime("Billed_Date", this.Billed_Date);                                /*Optional 40*/
            reader.GetDateTime("Paid_Date_Actual", this.Paid_Date_Actual);                      /*Optional 41*/
            reader.GetDecimal("JPResidenceAtSourceADRs", this.JPResidenceAtSourceADRs);         /*Optional 42*/
            reader.GetString("PSAFE", this.PSAFE);                                              /*Optional 43*/
            reader.GetInt("Election_Version", this.Election_Version);                           /*Optional 44*/
            reader.GetDecimal("FavAtSourceADRs_RSH_Exclude", this.FavAtSourceADRs_RSH_Exclude); /*Optional 45*/
            reader.GetString("WriteOff", this.WriteOff);                                        /*Optional 46*/
            reader.GetDecimal("AffiliateRebate", this.AffiliateRebate);                         /*Optional 47*/
            reader.GetDateTime("ModifiedDateTime", this.ModifiedDateTime);                      /*Optional 48*/
            reader.GetInt("Custodial_FeeID", this.Custodial_FeeID);                             /*Optional 49*/
            reader.GetString("FeeType", this.FeeType);                                          /*Optional 50*/
            reader.GetString("FavAtSourceADRs_Detail", this.FavAtSourceADRs_Detail);            /*Optional 51*/
            reader.GetDateTime("RSH_Email_TimeStamp", this.RSH_Email_TimeStamp);                /*Optional 52*/
            reader.GetDateTime("Bal_Email_TimeStamp", this.Bal_Email_TimeStamp);                /*Optional 53*/
            reader.GetDateTime("CreatedDateTime", this.CreatedDateTime);                        /*Optional 54*/
            reader.GetString("XBRL_ReferenceNumber", this.XBRL_ReferenceNumber);                /*Optional 55*/

            this.SyncWithDB();
        }
示例#15
0
        public string FedEx_Number                 = null;            //not in template

        internal void Init_from_reader(HssUtility.SQLserver.DB_reader reader)
        {
            if (reader == null || reader.IsClosed)
            {
                return;
            }

            this.DetailID       = reader.GetInt("DetailID");
            this.DividendIndex  = reader.GetInt("DividendIndex");
            this.ClaimID        = reader.GetLong("ClaimID");/*Optional 3*/
            this.Issue          = reader.GetString("Issue");
            this.DTC_Number     = reader.GetString("DTC_Number");
            this.DTC_Name       = reader.GetString("DTC_Name");       /*Optional 6*/
            this.DTC_Address1   = reader.GetString("DTC_Address1");   /*Optional 7*/
            this.DTC_Address2   = reader.GetString("DTC_Address2");   /*Optional 8*/
            this.DTC_ATTN       = reader.GetString("DTC_ATTN");       /*Optional 9*/
            this.Depositary     = reader.GetString("Depositary");     /*Optional 10*/
            this.DTC_PositionID = reader.GetInt("DTC_PositionID");    /*Optional 11*/
            this.BoName         = reader.GetString("BoName");         /*Optional 12*/
            this.BoAddress1     = reader.GetString("BoAddress1");     /*Optional 13*/
            this.BoAddress2     = reader.GetString("BoAddress2");     /*Optional 14*/
            this.BoAddress3     = reader.GetString("BoAddress3");     /*Optional 15*/
            this.BoAddress4     = reader.GetString("BoAddress4");     /*Optional 16*/
            this.BoAddress5     = reader.GetString("BoAddress5");     /*Optional 17*/
            this.BO_COR         = reader.GetString("BO_COR");         /*Optional 18*/
            this.BO_EntityType  = reader.GetString("BO_EntityType");  /*Optional 19*/
            this.BoTaxID        = reader.GetString("BoTaxID");        /*Optional 20*/
            this.ReceivedDate   = reader.GetDateTime("ReceivedDate"); /*Optional 21*/
            this.ReclaimRate    = reader.GetDecimal("ReclaimRate");   /*Optional 22*/
            reader.GetDecimal("ClaimType");                           /*Optional 23*/
            reader.GetString("Custodian");                            /*Optional 24*/
            reader.GetInt("CustodianID");                             /*Optional 25*/
            reader.GetDecimal("ReclaimAmount");                       /*Optional 26*/
            reader.GetString("Status");                               /*Optional 27*/
            reader.GetDateTime("CreatedDate");                        /*Optional 28*/
            reader.GetDateTime("PaymentReferenceDate");               /*Optional 29*/
            reader.GetDecimal("RecordDatePosition");                  /*Optional 30*/
            reader.GetString("Internal_Ref_Number");                  /*Optional 31*/
            reader.GetString("Internal_Batch_Num");                   /*Optional 32*/
            reader.GetString("External_Client_Ref_Num");              /*Optional 33*/
            reader.GetString("External_Claim_Ref_Num");               /*Optional 34*/
            reader.GetString("External_Batch_Num");                   /*Optional 35*/
            reader.GetString("Notes");                                /*Optional 36*/
            reader.GetInt("Dividend_FilingID");                       /*Optional 37*/
            reader.GetInt("Dividend_PayID");                          /*Optional 38*/
            reader.GetString("CurrentMode");                          /*Optional 39*/
            reader.GetString("Editor");                               /*Optional 40*/
            reader.GetString("ReclaimFeesType");                      /*Optional 41*/
            reader.GetString("Filing_Reference_Number");              /*Optional 42*/
            reader.GetDateTime("ModifiedDateTime");                   /*Optional 43*/
            reader.GetString("LastModifiedBy");                       /*Optional 44*/
            reader.GetString("External_Service_Provider_Name");       /*Optional 45*/
            reader.GetBool("NewRow");
            reader.GetDecimal("Override_Fees");                       /*Optional 47*/
            reader.GetDecimal("Residency_Percent");                   /*Optional 48*/
            reader.GetInt("EST_Time_To_Pay");                         /*Optional 49*/
            reader.GetBool("Override_Rate");                          /*Optional 50*/
            reader.GetDecimal("Override_Custodial_Fees");             /*Optional 51*/
            reader.GetString("EntityType_France");                    /*Optional 52*/
            reader.GetDecimal("Interest_Paid_EUR");                   /*Optional 53*/
            reader.GetString("Custodial_Ref_Num");                    /*Optional 54*/
            reader.GetDateTime("Custodial_Report_Date");              /*Optional 55*/
            reader.GetString("Custodial_Report_Status");              /*Optional 56*/
            reader.GetString("LawOfEstablishment");                   /*Optional 57*/
            reader.GetBool("CERT");                                   /*Optional 58*/
            reader.GetString("Validation");                           /*Optional 59*/
            reader.GetString("Validation_Reason");                    /*Optional 60*/
            reader.GetString("Broker_BO_Name");                       /*Optional 61*/
            reader.GetBool("Paid_And_Locked");                        /*Optional 62*/
            reader.GetString("Category");                             /*Optional 63*/
            reader.GetString("Name_Of_Underlying_Holder");            /*Optional 64*/
            reader.GetString("Entity_Name");                          /*Optional 65*/
            reader.GetDecimal("PercentOfShares_Held_UH");             /*Optional 66*/
            reader.GetInt("RSHID");                                   /*Optional 67*/
            reader.GetString("ParentID");                             /*Optional 68*/
            reader.GetString("ThreadID");                             /*Optional 69*/
            reader.GetString("ESPAccountNumber");                     /*Optional 70*/
            reader.GetInt("Tier");                                    /*Optional 71*/
            reader.GetString("Tier2AccountNumber");                   /*Optional 72*/
            reader.GetString("Tier3AccountNumber");                   /*Optional 73*/
            reader.GetString("Tier4AccountNumber");                   /*Optional 74*/
            reader.GetString("Tier5AccountNumber");                   /*Optional 75*/
            reader.GetInt("ClientID");
            reader.GetBool("Designated");                             /*Optional 77*/
            reader.GetInt("PID");
            reader.GetInt("BOIndex");                                 /*Optional 79*/
            reader.GetInt("TotalParticipants");                       /*Optional 80*/
            reader.GetInt("TotalTreatyParticipants");                 /*Optional 81*/
            reader.GetDateTime("DateOfFiscalYearEnd");                /*Optional 82*/
            reader.GetString("RejectReasons");                        /*Optional 83*/
            reader.GetString("Tier6AccountNumber");                   /*Optional 84*/
            reader.GetString("Tier7AccountNumber");                   /*Optional 85*/
            reader.GetString("BoEmail");                              /*Optional 86*/
            reader.GetString("BOAccountNumber");                      /*Optional 87*/
            reader.GetDateTime("StatusDate");                         /*Optional 88*/
            reader.GetString("RejectParty");                          /*Optional 89*/
            reader.GetDateTime("AuditDeadline");                      /*Optional 90*/
            reader.GetBool("ExtensionRequested");                     /*Optional 91*/
            reader.GetDateTime("ExtensionDeadline");                  /*Optional 92*/
            reader.GetString("ElectionOption");                       /*Optional 93*/
            reader.GetInt("DocStatus_ESP");                           /*Optional 94*/
            reader.GetString("DocStatus");                            /*Optional 95*/
            reader.GetInt("boclient_id");                             /*Optional 96*/
            reader.GetString("pension_plan");                         /*Optional 97*/
            reader.GetString("VoucherStatus");                        /*Optional 98*/
            reader.GetDateTime("VoucherDate");                        /*Optional 99*/
            reader.GetString("LocalMarketID");                        /*Optional 100*/
            reader.GetInt("Dividend_RejectionID");                    /*Optional 101*/
            reader.GetDecimal("Depositary_Fees_USD_Locked");          /*Optional 102*/
            reader.GetDecimal("Custodial_Fees_EUR_Locked");           /*Optional 103*/
            reader.GetDecimal("Custodial_Fees_USD_Locked");           /*Optional 104*/
            reader.GetDecimal("Net_Amount_Paid_USD_Locked");          /*Optional 105*/
            reader.GetDecimal("Net_Amount_Paid_EUR_Locked");          /*Optional 106*/
            reader.GetDateTime("BoBirthDate");                        /*Optional 107*/
            reader.GetString("BoLastName");                           /*Optional 108*/
            reader.GetString("BoFirstName");                          /*Optional 109*/
            reader.GetInt("ClientListingID");                         /*Optional 110*/
            reader.GetString("BoData");                               /*Optional 111*/
            reader.GetString("Status_Detail");                        /*Optional 112*/
            reader.GetDateTime("Doc_Deadline");                       /*Optional 113*/
            reader.GetString("Kenmerk_Number");                       /*Optional 114*/
            reader.GetString("Kenmerk_Status");                       /*Optional 115*/
            reader.GetDateTime("Kenmerk_Status_Date");                /*Optional 116*/
            reader.GetString("FileLinking_Status");                   /*Optional 117*/
            reader.GetInt("Filing_Attempts");                         /*Optional 118*/
            reader.GetString("Kenmerk_Status_Reason");                /*Optional 119*/
            reader.GetBool("PaidViaDTCC");                            /*Optional 120*/
            reader.GetString("COI");                                  /*Optional 121*/
            reader.GetInt("Par_ID");                                  /*Optional 122*/
            reader.GetDecimal("Depositary_FeesA_USD_Locked");         /*Optional 123*/
            reader.GetString("Payment_Cycle");                        /*Optional 124*/
            reader.GetDateTime("Payment_Cycle_DateTime");             /*Optional 125*/
            reader.GetString("StatusUpdatedBy");                      /*Optional 126*/
            reader.GetString("FundISIN");                             /*Optional 127*/
            reader.GetDateTime("PurchaseDate");                       /*Optional 128*/
            reader.GetString("ORDNUNGS_NR");                          /*Optional 129*/
            reader.GetString("NewBoTaxID");                           /*Optional 130*/
            reader.GetString("AuditStatus");                          /*Optional 131*/
            reader.GetDateTime("AuditStatusDate");                    /*Optional 132*/
        }