Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

The Length of string is 46 and it must be less than or equal to 26 characters. ?

(0) ShareShare
ReportReport
Posted on by 164

Hi all,

When is was posting the purchase invoices i am getting the below error. can any one help me to clear this error

The Length of the string is 46, but it must be  less than or equal to 25 characters 

8468.Capture.PNG

Thanks,

Mahesh

*This post is locked for comments

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: The Length of string is 46 and it must be less than or equal to 26 characters. ?

    As other members suggested, you most likely have a customization where some fields on the Vendor card table were expanded, but corresponding fields in the posted purchase invoice table were not. Quick solution is to manually decrease the value in this field (just make the text shorter). Better solution is to anyway streamline all the corresponding fields in the posting tables. Also note that when you increase the length of some fields in the card, you might face issues with printforms of the reports, as the layout might suffer.

  • Suggested answer
    Paras mehan Profile Picture
    Paras mehan 3,518 on at
    RE: The Length of string is 46 and it must be less than or equal to 26 characters. ?

    May be on shipping address it will show.

    Please consult to your NAV Partner. It need some changes from backend.

  • RE: The Length of string is 46 and it must be less than or equal to 26 characters. ?

    Hi Paras Mehan,

    I didn't mentioned the address on purchase invoice. That is my company registered office address and it is showing automatically.

    Thanks,

    Mahesh

  • Suggested answer
    Paras mehan Profile Picture
    Paras mehan 3,518 on at
    RE: The Length of string is 46 and it must be less than or equal to 26 characters. ?

    In Purchase document you have to find out in which field you have mentioned this address.

  • RE: The Length of string is 46 and it must be less than or equal to 26 characters. ?

    Hi Andrey,

    Thanks for you replay, where can change the values mentioned above?.

    Thanks,

    Mahesh

  • Suggested answer
    Andrey Baludin Profile Picture
    Andrey Baludin 3,941 on at
    RE: The Length of string is 46 and it must be less than or equal to 26 characters. ?

    To post this order you have to reduce this value to 25 characters. For example: 126, VTC, S48, Sohna rd

    But for normal work, as Paras said, you need to ask your partner to investigate this issue and increase variable or field length.

  • Suggested answer
    Paras mehan Profile Picture
    Paras mehan 3,518 on at
    RE: The Length of string is 46 and it must be less than or equal to 26 characters. ?

    Hi Mahesh,

    You should not change the length of the tables without checking other relations. It will might cause system issues on the run.

    To resolve the above issue, you can simply change the length of the variable to 25.

    (If you want to change the table field length, I suggest you to consult your NAV partner)

    6683.1.png

    Best Regards,

    Paras Mehan

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,492 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans