Источник:
http://blogs.msdn.com/b/axsupport/ar...e-invoice.aspx
==============
You may have a situation like the following ones:
- There is pending invoice in AX that is not visible in invoicepool. It can be seen only from purchase order side. It blocks many orders.
- A Pending Invoice is not appearing in PL>common>Pending Supplier Invoices however when you go to the PO and look at the invoice tab, the Pending Invoice is still highlighted and when you select this you can see the detail of the pending invoice but we cannot do anything with it
- When trying to post a purchase invoice you get an error message that says: Invoice %1 could not post because it contained matching errors which must be approved.
- While selecting Pending vendor invoice gets an error as “One or more pending invoices cannot be displayed because they are in use” and the invoice is not displayed.
Scenarios where you cannot complete purchase invoicing.
It may happen that if AOS gets stopped suddenly or the client loses connection with the AOS, some records stay in specific tables that causes those issues.
Here is a list of the SQL tables where the 'pending' record may exist. If the record is found in any of the following tables, the recommendation is to remove it (please, do it in a test environment before that a live one and having NO users working in the application). Then, check to see if you are able to properly invoice update the PO.
PurchParmTable
PurchParmLine
PurchParmSubTable
PurchParmSubLine
PurchParmUpdate
VendInvoiceInfoTable
VendInvoiceInfoLine
VendInvoiceInfoSubTable
VendInvoiceInfoSubLine
If you want to delete these record going through Forms, here another option:
1. Firstly checking PurchParm tables when looking History forms (Account Payable/ Inquiries/ History/ Purchase orders), and delete in (ckeck in record status is "Waiting").
2. The next step is to check VendInvoiceInfo tables where you found the wrong records, You can access those records in the list page: Accounts payable module > Places > Pending Purchase Order Invoices. Here you can delete it as well. Note: pending invoice of your case will be in this list page.
Hope it's helpful
Kind regards
Marialecia Guada
Dynamics AX SCM Technical Lead
Источник:
http://blogs.msdn.com/b/axsupport/ar...e-invoice.aspx