(ITA) About the calculation engine

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

You can calculate the fiscal Last In, First Out (LIFO) value for internal and final reports that are based on the average inventory value or normal value. You can also include the work in progress (WIP) of production items in the calculation.

The basis for the calculation of the average inventory value

The calculation of the average inventory value includes purchased and produced items, and is based on the financial cost amount of the items.

The financial cost amount is the total of the Financial cost amount and Adjustment fields in the Transactions form.

If the cost of an item has not yet been updated against a vendor invoice, the physical cost amount in the Physical cost amount field is used instead of the cost amount.

Note

In addition to purchased and produced items, the final report also includes goods that have been received but not yet invoiced.

Purchased items

The calculation of purchased items is based on the acquisition cost minus value added tax (VAT).

Produced items

The calculation of produced items is based on the production cost posted in General ledger. In some cases, the cost of unfinished production orders (work in progress) must be included. For more information, see the last section in this topic.

Tip

When working with credit lines, mark item transactions against specific purchase orders to help make sure that a correct crediting amount is registered. For information about how to set up marking, see Mark orders.

Discounts

Discounts are either included in or excluded from the fiscal LIFO calculation, depending on the setup of the costing profile. The inventory value always matches the value that has been posted as a transaction with a type of Inventory, receipt in General ledger.

Normal value

The inventory value is based on the average inventory value for the year. If the following applies, it is allowed by law to calculate the value of the inventory according to the average purchase price in the last period of the year:

  • The price increase in the last period was negative.

  • The organization experiences a depreciation of items in stock.

This is referred to as the normal value.

If you change the inventory value to the normal value, the change applies to the current year and all previous years.

You can calculate the normal value automatically or you can set it manually. When calculated automatically, the normal value is set to the average purchase price of items for the calculation period (month, quarter, or half year). The normal value is not set to the average for the year.

You can calculate the normal value for fiscal LIFO reporting groups or for individual items.

Normal value example

The following example illustrates how using the normal value affects the calculation of the inventory value. The normal value is set to be applied if the average for the last month of the year is at least 5 percent less than the average inventory value for the year.

The first table lists the inventory values that are based on the year's average, without using the normal value.

Grand total

Year

Remaining quantity

Unit value by using the average method

Total

2011

10

25

250

2012

5

30

150

2013

1

35

35

2014

0

0

0

2015

10

50

500

2016

2

35

70

2016

28

35.90

1005

During the last month of 2016, the price of items in item group XYZ drops significantly. This results in an average purchase price of 20 for the month. Because an average purchase price of 20 is at least 5 percent less than the average inventory value of 35.90, the normal value is applied.

The normal value is 20, and the inventory value is set to 20 for all items in item group XYZ for 2016 and previous years.

Grand total

Year

Remaining quantity

Unit value by using the normal method

Total

2011

10

20

200

2012

5

20

100

2013

1

20

20

2014

0

0

0

2015

10

20

200

2016

2

20

40

2016

28

20

560

Normal value calculation

When you start the calculation of fiscal LIFO from a fiscal LIFO journal, you can specify whether to apply the normal value in the calculation. The options in the fiscal LIFO reporting group determine whether the calculation is automatic or manual. If you have items that are calculated individually, you can specify for an individual item whether the calculation should be automatic or manual.

WIP in the calculation of inventory value

If the production time is very long, WIP items must be included when you calculate the inventory value.

To control whether WIP items should be included in the calculation, you define the maximum number of days for a production period before WIP items are included. When you calculate fiscal LIFO from a fiscal LIFO journal, you can specify that you want to include WIP items. For information about how to define the WIP period and request a WIP calculation in a journal, see (ITA) Calculate fiscal LIFO journal lines.

The status of a production line must be Started or Reported as finished to be included in the WIP calculation. You can check the status of a production line in the Status field in the Production orders form.