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 :
Finance | Project Operations, Human Resources, ...
Unanswered

create invoice through code

(0) ShareShare
ReportReport
Posted on by 304

Hi,

I'm doing an integration which requires  creating invoice through code, I'm basically using VendInvoiceInfoTable & VendIncoieInfoLine, and because I add  charges to the invoice I need the RecID field from VendInvoiceTrans table to link with the MarkupTrans table and insert in it.

my question here do I need to insert through code in VendInvoiceTrans or just using VendInvoiceInfoTable & VendIncoieInfoLine  will automatically insert in VendInvoiceTrans ?

I hope my case is clear enough, Thanks

I have the same question (0)
  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    What's the business scenario which forces you to create invoice using code ? You have VendorInvoiceHeader , vendorInvoiceLine  entities which will create pending vendor invoice for you . Later when you post this invoice the entries will be created in vendinvoiceJour and vendInvoiceTrans.

  • KareemTaima Profile Picture
    304 on at

    I'm doing an integration

    to be clear "Yes" means that I don't need to insert via code into VendInvoiceJour and VendInvoiceTrans?

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans