/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">This is the GUID for this object.</param> ///<param name="employeePersonalRefId">References EmployeePersonal object.</param> ///<param name="professionalDevelopmentActivitiesRefId">References the ProfDevActivities object</param> ///<param name="endDate">Date in which the course or activity was completed and awarded credit.</param> ///<param name="earned">The number of units earned</param> /// public EmployeeCredit( string refId, string employeePersonalRefId, string professionalDevelopmentActivitiesRefId, DateTime? endDate, Earned earned ) : base(Adk.SifVersion, ProfdevDTD.EMPLOYEECREDIT) { this.RefId = refId; this.EmployeePersonalRefId = employeePersonalRefId; this.ProfessionalDevelopmentActivitiesRefId = professionalDevelopmentActivitiesRefId; this.EndDate = endDate; this.Earned = earned; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="ssn">Employee Social Security Number. This element or StateProvinceId, or both, must be included.</param> ///<param name="stateProvinceId">The state-assigned identifier for this staff member. This element or SSN, or both, must be included.</param> ///<param name="name">Name of employee.</param> ///<param name="activityName">Name of the course or activity</param> ///<param name="activityType">Type of course or activity</param> ///<param name="activityHours">Total activity hours/total clock hours</param> ///<param name="earned">Hours attended or credits earned by the employee</param> ///<param name="dateFrom">Start date of the course or activity</param> ///<param name="dateTo">Source: 0613 Employment Status</param> /// public EmployeeRecertification( string ssn, string stateProvinceId, Name name, string activityName, ActivityType activityType, decimal? activityHours, Earned earned, DateTime? dateFrom, DateTime? dateTo ) : base(Adk.SifVersion, ProfdevDTD.EMPLOYEERECERTIFICATION) { this.SSN = ssn; this.StateProvinceId = stateProvinceId; this.Name = name; this.ActivityName = activityName; this.SetActivityType( activityType ); this.ActivityHours = activityHours; this.Earned = earned; this.DateFrom = dateFrom; this.DateTo = dateTo; }