There is a scenario in Dynamics AX 2012 where the link to the document and description are missing when looking at the voucher transactions inquiry. In this instance, we will go over how this happens when purchasing to a project. The end result is seen in the screen shot below. We will now explain how we go to this point.
There are two parameters and a specific action during invoicing that cause this to happen. The first thing is setting the two parameters. The first can be found in Project management and accounting/Setup/Project management and accounting parameters. On the General tab, there is a checkbox for item consumption. This will consume material purchased to a project immediately.
The second parameter is found in Accounts Payable/Setup/Accounts payable parameters. Once the parameters window is open go to the Invoice tab and check the box for Use document date for vendor invoices. This will drive the invoice related postings to that date instead of the posting date. This is the critical parameter in causing the response above in the voucher.
Now with those parameters set, a purchase order for a project, using an item would be created. The standard process of entering the line, confirming and receiving the purchase order would be executed. Then, when entering the vendor invoice use a date the invoice was created on or something different than the posting date. Generally, the vendor invoice would be created earlier than when it was entered into AX so this situation happens frequently. Once the invoice number and invoice date are entered post the invoice.
Now that an invoice has been posted we will go look at the voucher. What you will notice is that the invoice date has been used but there is not a line posting to the project.
However, to see the lines that post to the project go to the Audit trail and then click on the Voucher transactions button. That screen will display all of the voucher transaction. The lines for the project transactions will use the posting date and will not have a value in the document or description field even though they are all part of the same voucher.
If the same date for the posting date and invoice date are used then this situation does not occur. It could also be resolved by unchecking the Use document date for vendor invoices parameter.