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

Article ID: 923233 - View products that this article applies to.
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.
Expand all | Collapse all

On This Page

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.

Properties

Article ID: 923233 - Last Review: July 14, 2012 - Revision: 3.0
Applies to
  • Microsoft Dynamics AX 3.0
  • Logistics
Keywords: 
kbaxapta30presp6fix kbtshoot kbmbsmigrate kbprb KB923233

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com