/// <summary> /// Initializes a new instance of the <see cref = "HumanResourceData"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public HumanResourceData(IQuery query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.WorkforceDataId); EmployeeNumber = new Element(Record, Field.EmployeeNumber); FirstName = new Element(Record, Field.FirstName); LastName = new Element(Record, Field.LastName); Status = new Element(Record, Field.Status); JobTitle = new Element(Record, Field.JobTitle); OccupationalSeries = new Element(Record, Field.OccupationalSeries); HumanResourceOrganizationCode = new Element(Record, Field.HumanResourceOrganizationCode); HumanResourceOrganizationName = new Element(Record, Field.HumanResourceOrganizationName); Grade = new Element(Record, Field.Grade); Step = new Element(Record, Field.Step); AppointmentAuthority = new Element(Record, Field.AppointmentAuthority); AppointmentType = new Element(Record, Field.AppointmentType); BargainingUnit = new Element(Record, Field.BargainingUnit); RetirementPlan = new Element(Record, Field.RetirementPlan); HireDate = new Time(Record, EventDate.HireDate); ServiceDate = new Time(Record, EventDate.ServiceDate); WigiDueDate = new Time(Record, EventDate.WigiDueDate); GradeEntryDate = new Time(Record, EventDate.GradeEntryDate); StepEntryDate = new Time(Record, EventDate.StepEntryDate); CompensationRate = new Amount(Record, Numeric.CompensationRate); Args = Record.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "Purchase"/> class. /// </summary> /// <param name = "query" > /// </param> public Purchase(IQuery query) : base(query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.PurchaseId); NpmCode = new Element(Record, Field.NpmCode); DocumentType = new Element(Record, Field.DocumentType); PurchaseRequest = new Element(Record, Field.PurchaseRequest); DocumentPrefix = new Element(Record, Field.DocumentPrefix); DCN = new Element(Record, Field.DCN); ObligatingDocumentNumber = new Element(Record, Field.ObligatingDocumentNumber); AgreementNumber = new Element(Record, Field.ReimbursableAgreementNumber); GrantNumber = new Element(Record, Field.GrantNumber); ProgramProjectCode = new Element(Record, Field.ProgramProjectCode); SiteProjectCode = new Element(Record, Field.SiteProjectCode); System = new Element(Record, Field.System); FocCode = new Element(Record, Field.FocCode); FocName = new Element(Record, Field.FocName); TransactionNumber = new Element(Record, Field.TransactionNumber); OriginalActionDate = new Time(Record, EventDate.OriginalActionDate); Commitments = new Amount(Record, Numeric.Commitments); OpenCommitments = new Amount(Record, Numeric.OpenCommitments); Obligations = new Amount(Record, Numeric.Obligations); ULO = new Amount(Record, Numeric.ULO); Deobligations = new Amount(Record, Numeric.Deobligations); Expenditures = new Amount(Record, Numeric.Expenditures); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the /// <see> /// <cref> /// RegionalAuthority /// </cref> /// </see> /// class. /// </summary> /// <param name = "query" > /// The query. /// </param> public RegionalAuthority(IQuery query) : base(query) { Record = new DataBuilder(query)?.GetRecord(); BudgetFiscalYear = new BudgetFiscalYear(Record.GetField(Field.BFY)); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "PayrollObligation"/> class. /// </summary> /// <param name = "query" > /// </param> public PayrollObligation(IQuery query) : base(query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.PayrollObligationId); RpioCode = new Element(Record, Field.RpioCode); FundCode = new Element(Record, Field.FundCode); AhCode = new Element(Record, Field.AhCode); OrgCode = new Element(Record, Field.OrgCode); RcCode = new Element(Record, Field.RcCode); AccountCode = new Element(Record, Field.AccountCode); ProgramProjectCode = new Element(Record, Field.ProgramProjectCode); HrOrgCode = new Element(Record, Field.HrOrgCode); WorkCode = new Element(Record, Field.WorkCode); FocCode = new Element(Record, Field.FocCode); PayPeriod = new Element(Record, Field.PayPeriod); Amount = new Amount(Record, Numeric.Amount); Hours = new Amount(Record, Numeric.Hours); AllocationPercentage = new Amount(Record, Numeric.AllocationPercentage); AnnualBaseHours = new Amount(Record, Numeric.AnnualBaseHours); AnnualBasePaid = new Amount(Record, Numeric.AnnualBasePaid); CumulativeBenefits = new Amount(Record, Numeric.CumulativeBenefits); AnnualOtherHours = new Amount(Record, Numeric.AnnualOtherHours); AnnualOtherPaid = new Amount(Record, Numeric.AnnualOtherPaid); AnnualOvertimeHours = new Amount(Record, Numeric.AnnualOvertimePaid); AnnualOvertimePaid = new Amount(Record, Numeric.AnnualOvertimePaid); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "FinanceObjectClass"/> class. /// </summary> /// <param name = "foccode" > /// The foccode. /// </param> public FinanceObjectClass(string foccode) { Record = new DataBuilder(Source, GetArgs(foccode))?.GetRecord(); ID = new Key(Record, PrimaryKey.FinanceObjectClassId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Args = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "FinanceObjectClass"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public FinanceObjectClass(IQuery query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.FinanceObjectClassId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Args = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "AllowanceHolder"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public AllowanceHolder(IQuery query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.AllowanceHolderId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "ProgramArea"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public ProgramArea(IQuery query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.ProgramAreaId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "TimeOff"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public TimeOff(IQuery query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.TimeOffId); FundCode = new Element(Record, Field.FundCode); Amount = new Amount(Record, Numeric.Amount); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "Objective"/> class. /// </summary> /// <param name = "code" > /// The code. /// </param> public Objective(string code) { Record = new DataBuilder(Source, SetArgs(code))?.GetRecord(); ID = new Key(Record, PrimaryKey.ObjectiveId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "Organization"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public Organization(IQuery query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.OrganizationId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "AllowanceHolder"/> class. /// </summary> /// <param name = "ahcode" > /// The ahcode. /// </param> public AllowanceHolder(string ahcode) { Record = new DataBuilder(Source, SetArgs(ahcode))?.GetRecord(); ID = new Key(Record, PrimaryKey.AllowanceHolderId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "Organization"/> class. /// </summary> /// <param name = "org" > /// The org. /// </param> public Organization(string org) { Record = new DataBuilder(Source, GetArgs(org))?.GetRecord(); ID = new Key(Record, PrimaryKey.OrganizationId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "Overtime"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public Overtime( IQuery query ) { Record = new DataBuilder( query )?.GetRecord(); ID = new Key( Record, PrimaryKey.OvertimeId ); FundCode = new Element( Record, Field.FundCode ); BOC = new Element( Record, Field.BocCode ); Amount = GetAmount(); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "BudgetObjectClass"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public BudgetObjectClass(IQuery query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.BudgetObjectClassId); Name = new Element(Record, Field.BudgetObjectClassName); Code = new Element(Record, Field.BudgetObjectClassCode); Category = (BOC)Enum.Parse(typeof(BOC), Name.GetValue()); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "ResourcePlanningOffice"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public ResourcePlanningOffice(IQuery query) : this() { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.ResourcePlanningOfficeId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "ResourcePlanningOffice"/> class. /// </summary> /// <param name = "rpiocode" > /// The rpiocode. /// </param> public ResourcePlanningOffice(string rpiocode) : this() { Record = new DataBuilder(Source, SetArgs(rpiocode))?.GetRecord(); ID = new Key(Record, PrimaryKey.ResourcePlanningOfficeId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "UnliquidatedObligation"/> class. /// </summary> /// <param name = "query" > /// </param> public UnliquidatedObligation(IQuery query) : base(query) { Record = new DataBuilder()?.GetRecord(); ID = new Key(Record, PrimaryKey.UnliquidatedObligationId); OriginalActionDate = GetOriginalActionDate(); ULO = new Amount(Record, Numeric.ULO); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "Commitment"/> class. /// </summary> /// <param name = "query" > /// </param> public Commitment(IQuery query) : base(query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.CommitmentId); OriginalActionDate = GetOriginalActionDate(); Data = Record?.ToDictionary(); Type = OutlayType.Commitment; }
/// <summary> /// Initializes a new instance of the <see cref = "BudgetObjectClass"/> class. /// </summary> /// <param name = "code" > /// The code. /// </param> public BudgetObjectClass(string code) : this() { Record = new DataBuilder(Source, SetArgs(code))?.GetRecord(); ID = new Key(Record, PrimaryKey.BudgetObjectClassId); Name = new Element(Record, Field.BudgetObjectClassName); Code = new Element(Record, Field.BudgetObjectClassCode); Category = (BOC)Enum.Parse(typeof(BOC), Name.GetValue()); Data = Record?.ToDictionary(); }
public ResponsibilityCenter(string rccode) : this() { Record = new DataBuilder(Source, SetArgs(rccode))?.GetRecord(); ResponsibilityCenterId = new Key(Record, PrimaryKey.ResponsibilityCenterId); Name = new Element(Record, Field.Name); RcCode = new Element(Record, Field.RcCode); Data = Record?.ToDictionary(); RC = (RC)Enum.Parse(typeof(RC), Name.GetValue()); }
/// <summary> /// Initializes a new instance of the <see cref = "Expenditure"/> class. /// </summary> /// <param name = "query" > /// The query<see cref = "IQuery"/>. /// </param> public Expenditure(IQuery query) : base(query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.ExpenditureId); OriginalActionDate = GetOriginalActionDate(); Expenditures = GetExpenditures(); Data = Record?.ToDictionary(); Type = OutlayType.Expenditure; }
/// <summary> /// Initializes a new instance of the <see cref = "Obligation"/> class. /// </summary> /// <param name = "query" > /// </param> public Obligation(IQuery query) : base(query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.ObligationId); OriginalActionDate = GetOriginalActionDate(); Amount = new Amount(Record, Numeric.Obligations); Data = Record?.ToDictionary(); Type = OutlayType.Obligation; }
/// <summary> /// Initializes a new instance of the <see cref = "Fund"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public Fund(IQuery query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.FundId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Title = new Element(Record, Field.Title); TreasurySymbol = new Element(Record, Field.TreasurySymbol); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "Fund"/> class. /// </summary> /// <param name = "code" > /// The code. /// </param> public Fund(string code) { Record = new DataBuilder(Source, GetArgs(code))?.GetRecord(); ID = new Key(Record, PrimaryKey.FundId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); Title = new Element(Record, Field.Title); TreasurySymbol = new Element(Record, Field.TreasurySymbol); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "BudgetObjectClass"/> class. /// </summary> /// <param name = "boc" > /// The code. /// </param> public BudgetObjectClass(BOC boc) : this() { Record = new DataBuilder(Source, SetArgs(boc))?.GetRecord(); ID = new Key(Record, PrimaryKey.BudgetObjectClassId); Name = new Element(Record, Field.BudgetObjectClassName); Code = new Element(Record, Field.BudgetObjectClassCode); Category = boc; Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "NationalProgram"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public NationalProgram(IQuery query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.NationalProgramId); Name = new Element(Record, Field.Name); Code = new Element(Record, Field.Code); RpioCode = new Element(Record, Field.RpioCode); Title = new Element(Record, Field.Title); Data = Record?.ToDictionary(); NPM = (NPM)Enum.Parse(typeof(NPM), Code.GetValue()); }
/// <summary> /// Initializes a new instance of the <see cref = "Reimbursable"/> class. /// </summary> /// <param name = "query" > /// </param> public Reimbursable(IQuery query) : base(query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.ReimbursableId); AgreementNumber = new Element(Record, Field.ReimbursableAgreementNumber); OpenCommitments = new Amount(Record, Numeric.OpenCommitments); ULO = new Amount(Record, Numeric.ULO); Expenditures = new Amount(Record, Numeric.Expenditures); Data = Record?.ToDictionary(); }
/// <summary> /// Initializes a new instance of the <see cref = "Division"/> class. /// </summary> /// <param name = "query" > /// The query. /// </param> public Division(IQuery query) { Record = new DataBuilder(query)?.GetRecord(); ID = new Key(Record, PrimaryKey.DivisionId); Title = new Element(Record, Field.Title); Code = new Element(Record, Field.Code); Name = new Element(Record, Field.Name); Caption = new Element(Record, Field.Caption); Args = Record?.ToDictionary(); RC = (RC)Enum.Parse(typeof(RC), Name?.GetValue()); }
/// <summary> /// Initializes a new instance of the <see cref = "Division"/> class. /// </summary> /// <param name = "rc" > /// The rc. /// </param> public Division(IResponsibilityCenter rc) : this() { Record = new DataBuilder(Source, GetArgs(rc))?.GetRecord(); ID = new Key(Record, PrimaryKey.DivisionId); Title = new Element(Record, Field.Title); Code = new Element(Record, Field.Code); Name = new Element(Record, Field.Name); Caption = new Element(Record, Field.Caption); Args = Record?.ToDictionary(); RC = (RC)Enum.Parse(typeof(RC), Name?.GetValue()); }