Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Lot Number Configuration Change

Posted on by Microsoft Employee

Hello,

is there is anyway to remove the lot number from the system. I did the below steps on my test

server and it was working fine but i don't know if we will face issues in the future or not.

i have changed the option (Lot Specific tracking)  from Lot Number setup direct from the

database (Sqlserver)  through update statement  on table number (6502 Item Tracking code) after

that i made transfer and receive and system didn't ask for Lot number also system automatically take

the qty. starting from first entry

Thanks for support

*This post is locked for comments

  • Suggested answer
    AJAnsari Profile Picture
    AJAnsari 5,754 on at
    RE: Lot Number Configuration Change

    Hi Nav User123,

    I cannot stress enough what manjusree has said about not making changes via the SQL Server. You run the risk of running into many unforeseen consequences. If you must do something like this, ask your partner or a NAV developer to help you accomplish this from the NAV development environment. And make a backup of your database first.

    While your SQL script has likely cleaned up the data within the immediate table or two,  there will remain orphaned entries in other tables and these will rear their ugly heads when you least expect it.

    Your choices are either following Lewis Rosenerg's suggestion (that manjusree has linked to), and that requires some coding. Or:

    1. Make a backup of the database, and ensure nobody is accessing the system while you do this

    2. Note the Item quantity by location, bin, and variant code, and the valuation/cost of the item at each location.

    3. Use the Item Journal to post Negative Adjustment(s) for this item by Location, Bin and Variant code to bring both Qty. on Hand and valuation to $0.

    4. Rename this Item to something else, and mark it Blocked, so it can no longer be used. Create a new Item with the number that was originally assigned to the old item. Copy all the good parameters (besides Item Tracking related ones) to the new Item, including creating Stockkeeping Units, if applicable. This could be a manual process, or you can create a NAV Processing Report (script) to do this.

    5. Use the Item Journal to post Positive Adjustment(s) for this item by Location, Bin and Variant code to bring the Qty. on Hand and valuation back to what it is supposed to be.

    If you only need to do this for one item, or a handful of items, it shouldn't be very exhaustive. But if it's a large number of items, you may want to speak with a NAV developer to accomplish this by code.

    I hope this helps. If my response has answered your question, please take a moment to verify by clicking "Yes" to "Did this answer your question?"

  • Suggested answer
    manjusree Profile Picture
    manjusree 175 on at
    RE: Lot Number Configuration Change

    Hi,

    Please have a look at https://www.navug.com/blogs/lewis-rosenberg/2016/02/25/changing-item-trackinglot-control-for-an-item-in-dynamics-nav. It is not recommended to make changes via SQL server.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans