Average Cost Period
Average Cost Period

For items that use the Average costing method, Business Central needs to know over which time window the average cost is calculated. This is controlled by the Average Cost Period field in Inventory Setup. In this article, we will post purchase and sales orders on different dates in a Business Central sandbox and compare the cost of goods sold with the Day and Month periods.

Where to Find the Average Cost Period Setting

Open Inventory Setup. On the General FastTab, the Average Cost Period field is right below Average Cost Calc. Type.

Business Central Inventory Setup page showing Average Cost Period field on General FastTab
OptionAverage Cost is Calculated Per
DayPosting date. This is the most detailed option.
WeekCalendar week.
MonthCalendar month.
QuarterCalendar quarter.
YearCalendar year.
Accounting PeriodAccounting periods defined on the Accounting Periods page.

Example Scenario

Inventory Setup has Average Cost Calc. Type = Item & Location & Variant and Average Cost Period = Day. All entries are at location MAIN.

#Posting DateDocumentQuantityUnit CostAmount
18/1/2027Purchase Order 10608710.00100.001,000.00
28/1/2027Sales Order 101056-5.00??
38/15/2027Purchase Order 10608810.00200.002,000.00

Step 1: Create an Item with Average Costing

Create item 1042, Average Cost Period Demo Item from the item template and set Costing Method to Average on the Costs & Posting FastTab.

Average Cost Period and Average Cost Calc. Type fields in Business Central Inventory Setup

Step 2: Post the First Purchase Order (8/1/2027)

Create a purchase order for vendor 10000: item 1042, Quantity 10, Location Code MAIN, Direct Unit Cost 100. Post it with Receive and Invoice (posted invoice 108290).

Business Central Purchase Order 106087 for Fabrikam Inc. with Item 1042 posting date August 1

Step 3: Post the Sales Order (8/1/2027)

Create a sales order for customer 10000: item 1042, Location Code MAIN, Quantity 5, Unit Price 300. Post it with Ship and Invoice (posted invoice 103315).

Business Central Sales Order for Item 1042 with quantity 5 and posting date August 1

Step 4: Post the Second Purchase Order (8/15/2027)

Create a new purchase order and choose Show more on the General FastTab. Change the Posting Date to 8/15/2027.

Business Central Purchase Order 106088 for Fabrikam Inc. with Item 1042 posting date August 15

Add the line: item 1042, Quantity 10, Location Code MAIN, Direct Unit Cost 200. Post it with Receive and Invoice (posted invoice 108291).

Business Central Purchase Order 106088 showing posting date change to August 15

Result 1: Average Cost Period = Day

Open Item Ledger Entries for item 1042. The sale on 8/1/2027 has a Cost Amount (Actual) of -500.00 (5 x 100). The average for 8/1 includes only the purchase of that day, so the purchase on 8/15 has no effect.

Item Ledger Entries in Business Central showing cost amounts with Average Cost Period set to Day

Step 5: Change the Average Cost Period to Month

In Inventory Setup, choose Edit and change Average Cost Period to Month. Business Central warns that all item entries must be adjusted.

Business Central Inventory Setup with Average Cost Period changed to Month

Choose Yes. A message confirms the change and asks you to run Adjust Cost – Item Entries.

Business Central Purchase Order with Average Cost Period Day showing unit cost calculation

Step 6: Run Adjust Cost – Item Entries

Run Adjust Cost – Item Entries with Item No. Filter = 1042 and Post to G/L enabled.

Item Ledger Entries after running Adjust Cost batch job with Day period in Business Central

Result 2: Average Cost Period = Month

The same sale now shows a Cost Amount (Actual) of -750.00. August 2027 is one period, so its average is (1,000 + 2,000) / 20 = 150, and the sale is valued at 5 x 150.

Item Ledger Entries showing cost amounts recalculated with Month Average Cost Period

In Value Entries, the original entry of -500.00 is kept, and an adjustment entry of -250.00 is added with posting date 8/1/2027, even though it was caused by the purchase on 8/15.

Business Central Item Ledger Entries comparison between Day and Month Average Cost Period settings

Average Cost Period Comparison

Average Cost PeriodInbound Entries in the AverageAverage CostCOGS for 5 Units
Day8/1 purchase only (10 x 100)100.00500.00
Month8/1 and 8/15 purchases (20 units, 3,000)150.00750.00

After the demonstration, the period was changed back to Day, and the batch job was run again. The sale returned to a cost of 500.

Item Ledger Entries in Business Central showing final cost calculation after Average Cost Period change

Hope so this is Helpful 😃

By Ahmad Subhani

Microsoft Dynamics 365 and Business Central consultant sharing practical insights, new features, product reviews, and real-world solutions for modern businesses.

Leave a Reply

Your email address will not be published. Required fields are marked *