# Dynamics AX 2012 Safety Stock Journal: Minimum Inventory Proposal Calculator

> Source: https://netray.co/tools/ax-2012-safety-stock-journal-minimum-calculator
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

Reproduces both Calculate proposal methods of the AX 2012 safety stock journal so you can check a proposed minimum before posting it to item coverage.

## Category

microsoft-dynamics

## Erp

Microsoft Dynamics AX 2012

## Audience

- Planner
- Inventory manager
- AX functional consultant

## Tool

**Kind:** calculator

**Inputs:**

#### Average issue per month

**Key:** avg_monthly_issue

**Type:** number

**Default:** 600

**Min:** 0

**Step:** 10

**Unit:** units

**Help:** Average monthly issue quantity over the history period.

#### Standard deviation of monthly issue

**Key:** std_dev_monthly

**Type:** number

**Default:** 180

**Min:** 0

**Step:** 5

**Unit:** units

#### Item lead time

**Key:** lead_time_days

**Type:** slider

**Default:** 21

**Min:** 1

**Max:** 120

**Step:** 1

**Unit:** days

#### Lead time margin

**Key:** lead_time_margin_days

**Type:** number

**Default:** 3

**Min:** 0

**Step:** 1

**Unit:** days

**Help:** Added to the item lead time to give total lead time.

#### Service level (safety factor)

**Key:** safety_factor

**Type:** select

**Default:** 1.65

**Options:**

##### 50% (0)

**Value:** 0

##### 80% (0.84)

**Value:** 0.84

##### 90% (1.28)

**Value:** 1.28

##### 95% (1.65)

**Value:** 1.65

##### 98% (2.05)

**Value:** 2.05

##### 99.86% (3.00)

**Value:** 3

##### 99.99% (4.00)

**Value:** 4

#### Factor used for multiplying (average issue method)

**Key:** multiply_factor

**Type:** number

**Default:** 1

**Min:** 0

**Step:** 0.1

#### Days per month for average issue method

**Key:** month_days

**Type:** select

**Default:** 30

**Options:**

##### 30 calendar days (matches service level formula)

**Value:** 30

##### 21 working days (if lead times are in working days)

**Value:** 21

**Outputs:**

#### Total lead time

**Key:** total_lt

**Expr:** lead_time_days + lead_time_margin_days

**Format:** days

#### Proposal: use service level

**Key:** min_service

**Expr:** max(0, safety_factor * std_dev_monthly * sqrt(total_lt / 30))

**Format:** decimal

**Primary:** true

**Description:** Safety factor x standard deviation per month x square root(total lead time / 30 days), as documented by Microsoft.

#### Proposal: use avg. issue during lead time

**Key:** min_avg_issue

**Expr:** avg_monthly_issue * total_lt / month_days * multiply_factor

**Format:** decimal

**Primary:** true

**Description:** Average issue during total lead time, multiplied by the factor.

#### Average issue minus service level proposal

**Key:** difference

**Expr:** min_avg_issue - min_service

**Format:** decimal

#### Service level proposal in days of average issue

**Key:** cover_days_service

**Expr:** if(gt(avg_monthly_issue, 0), min_service / avg_monthly_issue * 30, 0)

**Format:** days

**Chart:**

#### Proposed minimum vs item lead time

**Type:** line

**X:** lead_time_days

**From:** 1

**To:** 90

**Steps:** 30

**Series:**

- min_service
- min_avg_issue

**Disclaimer:** Mirrors the formulas Microsoft documents for the AX 2012 Calculate proposal form. AX computes the average and standard deviation from your issue transactions; enter values from the same history period to compare.

## Content

**Intro:** This calculator reproduces the two Calculate proposal methods of the Dynamics AX 2012 safety stock journal: Use service level and Use avg. issue during lead time. Use it to sanity-check the proposed minimum before you post it to item coverage.

**Sections:**

#### How to use it

**Body:** Take the average monthly issue and its standard deviation for the item over the history period you use in the journal, enter the item lead time and the lead time margin you will enter in the proposal form, and pick the service level. The calculator shows both proposals. Move the lead time slider or read the chart to see how strongly each method reacts to lead time: the service level method grows with the square root of lead time, the average issue method grows linearly.

**Bullets:**

- Total lead time = item lead time + lead time margin
- 50% service level gives a minimum of 0
- Use the multiplying factor for seasonal swings
- Compare against the current minimum on item coverage

#### Where this lives in AX 2012

**Body:** Microsoft documents the path as Master planning > Journals > Safety stock. Create a journal, add item lines (optionally with a history period), open Journal lines and click Calculate proposal. Choose Use avg. issue during lead time (with Factor used for multiplying) or Use service level (with Service level), set Lead time margin, and tick Proposal = new minimum to copy the result into the New minimum field. Posting the journal updates the minimum on the item coverage record for that item and dimension.

#### The formulas and a worked example

**Body:** Microsoft documents the service level method as: minimum = safety factor x standard deviation per month x square root(total lead time / 30 days), with safety factors 0 (50%), 0.84 (80%), 1.28 (90%), 1.65 (95%), 2.05 (98%), 3.00 (99.86%) and 4.00 (99.99%). The average issue method covers average issues during total lead time times the factor; Microsoft does not publish the day conversion, so this tool lets you choose 30 calendar days or 21 working days. Example: 600 per month, deviation 180, lead time 21 plus 3 days, 95%: 1.65 x 180 x sqrt(24/30) = about 266 units, versus 600 x 24 / 30 = 480 by average issue.

#### Gotchas

**Body:** Both methods assume issue quantity equals demand and that monthly demand follows a normal distribution, which Microsoft lists as prerequisites. Lumpy or intermittent demand breaks the service level method; a few large issues inflate the deviation. The average issue method is really a reorder cover, not a safety stock, so it usually proposes more. Check whether your lead times are calendar or working days before comparing with AX. A proposal is only stored after you post the journal, so review the New minimum column first.

**Cta:** If you want planners to ask which AX 2012 items have minimums out of line with their real demand, answered from your own data on your servers, we can set that up.

**Faq:**

#### How does the AX 2012 safety stock journal calculate the minimum?

**Answer:** With Use service level it multiplies the safety factor for the chosen service level by the monthly standard deviation of issues and by the square root of total lead time divided by 30 days. With Use avg. issue during lead time it takes the average issue over total lead time times a multiplying factor.

#### What safety factor does AX 2012 use for 95% service level?

**Answer:** 1.65, per Microsoft's table for the Calculate proposal form. The other values are 0 for 50%, 0.84 for 80%, 1.28 for 90%, 2.05 for 98%, 3.00 for 99.86% and 4.00 for 99.99%. A 50% service level always produces a minimum of zero.

#### What is the lead time margin in the safety stock journal?

**Answer:** Extra days, for example internal order administration, that AX adds to the item's lead time before calculating. Total lead time is lead time plus margin, and both proposal methods use that total. A margin of 3 days on a 21-day lead time gives 24 days.

#### Does Calculate proposal change the item coverage minimum?

**Answer:** Not directly. It fills the proposal on the journal line, and with Proposal = new minimum ticked it copies the value to New minimum. The item coverage minimum changes only when you post the journal, so you can review and edit proposals first.

## Search terms

dynamics ax 2012 safety stock journal, ax 2012 calculate proposal minimum inventory, ax 2012 safety stock calculation, ax 2012 use service level safety factor, dynamics ax 2012 r3, ax 2012 item coverage minimum

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
