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

Announcements

News and Announcements icon
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 256

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
    101,643 Super User 2026 Season 1 on at

    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
    256 on at

    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
    101,643 Super User 2026 Season 1 on at

    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,317 on at

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

  • ahanson Profile Picture
    256 on at

    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
    256 on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,273 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,669 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,402

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans