Forum Discussion
End dates of Subtask are appearing wrong
- Feb 04, 2025
Hello again Saleem
If you want the summary task to be independent of the subtasks it groups, you must include the following instructions in the corresponding summary task of the xml schema you want to import:
<ManualStart>2024-12-26T00:00:00</ManualStart>
<ManualFinish>2024-12-29T23:59:00</ManualFinish>
<Manual>1</Manual>The order and place in which they are within the task does not matter, even if there are <Start>... and <Finish>... instructions, because when defining the task as Manual, only manual dates will be considered.
You must write the instructions exactly as shown above, respecting upper and lower case.
You must also write the end date as: 2024-12-29T23:59:00 and not as: 2024-12-29T23:59:59, in which case it will skip to the next day and count one more day when importing the schema file.
Going back to your initial request, it would look like this:
<Name>Testing</Name>
<Type>0</Type>
<IsNull>0</IsNull>
<WBS>3</WBS>
<OutlineNumber>3</OutlineNumber>
<OutlineLevel>1</OutlineLevel>
<Priority>500</Priority>
<ManualStart>2024-12-26T00:00:00</ManualStart>
<ManualFinish>2024-12-29T23:59:00</ManualFinish>
<Manual>1</Manual>If you consider that it has been useful and sufficient, you can close the query by clicking Solved.
Ignacio
Hi Salee
Please attach your mpp project file so we can finish the response sooner.
If you can't attach it, please post the following screenshots (with the date and time format previously selected in options):
1. Project Information form
2. Options > Scheduling form
3. Completed task table, with all columns, including Indicators, Resources, and Predecessors
4. Change Working Time > For Project Calendar (Work Weeks tab)
Ignacio
- saleemullah054Jan 10, 2025Copper Contributor
Hi there !
I was unable to share xml file, so I have copied the xml content here in this attached doc file- Ignacio_MartinJan 14, 2025Iron Contributor
Hi Saleem
The project file in XML format that you attached is correct, although it is generated under version 9, as described at the beginning of the XML document (<SaveVersion>9</SaveVersion>), with version 14 being the latest for this type of export, which is the same one I used to perform the checks. (<SaveVersion>14</SaveVersion>).
From Ms Project, importing the XML file that you attached and with the Calculation option set to ON, the correct result is the following:
From Ms Project, importing the XML file that you attached and with the Calculation option set to OFF, the erroneous result is the same as the one you show in your query:
So, you must previously and permanently activate the Project calculation (Mode ON) in the options, to have the correct result.
If you still can't get it, I recommend that you update the version of Ms Project to be able to have version 14 of XML import.
I hope I have helped you.
Ignacio
- saleemullah054Jan 14, 2025Copper Contributor
Hi there !
The reason i have set the "calculate project after each edit" to OFF is because it was causing the parent task dates to reschedule on basis of its child task as you can see in your screenshot too. The planned start date for parent task "Testing" is set for "12/26/24" in xml file but on importing xml with auto calculation set to ON has rescheduled its start on basis of very first start date from its child task. It does the same for planned end too, so thats way I had to turn it OFF to make parent task dates independent of its child tasks