On every document and journal that can be posted, you can choose the Preview Posting button to review the different types of entries that will be created when you post the document or journal.
To preview G/L entries that will result from posting a purchase invoice
In the Search box, enter Purchase Invoices, and then choose the related link.
Create a purchase invoice. For more information, see How to: Record Purchases.
On the Actions tab, in the Posting group, choose Preview Posting.
In the Posting Preview window, select G/L Entry, and then choose Show Related Entries.
The G/L Entries Preview window shows which entries will be created when you post the purchase invoice.