Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / internal abstract clas...
Finance forum
Under review by Community Managers

Under review

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

internal abstract class VendInvoiceCapInvTransferProcessorBase

Posted on by
 
Hi, I have implemented Invoice Capture.  One problem I've run into is that when the program posts the invoice data to the invoice journal, it that it just grabs the first journal name.  This happens in an abstract internal class:
 
using Newtonsoft.Json.Linq;internal abstract class VendInvoiceCapInvTransferProcessorBase
 
In this method:
 
    protected LedgerJournalNameId getJournalName(LedgerJournalType ledgerJournalType)    {        LedgerJournalName ledgerJournalName;        select firstonly JournalName            from ledgerJournalName            where ledgerJournalName.JournalType == ledgerJournalType;        return ledgerJournalName.JournalName;    }
 
I want to create a list of journal names and (somehow) override this method and allow the user to select the journal name for the journal that is created.
 
Any ideas?
 
ah, it's internal to the application suite...so nothing I can do..
 
Thanks

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,978 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,821 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans