Hello,
I am trying to create a project and tasks via the schedule API and Power Automate as documented here D365 Project Operations, Project for the web: Calling Schedule APIs from Power Automate without custom connectors (daytodaydynamics365.com) (thanks Antti) and that all works fine. The issue is that when I create a task the default day is 8 hours but we operate on 7.5 hours so if I create a task with 5 days duration then it will have an effort of 40 hours and end 6 days later, because the default calendar does have a 7.5 hour day and somehow tasks respect this when calculating the end date and time.
So if I create a task to start on the 3rd of January at 9am for 5 days it will have a duration of 5 days, effort of 40 hours and finish of 10th January 11:30am because it is assuming 8 hours for a day but the calendar is rightly being referenced to say that 40 working hours would take it into the next week.
Is there a nice way to deal with this? I can multiply my day duration by 0.9375 to get the correct duration but then the I get an error if the duration field on the Project Task entity has more than 2 decimal points! Also in tasks the duration ends up being 4.69 days rather than 5 because it is still calculating it as 8 hours.
Does this make sense and any idea where I go now?
This is a Lite deployment.