Reading a P6 .xer into Aspose.Tasks, and looking at all the task data. None of the cost fields have any value other than zero. The original source when viewed in the source scheduling system has costs calculated.
string fileName = @"C:\Birthday Party.xer";
Project m_Project = new Project(fileName);
ChildTasksCollector m_coll = new ChildTasksCollector();
TaskUtils.Apply(m_Project.RootTask, m_coll, 0);
List<Aspose.Tasks.Task> Tasks = m_coll.Tasks;
foreach (Aspose.Tasks.Task p_Source in Tasks) {
Console.WriteLine("{0} {1}", "Uid", p_Source.Get(Tsk.Uid));
Console.WriteLine("{0} {1}", "Name", p_Source.Get(Tsk.Name));
Console.WriteLine("{0} {1}", "RemainingOvertimeCost", p_Source.Get(Tsk.RemainingOvertimeCost));
Console.WriteLine("{0} {1}", "RemainingCost", p_Source.Get(Tsk.RemainingCost));
Console.WriteLine("{0} {1}", "ActualOvertimeCost", p_Source.Get(Tsk.ActualOvertimeCost));
Console.WriteLine("{0} {1}", "ActualCost", p_Source.Get(Tsk.ActualCost));
Console.WriteLine("{0} {1}", "BudgetCost", p_Source.Get(Tsk.BudgetCost));
Console.WriteLine("{0} {1}", "OvertimeCost", p_Source.Get(Tsk.OvertimeCost));
Console.WriteLine("{0} {1}", "Cost", p_Source.Get(Tsk.Cost));
Console.WriteLine("{0} {1}", "FixedCostAccrual", p_Source.Get(Tsk.FixedCostAccrual));
Console.WriteLine("{0} {1}", "FixedCost", p_Source.Get(Tsk.FixedCost));
Console.WriteLine("{0} {1}", "CostVariance", p_Source.Get(Tsk.CostVariance));
Console.WriteLine("");
}
Is the data available?
2022-07-13_19-45-48.png (34.3 KB)
Birthday Party.zip (5.3 KB)
2022-07-13_19-55-36.png (35.2 KB)