Beispiel #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Type of fine assessed to this patron and item.  A corresponding ItemInfo is required for all FineInfo types except "Other" and "Refund" where it is permissible to omit the ItemInfo element if there isn't an item associated with the fine.</param>
 ///<param name="assessed">The date and time that this fine was assessed to the patron.</param>
 ///<param name="amount">The current balance of the fine expressed as a positive number. </param>
 ///
 public FineInfo( FineType type, DateTime? assessed, MonetaryAmount amount )
     : base(LibraryDTD.FINEINFO)
 {
     this.SetType( type );
     this.Assessed = assessed;
     this.Amount = amount;
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="accountClass">Classification of budgetary account code summary</param>
 ///<param name="functionBreakdown">Function breakdown of account code for summarization.</param>
 ///<param name="budgetAmount">Summarized, positive amount without cents for breakdowns</param>
 ///
 public BudgetAccount( AccountClass accountClass, string functionBreakdown, MonetaryAmount budgetAmount )
     : base(HrfinDTD.BUDGETACCOUNT)
 {
     this.SetAccountClass( accountClass );
     this.FunctionBreakdown = functionBreakdown;
     this.BudgetAmount = budgetAmount;
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="startDate">A StartDate</param>
 ///<param name="currentCost">A CurrentCost</param>
 ///<param name="reportRow">A ReportRow</param>
 ///
 public ResourceReportLine( DateTime? startDate, MonetaryAmount currentCost, string reportRow )
     : base(SchoolDTD.RESOURCEREPORTLINE)
 {
     this.StartDate = startDate;
     this.CurrentCost = currentCost;
     this.ReportRow = reportRow;
 }
Beispiel #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Type of pay</param>
 ///<param name="amount">Pay amount.</param>
 ///<param name="percentage">Percentage of pay this represents.</param>
 ///
 public PayRate( PayRateType type, MonetaryAmount amount, decimal? percentage )
     : base(HrfinDTD.PAYRATE)
 {
     this.SetType( type );
     this.Amount = amount;
     this.Percentage = percentage;
 }
Beispiel #5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="accountType">Classification of budgetary account code summary</param>
 ///<param name="fundType">Is the account a general or special account code designation?</param>
 ///<param name="function">Function break in account code for summarization.</param>
 ///<param name="amount">Summarized amount.</param>
 ///
 public AnnualItem( AccountClass accountType, FundType fundType, string function, MonetaryAmount amount )
     : base(HrfinDTD.ANNUALITEM)
 {
     this.SetAccountType( accountType );
     this.SetFundType( fundType );
     this.Function = function;
     this.Amount = amount;
 }
Beispiel #6
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">The value of sale quantity</param>
 ///<param name="mealStatus">A MealStatus</param>
 ///<param name="saleUnit">Unit of Sale</param>
 ///<param name="chargeToChild">Charge to child per unit</param>
 ///
 public SaleQuantity( decimal? value, MealStatus mealStatus, string saleUnit, MonetaryAmount chargeToChild )
     : base(FoodDTD.SALEQUANTITY)
 {
     this.Value = value;
     this.MealStatus = mealStatus;
     this.SaleUnit = saleUnit;
     this.ChargeToChild = chargeToChild;
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The GUID of the employee contract information.</param>
 ///<param name="employeePersonalRefId">The GUID that refers to the EmployeePersonal object.</param>
 ///<param name="baseSalary">Base salary of employee for this contact in whole dollars</param>
 ///<param name="contractStartDate">Contractual start date.</param>
 ///<param name="contractEndDate">Contractual ending date.</param>
 ///
 public EmployeeContract( string refId, string employeePersonalRefId, MonetaryAmount baseSalary, DateTime? contractStartDate, DateTime? contractEndDate )
     : base(Adk.SifVersion, HrfinDTD.EMPLOYEECONTRACT)
 {
     this.RefId = refId;
     this.EmployeePersonalRefId = employeePersonalRefId;
     this.BaseSalary = baseSalary;
     this.ContractStartDate = contractStartDate;
     this.ContractEndDate = contractEndDate;
 }
Beispiel #8
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">GUID for this transaction. The application that owns this object is responsible for generating this unique ID.</param>
 ///<param name="billedEntity">A BilledEntity</param>
 ///<param name="entityId">ID of the entity being billed for this billing activity (e.g. student ID, employee ID, organization, etc.)</param>
 ///<param name="billingDate">Date of the transaction.</param>
 ///<param name="transactionDescription">Description of the transaction.</param>
 ///<param name="billedAmount">Amount to be billed.</param>
 ///
 public Billing( string refId, BilledEntity billedEntity, string entityId, DateTime? billingDate, string transactionDescription, MonetaryAmount billedAmount )
     : base(Adk.SifVersion, HrfinDTD.BILLING)
 {
     this.RefId = refId;
     this.BilledEntity = billedEntity;
     this.EntityId = entityId;
     this.BillingDate = billingDate;
     this.TransactionDescription = transactionDescription;
     this.BilledAmount = billedAmount;
 }
Beispiel #9
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">GUID for this transaction. The application that owns this object is responsible for generating this unique ID.</param>
 ///<param name="entityId">ID of the entity related to this billing activity (e.g. student ID, employee ID, organization, etc.)</param>
 ///<param name="billingRefId">A pointer back to the Billing object.</param>
 ///<param name="receivedDate">Date payment was received.</param>
 ///<param name="transactionDescription">Description of the transaction.</param>
 ///<param name="receivedAmount">Amount received.</param>
 ///<param name="receivedTransactionId">Memo transaction ID from other vendor software.</param>
 ///
 public Payment( string refId, string entityId, string billingRefId, DateTime? receivedDate, string transactionDescription, MonetaryAmount receivedAmount, string receivedTransactionId )
     : base(Adk.SifVersion, HrfinDTD.PAYMENT)
 {
     this.RefId = refId;
     this.EntityId = entityId;
     this.BillingRefId = billingRefId;
     this.ReceivedDate = receivedDate;
     this.TransactionDescription = transactionDescription;
     this.ReceivedAmount = receivedAmount;
     this.ReceivedTransactionId = receivedTransactionId;
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="libraryType">A library-defined language-independent value that refers to a specific patron type.</param>
 ///<param name="sifRefId">The SIF wide unique identifier of a student or teacher.</param>
 ///<param name="sifRefObject">The type of patron mapped to a SIF supported object. Library automation products work with patrons who could be students or teachers.</param>
 ///<param name="electronicIdList">This is an open list with no primary key.</param>
 ///<param name="numberOfCheckouts">The total number of items that this patron currently has checked out including overdue items.</param>
 ///<param name="numberOfOverdues">The total number of checkouts that are currently overdue.</param>
 ///<param name="numberOfFines">The total number of fines currently assessed to this patron.</param>
 ///<param name="fineAmount">The total monetary amount of the fines that this patron currently owes the library expressed as a positive number.</param>
 ///
 public LibraryPatronStatus( string libraryType, string sifRefId, PatronType sifRefObject, ElectronicIdList electronicIdList, int? numberOfCheckouts, int? numberOfOverdues, int? numberOfFines, MonetaryAmount fineAmount )
     : base(Adk.SifVersion, LibraryDTD.LIBRARYPATRONSTATUS)
 {
     this.LibraryType = libraryType;
     this.SIF_RefId = sifRefId;
     this.SetSIF_RefObject( sifRefObject );
     this.ElectronicIdList = electronicIdList;
     this.NumberOfCheckouts = numberOfCheckouts;
     this.NumberOfOverdues = numberOfOverdues;
     this.NumberOfFines = numberOfFines;
     this.FineAmount = fineAmount;
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="reportDate">Date that report snapshot was generated</param>
 ///<param name="schoolYear">School year for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g., "2004" for the 2003-04 school year).</param>
 ///<param name="stateProvinceId">State assigned reporting unit number</param>
 ///<param name="ssn">Employee social security number</param>
 ///<param name="name">Name of employee.</param>
 ///<param name="race">Primary employee's race</param>
 ///<param name="certifications">Employee certification area information</param>
 ///<param name="salary">Employee's salary</param>
 ///<param name="status">A Status</param>
 ///<param name="leave">Is this employee on leave this year?</param>
 ///<param name="totalYears">Total number of years employee has been in a professional position</param>
 ///<param name="unitYears">Total number of years at current LEA</param>
 ///<param name="education">Highest level of education attained by employee.</param>
 ///
 public EmployeeCredential( DateTime? reportDate, int? schoolYear, string stateProvinceId, string ssn, Name name, RaceType race, Certifications certifications, MonetaryAmount salary, EmploymentStatus status, YesNo leave, decimal? totalYears, decimal? unitYears, TeachingCredentialBasis education )
     : base(Adk.SifVersion, ProfdevDTD.EMPLOYEECREDENTIAL)
 {
     this.ReportDate = reportDate;
     this.SchoolYear = schoolYear;
     this.StateProvinceId = stateProvinceId;
     this.SSN = ssn;
     this.Name = name;
     this.SetRace( race );
     this.Certifications = certifications;
     this.Salary = salary;
     this.SetStatus( status );
     this.SetLeave( leave );
     this.TotalYears = totalYears;
     this.UnitYears = unitYears;
     this.SetEducation( education );
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="accountCode">Account code charged to this item.</param>
 ///<param name="amount">Amount charged to this account.</param>
 ///
 public ExpenseAccount( string accountCode, MonetaryAmount amount )
     : base(HrfinDTD.EXPENSEACCOUNT)
 {
     this.AccountCode = accountCode;
     this.Amount = amount;
 }