Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

invoice is inprogress in workflow not recorded on VendTrans and available at VendInvoiceInfoTable

Posted on by 25

Hi Everyone,

I need to fetch records for all pending vendor invoices as well as approved ones, including invoice amounts and other details. When I go to the vendor invoice transaction, I am able to get both approved and non-approved records. However, the issue arises when the approvals are still pending in the vendor invoice workflow; these invoices are not yet recorded in the VendTrans table and therefore do not appear in the report. Despite this, they are visible in the pending invoice form with a workflow icon. What I require is to retrieve records for all invoices, regardless of whether they are approved, non-approved, pending, or in progress, even if they are still in the workflow and awaiting approval or rejection. We are specifically dealing with non-PO invoices.


Version : AX2012 R3

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 288,584 Super User on at
    invoice is inprogress in workflow not recorded on VendTrans and available at VendInvoiceInfoTable
    Hi Ayushaman,

    Do you have a query-based report or are you filling a temporary table using a data provider class? Using a query, you can try to create a union view. In case you are using X++ to fill your report data, you can check if the workflow is pending or not, then take data from one table or the other.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans