Interview Questions

Wednesday, February 3, 2016

AX 2012 – Batch Shelf life control

Hi,
This post looks at explaining the ‘Shelf life periods’ in AX 2012.
Through this post we will look at the following areas:
  • Terminology
  • Shelf life setup

Terminology
Before we move onto the shelf life setup in AX we should first understand each of type of date which is available in AX 2012.
The below diagram shows you the four date types in AX 2012 and how each of these periods are calculated:
2015-08-11_1302
The Manufacturing date in AX acts as the starting point to the in calculating the other dates. The manufacturing date can be captured/generated at multiple points:
  • Receiving:
    • Today’s date (this will be the default when the batch is created)
    • Supplier batch date (If the item model group has been setup to use supplier registration the user will have the opportunity to enter a supplier batch date which can then override the manufacturing date)
  • Production:
    • Today’s date (this will be the default when the batch is created)
*NOTE – This depends on when you create the batch. This can either be done manually or by using the item ‘Batch number group’ see the tech net article Number groups.
From the Manufacturing date the following dates can be calculated:
  • Expiration date: The Expiration date is calculated forwards from the manufacturing date using the Shelf life period in days. 
  • Best before date: The Best before date is calculated backwards from the expiration date using the Best before period in days
  • Shelf advice date: The shelf advice date is calculate forward from the manufacturing date using the Shelf advice period in days

Shelf life setup
The Shelf life periods can be setup against a product using the steps below:
  1. Open your products
  2. Click Edit
  3. Scroll to the tab Manage stock and look for the heading Item data
    1. Shelf advice period in days = 3
    2. Shelf life period in days = 10
    3. Best before period in days = 2
      2015-08-11_1347
  4. Save and close the form
Examples: Using the item setup above I will now run through the dates that would appear if I were to receive this product via a Purchase order:
Today’s date = 01/08/2015
  1. Without supplier batch registration:
    1. Manufacturing date = 01/08/2015
    2. Shelf advice date = 04/08/2015
    3. Best before date = 09/08/2015
    4. Expiration date = 11/08/2015
      2015-08-11_1348
  2. With Supplier batch registration (30/07/2015)
    1. Manufacturing date = 30/07/2015
    2. Shelf advice date = 02/08/2015
    3. Best before date = 07/08/2015
    4. Expiration date = 19/08/2015
      2015-08-11_1351

No comments:

Post a Comment