Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Duplicate VendInvoiceInfoTable records created for an invoice when submitted to workflow

$
0
0

We have run into what appears to be a bug in the pending vendor invoice function.

Following are the details :

a) After entering  a pending vendor invoice, and then submitting it -  a duplicate record of the invoice is being created in the VendInvoiceInfoTable.  

b) The duplicate record is not removed until after the Vendor invoice (VendEditInvoice) is closed.  

c) If the VendEditInvoice form is not closed and the approver approves the invoice, the workflow instance record in the WorkFlowTrackingStatusTable is  linked to the duplicate record (WorkFlowTrackingStatusTable.ContextRecId = RecId of the duplicate record in VendInvoiceInfoTable); however, when the VendEditInvoice form is closed the duplicate record is removed, causing the record in the WorkFlowTrackingStatusTable to point to a record in  the VendInvoiceInfoTable that no longer exists.  This causes the workflow history to be orphaned from the vendor invoice that it was created for.

This issue has been duplicated in both an Ax2012 r2 and an AX2012 r2 with CU6 environment.

Has anyone else seen this?

Thanks,

Joe


Viewing all articles
Browse latest Browse all 72043

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>