Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Import Project Budget for Cost Project using WBS Estimates - Error

(0) ShareShare
ReportReport
Posted on by 500

We are hitting an issue with importing a Project Budget using the WBS Estimates "Source".

We find this issue on Cost Projects only.

The error occurs when the WBS task has a scheduled end date beyond today's date, as follows:-

"Invoice date is before project date"

By bringing the task's end date to be today, it fixes the issue.

Is there a "functional" type solution to this which avoid having to artificially set the task dates to today? Why can't they be in the future?

I have outlined a possible dev solution below unless there is HotFix I haven't found on this?

Possible dev solution

Follow through from ProjForecastTransferFromWbs, transferToForecast().

I can see that in the ValidateWrite() of ProjForecastEmpl table it calls setSchedFromDateToSourceActivity() which makes SchedFromDate the same as the task's end date.

InvoiceDate is already typically set to today's date (as the first time it calls initFromTransDate() the project id is not yet set and it treats it like a T&M project type without a project contract because the Project Type enum = zero).

It is subesequently ignored when this same method is called later from setSchedFromDateToSourceActivity() because the Cost project type is not coded for in the if/else block that sets InvoiceDate.

Like Fixed price, Inventment & Internal project types, I could set the InvoiceDate to be dateNull() for the Cost project type and this would ignore the later validation completely.

  • Verified answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Import Project Budget for Cost Project using WBS Estimates - Error

    Hi MGP,

    A cost project is not invoiced and should not have an invoice date related error message.

    If you get such an error message then this must be related to a bug in my opinion.

    Can you report this to MS and ask to get it fixed through a MS hotfix?

    Many thanks and best regards,

    Ludwig

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans