The inventory ledger keeps track of details for each type of inventory item. It is interlinked with an inventory controlling account in the general ledger to track inventory balances and determine costs of sales and profits. The inventory account is affected when items are acquired, sold, or returned. Maintaining the inventory ledger involves selecting inventory items from the maintain menu and filling in key information like the inventory ID, related general ledger accounts, cost flow method, and minimum stock level.