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

Deleting Item Variant Code

(0) ShareShare
ReportReport
Posted on by 70

Hi BC Guru's,

We would like to remove item variant code from item ledger entries as we do not use it the way it was intended, and it is creating issues for us in closing inventory periods. 

If we were to remove the variant code from populating in the item ledger entries would this create any issues? 

I have the same question (0)
  • Suggested answer
    Dallefeld Profile Picture
    235 User Group Leader on at

    Yes, item variant is used in many ways, it's used in pricing, inventory counts, even descriptions on documents. My suggestion is to quit using item variants if you are using it as it was NOT intended and find another field to utilize.

  • Suggested answer
    YUN ZHU Profile Picture
    102,540 Super User 2026 Season 1 on at

    Hi, If you just want to remove from item ledger entries, it is not difficult, but there are actually many tables associated in the background, such as Value Entries, Posted Sales Invoice Lines, etc.

    pastedimage1668469337244v2.png

    And if you set Item & Location & Variant in the Average cost calc. type, this will also affect the cost calculation.

    pastedimage1668469264155v1.png

    I think it is better not to modify the historical data. You can choose to block the old item and create a new one. At least this doesn't break the consistency of the system data.

    Hope this helps.

    Thanks.

    ZHU

  • ERPMan Profile Picture
    70 on at

    Is there any way to make it so variant code items are considered the same quantity as the main item?

    We are having issues closing inventory periods due to variants being considered as a separate item with different quantity. If we could have them counted altogether it would relief the issue.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    Just run the Test report first, from the Inventory Period page, see how many items it showing with error, like if they are open entries, close those entries first with Apply to field's value on Item journal with the same quantity in the Item Ledger entry do this for each item shown in Test report.

    It will make close of all Item ledger entries, and moving forward stop using the variant code. also if you dont want to see that Variant code field just hide it doing some development, removing data is not recommended.

  • Suggested answer
    Dallefeld Profile Picture
    235 User Group Leader on at

    The entire purpose of Variants is to be treated like different items without having to setup different items.

  • Suggested answer
    Amit Profile Picture
    2,563 on at

    Hi,

    Yes it is used in calculating the valuation of the Item.

    Regards

    Amit Sharma

    www.erpconsultors.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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 690 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 521 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 304 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans