web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

"Purchase order "XXXX" Function ProjbudgetTransactionLine_Virtual::construct has been incorrectly called." while PO confirm in D365FO

(0) ShareShare
ReportReport
Posted on by 958

Hi All,

I am importing Purchase order header and lines , which includes project as well using excel import using x++. 

After importing the Purchase order , i am cinfirming the PO manually.

I am getting the below error.

Purchase order "XXXX" Function ProjbudgetTransactionLine_Virtual::construct has been incorrectly called."

7120.MicrosoftTeams_2D00_image-_2800_12_2900_.png

Kindly provide any suggestions where i went wrong. thank you

I have the same question (0)
  • Verified answer
    GirishS Profile Picture
    27,833 Moderator on at

    Hi Test Bot,

    I hope you have access to visual studio.

    Navigate to the class you mentioned. You can see that if any one of the arguments is empty this error is throwing.

    Debugged the code and find out which parameter values are missing.

    I attached the screenshot for your reference.

    2046.Capture.PNG

    Thanks,

    Girish S.

  • TestBot Profile Picture
    958 on at

    Thanks Girish. I had resolved the error from your suggestions.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 510 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 399

#3
Adis Profile Picture

Adis 251 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans