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 :
Small and medium business | Business Central, N...
Suggested answer

Enable Lot Tracking on Current Items

(0) ShareShare
ReportReport
Posted on by 236

We are trying to enable lot tracking on select items. I've zeroed out on hand inventory. Upon trying to set the lot code, it errors that there are ledger entries, and it cannot perform the update.

The positive and negative adjustment entries were both done via item journals.

Thoughts?

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    94,111 Super User 2025 Season 2 on at
    RE: Enable Lot Tracking on Current Items

    Hi, As far as I know, as long as Item Ledger Entries exist, it will prompt an error.
    It has nothing to do with whether the inventory is 0 or not. So, you should create a new item.

    For example,

    pastedimage1669593055021v1.png

    pastedimage1669593099297v3.png

    Hope this helps.

    Thanks.

    ZHU

  • ahanson Profile Picture
    236 on at
    RE: Enable Lot Tracking on Current Items

    Any other ideas? This is thousands of items and they are used in BOMs, open sales orders, open purchase orders, etc.

  • Suggested answer
    YUN ZHU Profile Picture
    94,111 Super User 2025 Season 2 on at
    RE: Enable Lot Tracking on Current Items

    Hi, I personally do not recommend this, but if you have developers, you can use the following Event to skip this control.

    OnBeforeTestNoItemLedgEntiesExist(Rec, CurrentFieldName, IsHandled);

    pastedimage1669596668537v1.png

    PS: In fact it also checks outstanding Purchase, and needs to skip those checks if it exists.

    pastedimage1669596745035v2.png

    pastedimage1669596759221v3.png

    Hope this helps.

    Thanks.

    ZHU

  • Samantha73 Profile Picture
    3,201 on at
    RE: Enable Lot Tracking on Current Items

    Have you tried using the configuration package with validations turned off?

  • ahanson Profile Picture
    236 on at
    RE: Enable Lot Tracking on Current Items

    Great suggestions. I just spoke with Microsoft; this appears to be a bug with version 21.1 from what I'm finding. I could add lot tracking to an item with historical entries in version 21.0. Waiting for an update.

  • ahanson Profile Picture
    236 on at
    RE: Enable Lot Tracking on Current Items

    Update - MS agrees this is a bug and there is a suggestion created to fix this. PLEASE vote for this to be resolved so all of us don't have to keep writing hotfixes. Here is a link to vote: experience.dynamics.com/.../

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,553

#2
Sumit Singh Profile Picture

Sumit Singh 2,057

#3
YUN ZHU Profile Picture

YUN ZHU 1,915 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans