The manufacturing date is incorrect for the serial number transaction in the "Serial number" dialog box when you use a packing slip to update serialized items in Microsoft Dynamics AX 3.0

This article has been archived. It is offered "as is" and will no longer be updated.
Microsoft Business Solutions-Axapta 3.0 is now part of Microsoft Dynamics AX 3.0. All references to Microsoft Business Solutions-Axapta and Microsoft Axapta pertain to Microsoft Dynamics AX.
Symptoms
When you use a packing slip to update serialized items in Microsoft Dynamics AX 3.0, the manufacturing date is incorrect for the serial number transaction in the Serial number dialog box. The manufacturing date should be the date that the item is received, instead of the date that the item is delivered.
Resolution
To resolve this problem, change the code in the \Data Dictionary\Tables\InventSerial\Methods\initFromInventTrans object as follows.

Existing code

void initFromInventTrans(InventTrans _inventTrans){    this.itemId     = _inventTrans.itemId;    this.prodDate   = _inventTrans.dateStatus;	   //  This line  will be deleted.}

Replacement code

void initFromInventTrans(InventTrans _inventTrans){    this.itemId     = _inventTrans.itemId;    // Add the following new code lines.    if (_inventTrans.datePhysical)        this.prodDate = _inventTrans.datePhysical;    else        this.prodDate = _inventTrans.dateInvent ? _inventTrans.dateInvent : _inventTrans.dateExpected;	   }
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
AX3 AX30 AX3.0
Properties

Article ID: 923233 - Last Review: 05/12/2015 13:24:04 - Revision: 4.0

  • Microsoft Dynamics AX 3.0
  • Logistics
  • kbnosurvey kbarchive kbaxapta30presp6fix kbtshoot kbmbsmigrate kbprb KB923233
Feedback