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...
Answered

Vendor Expense

(0) ShareShare
ReportReport
Posted on by 40

Hi There,

We are trying to extract vendor expense entries out of nav into our data warehouse, we notice there is Vendor Ledger Entry table, however we don't see any field/column for GL/Ledger Number, as well as cost center.

Is this the right table for vendor expense, do we need other table to look up for GL number, and cost center.

Much appreciate it

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    You will have to look at the G/L Entry table for those kind of data.

    The vendor ledger entries does only show accounts payable.

  • Don01 Profile Picture
    40 on at

    Thanks Inge!

    but GL entry table doesn't have vendor number, I think, so I cannot get $ spent by vendor.

  • Verified answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    in the g/l entry the vendor number can be found in the field

    pastedimage1668261083225v1.png

    Source type:

    pastedimage1668261099010v2.png

    if source type = Vendor then in the SOurce No. field you will have your "Vendor no."

    check my answer if it helped you, thanks

    DANiele

  • Don01 Profile Picture
    40 on at

    Daniele,

    Thanks so much! Yes, that would work!

  • Don01 Profile Picture
    40 on at

    one more follow up question on this, I notice that both GL entry and Vendor Ledger Entry table have "Document Type", with numeric value such as 0,1,2.3, 5,6), however I cannot find anywhere for its respective values, where does the value get defined, is it in different set up table?

  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    hello the numeric values correspond to the options of the Document type.field property as in the image:
    ,Payment,Invoice,Credit Memo,Finance Charge Memo,Reminder,Refund,,,,Dishonored

    the empty element corresponds to 0, payment corresponds to 1, invoice corresponds to 2 etc etc

    pastedimage1668446173160v1.png

    DAniele

  • Don01 Profile Picture
    40 on at

    Hi DAniele,

    Thank you so much for quick response! So is it like this (see below)? are they the same regardless the company which set up the navs?

    0 - Empty

    1 - Payment

    2 -  Invoice

    3 - Credit Memo

    4 - Finance Charge Memo

    5 - Reminder

    6 - Refund

  • Verified answer
    YUN ZHU Profile Picture
    95,748 Super User 2025 Season 2 on at

    Hi, This is the practice in BC, which may be easier to understand.

    pastedimage1668468397750v1.png

    Hope this helps as well.

    Thanks.

    ZHU

  • Don01 Profile Picture
    40 on at

    Thanks ZHU!

    Very helpful, so this is built into the code, then it applies across the board, no wonder I cannot find anything in the database

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