To add the PO number to the Item Ledger Entry when posting a Purchase Order, you need to modify the Item Journal Template that's used for posting the Purchase Order Receipt. Here are the steps to follow:
1. Open the Item Journal Template: Navigate to the Item Journal Templates page and select the template that's used for posting the Purchase Order Receipt.
2. Add the PO number field to the template: On the Item Journal Line FastTab, click the "Edit" button to modify the fields on the journal line. Add the "Document Type" field, set it to "Purchase Order", and add the "Document No." field next to it.
3. Assign the template to the Purchase Order Receipt: In the Purchase Order Receipt page, go to the "Navigate" tab, select "Posting", and then select "Item Journal Templates". Select the Item Journal Template that you modified in step 2 and assign it to the Purchase Order Receipt.
4. Post the Purchase Order Receipt: Fill in the required information on the Purchase Order Receipt, including the PO number, and then post the receipt. The PO number should now appear in the "Document No." field in the Item Ledger Entry.
Note: These steps are specific to adding the PO number to the Item Ledger Entry when posting a Purchase Order Receipt. If you want to add the PO number for sales orders, you will need to modify the Item Journal Template used for posting sales transactions.