Resolving Automatic Double Entry of Cost of Goods Sold by Switching to Periodic Inventory System Settings

Resolving Automatic Double Entry of Cost of Goods Sold by Switching to Periodic Inventory System Settings

I found automatic journal entries are generated as follows according to inventry purchases and sales.

1. Inventory purchase
(Dr.) Cost of Goods Sold / (Cr.) Cash

2. Inventory sales
(Dr.)  Cost of Goods Sold (Cr.) Inventory Asset

The journal entry 1 follows the periodic inventry system whereas the entry 2 is applied to the perpetual inventry methods. This inconsistency results in the duble entry of Cost of Goods Sold.

I would like to apply the periodic inventry system to our books. In other words, no entry should be generated during the accounting period (at the time of sales).
How can I change the settings?