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
saleemullah054,
Can we suggest a solution? Yes, but we need more information. Your XML data indicates you are using a 24 hour calendar but we need to know how you set up your Project file for input.
- What is the Project Calendar?
- What is the Project Start Date and time, etc.?
- What is the task start time and finish time (you only show the date)?
- Are there more than the two subtasks?
- Do the subtasks have a task calendar different from the Project calendar?
The Project depiction of your XML file is not wrong. Project is simply translating your XML data into the form set up by Project's options. For starters I suggest you provide us with a screen shot of, Project > Properties group > Project Information. You should also set your Project options to show a time along with your dates (File > Options > General group > Date format).
And here's something you could try. Take the Project file as shown in your last screen shot and save it as XML. Then compare that XML file to your original XML file. The differences will offer a direct clue as to what is going on.
John