Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Update existing vendor pending invoices through a XML file

Posted on by 250
Hi All,
I have a logic to create a new vendor pending invoice through reading the file in batch and its working fine as we expected. The file will contains all the information related to creating the pending vendor invoices. Now I have a requirement to update the pending invoice if already created. I am planning to debug the standard update process of pending invoice. It would be better if anybody is having a idea about it.
I am having a couple of question in mind, like if we are updating a header(VendInvoiceInfoTable) or line table(VendInvoiceInfoLine) do we need to update the corresponding sub tables(VendInvoiceInfoSubTable,VendInvoiceInfoSubLine)

FYI,
  For creation of vendor pending invoice I am using (AXVendInvoiceInfoTable and AXVendInvoiceInfoLine classes)
  workflow process is enabled for vendor invoices, once the invoice is created it will auto submit the invoices.
  I am working on AX 2012 R3.
Thanks in advance!. 

*This post is locked for comments

  • Suggested answer
    Satish Panwar Profile Picture
    Satish Panwar 14,645 on at
    RE: Update existing vendor pending invoices through a XML file

    Hi Jackie,

    you should try to update the underlying tables if you are going to update VendInvoiceInfoTable tables.. assuming you are using classes etc. to populate the data.

    The charges on header are linked via VendInvoiceInfoSubTable table and stored in MarkupTrans Table so overall relationship is AXVendInvoiceInfoTable  > AXVendInvoiceInfoSubTable  > MarkupTrans.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans