partial void OnCompensationPerformancePlanChanging(global::Microsoft.Dynamics.DataEntities.CompensationPerformancePlan value);
public static CompensationPayPerformanceAllocation CreateCompensationPayPerformanceAllocation(string dataAreaId, string departmentNumber, string plan, global::System.DateTimeOffset expiration, global::System.DateTimeOffset effective, global::Microsoft.Dynamics.DataEntities.CompensationPerformancePlan compensationPerformancePlan) { CompensationPayPerformanceAllocation compensationPayPerformanceAllocation = new CompensationPayPerformanceAllocation(); compensationPayPerformanceAllocation.dataAreaId = dataAreaId; compensationPayPerformanceAllocation.DepartmentNumber = departmentNumber; compensationPayPerformanceAllocation.Plan = plan; compensationPayPerformanceAllocation.Expiration = expiration; compensationPayPerformanceAllocation.Effective = effective; if ((compensationPerformancePlan == null)) { throw new global::System.ArgumentNullException("compensationPerformancePlan"); } compensationPayPerformanceAllocation.CompensationPerformancePlan = compensationPerformancePlan; return(compensationPayPerformanceAllocation); }