Periodic vs. Perpetual Inventory: Mark-to-Market Accounting in Dynamics 365 and Levridge

By Cindy Weiland-Wehrley | May 22, 2026

Managing commodity inventory requires more than tracking quantities and costs. For many agribusinesses, inventory must also be valued at market value for month-end financial reporting. That creates an important accounting consideration: how should mark-to-market (MTM) adjustments be handled when inventory is managed using a periodic or perpetual inventory method? This topic is especially relevant for commodity processors, grain businesses, ag retailers, and other agribusinesses that need to account for commodity inventory at market value.

In Dynamics 365 Finance and Operations, paired with the Levridge agribusiness solution, organizations can manage industry-specific commodity accounting needs, including board price, basis, inventory quantity tracking, and mark-to-market valuation. Levridge includes functionality to calculate the market value of inventory on hand and, with the right configuration, automatically posts the mark-to-market journal entry.

The accounting impact of that journal entry depends on the inventory method your business uses. If you use periodic inventory, the automated mark-to-market entry can be used to value inventory at month end. If you use perpetual inventory, additional steps are needed to avoid overstating inventory by posting market value on top of the existing inventory value.

This article walks through examples of both periodic and perpetual inventory methods and explains how the mark-to-market journal entry impacts financial statements in each scenario.

Periodic Inventory Transactions & Mark to Market Adjustment

The following examples use a simplified commodity transaction scenario to show how mark-to-market valuation flows through the general ledger. While the transactions are simplified for illustration, the concepts apply to agribusinesses using Dynamics 365 Finance and Operations with Levridge to manage commodity purchases, sales, inventory quantities, and month-end market valuation.

In this scenario, under a periodic inventory method, inventory is not carried on the balance sheet during the month, so the mark-to-market entry establishes the month-end inventory value.

Facts:

*See Appendix A for required configurations in D365 F&O in order to set up a periodic inventory system for inventory with a mark to market (MTM) inventory valuation requirement.

Appendix A:

APPENDIX-A-MANAGING-THE-MARK-TO-MARKET-ADJUSTMENT-IN-D365-FO-LEVRIDGE-–-CONFIGURATIONS-–-PERIODIC-INVENTORY.pdf

  1. ABC Company buys commodities which must be valued at Market Value for month end financial statements.
  2. ABC uses a Periodic Inventory method. As such, inventory is valued at $0 throughout the month and no inventory transactions are posted to the General Ledger (GL).

Transactions:

*See Appendix C for the Menu Path in D354 F&O and Levridge transactions 

Appendix C: 

APPENDIX-C-MANAGING-THE-MARK-TO-MARKET-ADJUSTMENT-IN-D365-FO-LEVRIDGE-–-TRANSACTIONS-–-PERIODIC-INVENTORY.pdf

  1. ABC Co. purchases 1000 Bushels (BU) of Commodity X during the month at a Board Price of $10.05 and a Basis of 0.25, for a Net Price of $10.30 per BU.
  2. ABC Co. sells 250 BU of Commodity X during the month at a Board Price of $10.10 and a Basis of $0.30, for a Net Price of $10.40 per BU.
  3. At Month End, ABC Co has 750 BU (1000 purchased less 250 sold) remaining on hand of Commodity X at a Market Value of $10.35.

Transaction Entries:

*Refer to Appendix A for Required D365 F&O and Levridge Configurations & Appendix B for details of where transactions are posted in D365.

Appendix B:

APPENDIX-B-MANAGING-THE-MARK-TO-MARKET-ADJUSTMENT-IN-D365-FO-LEVRIDGE-–-CONFIGURATIONS-–-PERPETUAL-INVENTORY.pdf (0 downloads )

    1. Record the Purchase of Commodity X
      DR 
              PURCHASES                                $10,300            (1000 BU * $10.30 PURCH PRICE)
      CR         ACCTS PAYABLE                         ( 10,300)           (1000 BU * $10.30 PURCH PRICE)
    2. Record the Sale of Commodity X
      DR
               ACCTS RECEIVABLE                 $ 2,600              (250 BU * $10.40 SALES PRICE)
      CR         SALES                                              (  2,600)             (250 BU * $10.40 SALES PRICE)
    3. At Month End, value Inventory at Mark to Market – Auto Posted by Levridge
      DR
             INVENTORY                                  $7,762.50        (750 BU * $10.35 MARKET PRICE)
      CR       MARK TO MKT GAIN/LOSS     (7,762.50)        (750 BU * $10.35 MARKET PRICE)

    Summary of GL Activity in T-Account Form:

    Balance Sheet Accounts:

    Balance sheet t-accounts after periodic inventory activity is recorded

    P&L Accounts:

    P&L t-accounts after periodic inventory activity is recorded

    Summary Month End Financial Statements - Periodic Inventory:

    Balance Sheet and Income Statement after period inventory activity is recorded

    As shown above, the periodic inventory method allows the business to track commodity inventory quantities throughout the month while keeping inventory value at $0 in the general ledger until month end. With Levridge, the mark-to-market calculation can then be used to post the market value of inventory on hand and properly reflect commodity inventory value for financial reporting.

    Perpetual Inventory Transactions & Mark to Market Adjustment

    For organizations using perpetual inventory, the month-end process requires a different approach. Because inventory value is already being recorded throughout the month using FIFO or standard cost, posting the full Levridge mark-to-market journal entry directly to the same inventory account could duplicate inventory value. The goal is to preserve the integrity of the perpetual inventory subledger while still reporting inventory at market value for month-end financial statements. So, what is the best way to handle the Mark to Market (MTM) adjustment journal under a perpetual inventory costing method?

    Below is a set example of Perpetual Inventory Transactions (using Standard Cost). These examples show how perpetual inventory can provide more timely visibility into inventory value and gross margin throughout the month, while still allowing the organization to make the appropriate mark-to-market adjustment at month end. This can be done by adding some MTM inventory accounts to your chart of accounts and making a monthly reversing entry to zero out your perpetual inventory (prior to posting the Mark to Market Adjustment).

    In this scenario, inventory is already carried on the balance sheet, so the process must remove the perpetual value before recording the market value adjustment.

    Facts:

    *Refer to Appendix B for required configurations in D365 F&O in order to set up a periodic inventory system for inventory with a mark to market (MTM) inventory valuation requirement.

    1. ABC Company buys commodities which must be valued at Market Value for month end financial statements.
    2. Throughout the month, ABC values their commodities at a Standard Cost.
    3. Commodity X has a Standard Cost of $10.00 per Bushel (BU).

    Transactions:

    *See Appendix D for the Menu Path in D354 F&O and Levridge transactions

    Appendix D: 

    APPENDIX-D-MANAGING-THE-MARK-TO-MARKET-ADJUSTMENT-IN-D365-FO-LEVRIDGE-TRANSACTIONS-–-PERPETUAL-INVENTORY.pdf

    1. ABC Co. purchases 1000 BU of Commodity X during the month at a Board Price of $10.05 and a Basis of 0.25, for a Net Price of $10.30 per BU.
    2. ABC Co. sells 250 BU of Commodity X during the month at a Board Price of $10.10 and a Basis of $0.30, for a Net Price of $10.40 per BU.
    3. At Month End, ABC Co has 750 BU (1000 purchased less 250 sold) remaining on hand of Commodity X at a Market Value of $10.35.

    Transaction Entries:

    *Refer to Appendix B for Required D365 F&O and Levridge Configurations & Appendix D for details of where transactions are posted in D365.

    1. Record the Purchase of Commodity X
      DR        INVENTORY                                  $10,000            (1000 BU * $10.00 STD COST)
      CR        ACCTS PAYABLE                         ( 10,300)           (1000 BU * $10.30 PURCH PRICE)
      DR        PURCH PRICE VAR                      300                    (DIFFERENCE)
    2. Record the Sale of Commodity X

            DR        ACCTS RECEIVABLE                 $ 2,600              (250 BU * $10.40 SALES PRICE)

            CR        SALES                                              (  2,600)             (250 BU * $10.40 SALES PRICE)

            DR        COST OF GOODS SOLD         $2,500               (250 BU * $10.00 STD COST)

            CR        INVENTORY                                  $2,500               (250 BU * $10.00 STD COST)

    3. At Month End, value Inventory at Mark to Market

    Create a Reversing Entry to Bring Perpetual Value to zero. (Utilize a Mark to Market Adjustment Acct on the Balance Sheet to maintain the integrity of the Perpetual Inventory account value, which reconciles to the inventory subsidiary leger.)
    DR MARK TO MKT ADJ GAIN/LOSS           $7,500.00 (750 BU * $10.00 STD COST)
    CR MARK TO MKT ADJ BAL SHT                 (7,500.00) (750 BU * $10.00 STD COST)

    Mark to Market Journal Entry, which is also a reversing entry, automatically posted by Levridge
    DR MARK TO MKT ADJ BAL SHT  $7,762.50        (750 BU * $10.35 MARKET PRICE)
    CR MARK TO MKT GAIN/LOSS     (7,762.50)        (750 BU * $10.35 MARKET PRICE)

    Summary of GL Activity in T-Account Form:

    Balance Sheet Accounts:

    Balance sheet t-accounts and new accounts configured for perpetual inventory

    P&L Accounts:

    P&L t-accounts and new accounts configured for perpetual inventory

    Summary Month End Financial Statements - Perpetual Inventory:

    Balance Sheet and Income Statement configured for perpetual inventory

    By using this method of entries for perpetual inventory, the end result is that the financial statements properly value inventory at Market Value of $10,363 (750 BU @ $10.35 Market Price).

    In addition, the P&L reflects the same gross margin as periodic inventory; however, the perpetual inventory allows financials to potentially be reviewed throughout with a better estimate of expected result.

    In the standard costing model above, the Mark to Market Gain reflects a $263 unrealized gain in inventory of 750 BU of Commodity X valued at $10.35 at month end compared to the $10.00 Std Cost.  The PPV of $300 is the amount of price changes on purchases throughout the month.  The Std COGS account recognizes the 250 BU sold at $10.00 Std Cost.  Breaking out these items into their own accounts can assist in the month end analysis of gross margin.

    Finding the Right Fit for Your Ag Business Inventory

    Whether your agribusiness uses a periodic or perpetual inventory method, Dynamics 365 Finance and Operations with Levridge can support mark-to-market inventory valuation as part of the month-end close process. The right approach depends on how inventory value is tracked during the month, how gross margin should appear on your financial statements, and how your general ledger accounts are configured.
    For businesses using periodic inventory, the Levridge automated mark-to-market journal entry can provide a direct path to valuing inventory at market value. For businesses using perpetual inventory, additional reversing entries and mark-to-market adjustment accounts may be needed to avoid overstating inventory while still preserving the value of the inventory subledger.
    If your team is evaluating how to configure mark-to-market accounting in Dynamics 365 Finance and Operations with Levridge, Stoneridge Software can help review your current process, accounting requirements, and system setup to determine the right path forward.

    Talk to a Stoneridge expert today CTA Button
    Cindy Weiland-Wehrley
    Our Verified Expert
    Cindy Weiland-Wehrley

    Cindy specializes in Microsoft Dynamics 365 Finance and Supply Chain Management, helping organizations improve financial visibility, inventory processes, and operational efficiency. Her experience includes multiple ERP implementations across both legacy Dynamics AX and modern cloud-based Dynamics 365 Finance environments, giving her a strong understanding of how businesses evolve their systems over time.

    Cindy’s expertise spans financial management, inventory accounting, and industry-specific processes within manufacturing and commodity-based operations. She is passionate about helping organizations better understand the capabilities of their ERP systems and translating complex accounting and operational concepts into practical guidance that supports smarter business decisions.

    Read More from Cindy Weiland-Wehrley

    Related Posts


    Under the terms of this license, you are authorized to share and redistribute the content across various mediums, subject to adherence to the specified conditions: you must provide proper attribution to Stoneridge as the original creator in a manner that does not imply their endorsement of your use, the material is to be utilized solely for non-commercial purposes, and alterations, modifications, or derivative works based on the original material are strictly prohibited.

    Responsibility rests with the licensee to ensure that their use of the material does not violate any other rights.

    Start the Conversation

    It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

    Subscribe To Our Blog

    Sign up to get periodic updates on the latest posts.

    Thank you for subscribing!