Hi Mohd I've been taking a look into the code to give me a clue as to what was happening with the accounting entries. The good news is that your ledger issue isnt a bug ... it's OFBiz configuration.
You need to look at the GL Account Defaults for the Purchase Invoice. It shows the default accounts that will be used for each invoice line type. In the demo data many of these line types including things like "Invoice Finished Goods Item (Purchase)" is set to use the Inventory Account. If you change it to use the "Uninvoiced Item Receipts" account, the accounting transactions will debit the correct account. You will need to do it using the Global GL Settings because there is an account restriction on the Organization GL Settings that wont let you select the correct acccount. The Global GL Settings dont have any restrictions so you can select whatever account you want. I'll update the Jira with this information. I will also do more testing to see if the Payment isssue I identified is still open. Let me know if you need any more information. Thanks Sharan -- View this message in context: http://ofbiz.135035.n4.nabble.com/Problem-with-purchase-order-accounting-enteries-tp4650940p4651160.html Sent from the OFBiz - User mailing list archive at Nabble.com.