Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Vendor Expense

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

  • Don01 Profile Picture
    Don01 40 on at
    RE: Vendor Expense

    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

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 73,472 Super User 2024 Season 2 on at
    RE: Vendor Expense

    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
    Don01 40 on at
    RE: Vendor Expense

    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

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: Vendor Expense

    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
    Don01 40 on at
    RE: Vendor Expense

    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?

  • Don01 Profile Picture
    Don01 40 on at
    RE: Vendor Expense

    Daniele,

    Thanks so much! Yes, that would work!

  • Verified answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: Vendor Expense

    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
    Don01 40 on at
    RE: Vendor Expense

    Thanks Inge!

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

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Vendor Expense

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans