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 NAV (Archived)

Variant Code

(0) ShareShare
ReportReport
Posted on by

I Changed the Strength for the Variant Code as it is very tall in our Business , System start to Accept in many Forms , but it also stacks in some , it shows me that Strength is more than 10.

and While Debugging the Error , System is Searching for Code unit No. 7010 , 

The Code Line is (Temp purch line or Discount) some thing like that , Kindly help me to solve that issue. 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Jan Veenendaal Profile Picture
    510 on at
    RE: Variant Code

    I know from previous experience that the Variant Code is used in VERY many places in the code (several hundred places) - which all need to be modified. So:

    Please do not extend the Variant Code!

  • Suggested answer
    Suresh Kulla Profile Picture
    49,231 Super User 2025 Season 2 on at
    RE: Variant Code

    As Mohana it is recommeneded not to increase the standard field length but in somecases that may not suffice your needs so you have to make a change but when you make such changes you should change that in all different places where it is used. You can use tools like Object Manager IDYN or Prism to find where that field was used and change the length of the field in all those instances to avoid the errrors.

    http://www.mibuso.com/dlinfo.asp?FileID=826

    http://www.stati-cal.com/

  • Verified answer
    Mohana Yadav Profile Picture
    60,622 Super User 2025 Season 2 on at
    RE: Variant Code

    You have to change in all places where variant code is used in coding as a variable or in other tables etc.

    I suggest not to increase length and read this blog

    dynamicsuser.net/.../increasing-field-lengths-in-navision.aspx

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans