web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

(0) ShareShare
ReportReport
Posted on by 1,630

AX 2012 R3 and using Advanced Warehouse

I do not have the history of how this happened and I'm not sure how this is possible, but after completing a Production Order, "Work" created transactions that do not have a Batch number specified on a Product that requires a Batch number.  There are a couple of issues with what I'm seeing.  First, there is a negative transaction when negative transactions are not allowed.  Second, there is no Batch number associated with the transactions (both positive and negative).  At this point, I can't adjust, move, transfer, or correct either the Positive 40 or the Negative 40.  My last resort is to go in and modify the data in the tables, but before I do that, I want to make sure there isn't a way to correct this through the client.

This product does have correct inventory transactions, Batch numbers and non-negative.  There is currently only 1 transaction like this that has happened.  As you can see below, there is a line for (-40) in FG and a line for (40) in FGR4 that do not have a batch number specified.

stuck.jpg

*This post is locked for comments

I have the same question (0)
  • jac_rod Profile Picture
    39 Moderator on at
    RE: Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

    Is the "blank issue allowed" checkbox enabled on the tracking dimension group for the batch dimension?  Also, AX will only prevent negative physical inventory by batch if the "physical inventory by dimension" checkbox is also enabled on the tracking dimension group.

  • FAC.Ansel Profile Picture
    1,630 on at
    RE: Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

    Jacob,

    Thanks for the info.

    The Batch and Serial Tracking Dimensions do not allow Blank Receipt and the Item Model group is set to Not allow Physical Negative Inventory.  See settings below:

    Serial:

    6136.Batch.jpg

    Batch:

    6136.Batch.jpg

    Item Model Group:

    Item-Model-Group.jpg

  • jac_rod Profile Picture
    39 Moderator on at
    RE: Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

    What does the storage dimension group that this product is using show?  Does the "location" dimension have the "physical inventory by dimension" checkbox checked?  It looks, based on your on-hand, that this might not be the case.

    Also, which type of transactions have blank batches?  Since it's not selected as "primary stocking", AX will allow the batch to be blank until a physical transaction happens.  This could be something on a picking list, something on a sales order (before it's shipped), or something on a purchase order (before it's received.)

  • FAC.Ansel Profile Picture
    1,630 on at
    RE: Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

    Jacob,

    The storage dimension group has both "Physical Inventory" at the location and "Primary Stocking" checked.  See screenshot below:

    workTrans.jpg

    The transaction in this case was a Production Put Away using Advanced Warehouse Management.  As you can see the work transaction moves the blank batch number from FG to FGR4.  But once the Production Order was reported as finished, the 40 are put in to FG.  Currently FG nets out to "0" on hand but the "Work" is missing the batch number, so nothing is available in FG or FGR4.

    workTrans.jpg

    And also, in my Location directive for finished goods put away, I do not have the "allow negative inventory" selected.

    finished-goods-put-away.jpg

  • jac_rod Profile Picture
    39 Moderator on at
    RE: Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

    Hmm.  I'm not real sure how the work is assigning the batch number.  If it's a physical transaction, you'd think there'd be batch number assigned to them as needed.  

    Hopefully someone else can jump in and help out here!

  • FAC.Ansel Profile Picture
    1,630 on at
    RE: Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

    Jacob,

    Even though you asked about this, I still managed to overlook it.  On the tracking dimensions, the Primary Stocking checkbox is not checked.  I believe this could be causing the issue, but now to figure out how to update all the items and fix the wrong transactions.  I'm still in disbelief that this 1 checkbox can allow the transactions that we are seeing, but this must be it.

    tracking-dims.jpg

  • Verified answer
    FAC.Ansel Profile Picture
    1,630 on at
    RE: Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

    UPDATE:

    Found that the issue is caused by Completing work using the User Interface in Warehouse Management vs. using the Mobile device menu (RF gun) to do the transaction.  The mobile device menu, Standard AX inventory journals, etc. require that a Serial or Batch number be entered, but the WHS Work form does not and in this case has created transactions for Blank Serial and Batch numbers.  Unfortunately there is no client side way to fix the transactions, so data in the tables will need to be manipulated to fix the issue.

  • Prshanth Profile Picture
    20 on at
    RE: Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

    I am also facing similar issue  where only inbound location updated with Batch number later all the transaction updated without batch number below is the Example

     

     

    Item no

    Description

    Number

    Site

    warehouse

    Batch number

    Location

    status

    license plate

    3151655

    Door frame lower-967.41*1118hQL

    4000-081202

    1

    1800

    InBoundYard

    Available

    LOG100

    3151655

    Door frame lower-967.41*1118hQL

    4000-081202

    1

    1800

    W1FLOOR1

    Available

    0004000-0000278245

    3151655

    Door frame lower-967.41*1118hQL

    4000-081202

    1

    1800

    InBoundYard

    Available

    LOG100

    3151655

    Door frame lower-967.41*1118hQL

    4000-081202

    1

    1800

    YRO

    Available

    0004000-0000278245

     

     

    Could you please help me on how to update the missing Batch numbers for above transaction to correct the on hand Qty

  • FAC.Ansel Profile Picture
    1,630 on at
    RE: Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

    Prshanth,

    Sorry to hear you are having a similar issue.  In my case it was caused by a specific transaction that was done.  Do you have any details on what happened.  Just the current on hand values doesn't say much.  Are you saying that you had the batch when you did the receive but all subsequent transactions did not have a batch number?  I would check the settings listed above as that sounds like you may not have the batch setup the way that you want.

  • Prshanth Profile Picture
    20 on at
    RE: Incorrect On Hand Inventory - Batch Controlled Product with NO Batch Number but has On Hand Quantity

    In Ansel,

    you are right Po received in Inbound location that time Batch number updated and subsequent transaction are without Batch numbers those transaction done by mobile device Now we have Batch number we have to manipulated to fix the issue.in order update the correct Batch number in Final Locations    

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#1
Community Member Profile Picture

Community Member 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans