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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Vendor payment date

(5) ShareShare
ReportReport
Posted on by 19
Hi all,
 
I am trying to add the vendor payment date to a report I am currentling building.
I am currenty using the table generalLedgerEntries to get the posting date. We now would like to acchieve to also in alignment with the documentNumber get the vendor payment date.
Do you know which table to use for the payment date and how a relationship can be build to show the posting date and payment date for the same documentNumber?
We have looked through various tables, but don't seem to find a possible connection for some reason.

Looking forward to you help :)
 
I have the same question (0)
  • Holly Huffman Profile Picture
    6,538 Super User 2025 Season 2 on at
    Hi there! Good morning, evening, or afternoon - depending on where you are :) Hope you are well today!
     
    To align the posting date from the generalLedgerEntries table with the vendor payment date, you’ll need to identify the table that stores vendor payment details and establish a relationship based on the documentNumber.
     
    1. Vendor Payment Table: The vendor payment date is typically stored in the Vendor payment journal or a related table in the Accounts Payable module. You can explore tables like:
      • VendTrans (Vendor Transactions)
      • VendSettlement (Vendor Settlements)
      • CustVendPaym (Customer/Vendor Payments)
        These tables often include fields for payment dates and document numbers.
    2. Building the Relationship:
      • Use the documentNumber as the key to link the generalLedgerEntries table with the vendor payment table.
      • Ensure that the documentNumber in both tables corresponds to the same transaction.
    3. Query Example:
      • If you're using SQL or a similar query tool, you can join the tables like this:
        sql
        SELECT
            gle.PostingDate,
            vp.PaymentDate,
            gle.DocumentNumber
        FROM
            generalLedgerEntries gle
        INNER JOIN
            VendTrans vp
        ON
            gle.DocumentNumber = vp.DocumentNumber

        Replace VendTrans with the actual table that contains the payment date.
    4. Data Validation:
      • Double-check that the documentNumber is consistent across both tables.
      • If you’re unable to find a direct match, there might be intermediate tables or additional fields (e.g., voucherNumber) that can help establish the connection.
    5. Dynamics 365 Documentation:
  • Jonas "Jones" Melgaard Profile Picture
    4,988 Most Valuable Professional on at
     
    Which Dynamics product are you working with? Finance and Operations, Business Central, GP etc.
  • SS-13030844-0 Profile Picture
    19 on at
    Hi Jonas,

    It would be business central.
  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at
    Moved from Integration, Dataverse, and general topics forum.
  • Gerardo Rentería García Profile Picture
    25,367 Most Valuable Professional on at

    Hi, good day
    I hope this can help you, and give you some hints.

    How do i look for the payment date of a Posted Purchase Invoice?

    Best Regards
    Gerardo

  • Suggested answer
    YUN ZHU Profile Picture
    95,739 Super User 2025 Season 2 on at
    Because this may be a one-to-many situation.
    For example, an invoice is paid twice or more. Or you pay first, then cancel and reapply.
    You can try the following standard feature first.
    Business Central 2023 wave 2 (BC23): Large companies to report payment times (Payment Practices feature)
     
     
    Thanks.
    ZHU
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at
    You should use Vendor Ledger Entries, instead of General Ledger Entries.
    From there, you can look through the invoices and payments.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,629 Super User 2025 Season 2 on at
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,639 Super User 2025 Season 2 on at
    Hello,
     
    Yes i Agree with Teddy Herryanto, You should use the Vendor Ledger Entries instead of General Ledger Entries.
  • Vahid Ghafarpour Profile Picture
    12,181 Super User 2025 Season 2 on at

    If any of the responses helped resolve your issue, please take a moment to mark the best answer. This helps others in the community quickly find solutions to similar problems.

    To do this, simply click the "Does this answer your question?" button on the most helpful response and like the helpful posts. If your issue is still unresolved, feel free to provide more details so the community can assist further!

    Thanks for being an active part of the Dynamics 365 Community! 😊

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans