Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

Error while opening vendor payment journal line getting error.

Posted on by
Getting error while open vendor Payment journal lines /LedgerJournalEngine_VendPromissoryNote::construct has been used incorrectly/.
 
////
Categories:
  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Error while opening vendor payment journal line getting error.
    Hi,
    Is your problem solved? You can also check out the link below, it mentions a similar problem to yours, and as Grish said, you need to check if the parameter value setting is missing.
    Solved: "Purchase order "XXXX" Function ProjbudgetTransactionLine_Virtual::construct has been incorrectly called." while PO confirm in D365FO (dynamics.com)
    Best Regards,
    Hana

     
  • Suggested answer
    GirishS Profile Picture
    GirishS 27,828 Moderator on at
    Error while opening vendor payment journal line getting error.
    Hi Sadhish,
     
    Do you have any customization in this area?
    If not, you need to debug and see. After referring to the class it seems the construct method in LedgerJournalEngine_VendPromissoryNote class will take two parameters - FormRun and LedgerJournalType.
    If LedgerJournalType is null it will throw above error.
    So, you need to debug the code and identify what went wrong.
     
    Thanks,
    Girish S.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans