Hello, there is a problem with filling in fixed costs. The documentation shows that filling in these fields goes through the creation of Baseline1-10 and adding data to the FixedCost field. But when substituting in the output file, these values are not present. Other values in the Baseline are filled in normally
field filling code:
public void SetBaseline(Task task, PointDto point) { var project = task.ParentProject; foreach (var baseline in point.AdditionalData.Baselines) { var newBaseline = new TaskBaseline(task) { BaselineNumber = baseline.BaselineNumber, Work = project.GetWork(baseline.Work), Cost = baseline.Cost, Bcws = baseline.Bcws, Bcwp = baseline.Bcwp, Interim = baseline.Interim, Start = baseline.Start, Finish = baseline.Finish, Duration = project.GetDuration(baseline.Duration.TimeSpan, baseline.Duration.TimeUnit), DurationFormat = baseline.DurationFormat, EstimatedDuration = baseline.EstimatedDuration, FixedCost = baseline.FixedCost }; newBaseline.TimephasedData.AddRange(baseline.TimephasedData); task.Baselines.Add(newBaseline); } }
template.zip (116.0 KB)