Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Bar Code Scanner

Posted on by Microsoft Employee

I am new at my company and am handling some work of someone who was let go. One of our scanners we use to scan the labels for our production orders to put in all the fields isn't working correctly. We have a list of fields that it fills in and the bar code scanned would fill in all of them but now only some of them get the information put in. The information in the bar code lines all the information for the fields of the production order. If I scan the label while using notepad it puts the whole value down so the scanner is reading the bar code correctly.

Example-

Value held by bar code: 111112233334444555556666

Table fields-

Customer: John (11111)

Item no.: 22

Bag Type: Large (3333)

Variant code: 444455555

Variety: Golden (6666)

The problem would be after scanning all the fields but Bag Type and Item no. wouldn't be filled in. I'm new to working with all of this but have a general understanding of how it operates but lack how to set up and correct problems like this.

*This post is locked for comments

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Bar Code Scanner

    Check the code after scanning of barcode. I think code might not written for filling up the value for item no and bag type.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Bar Code Scanner

    I don't know the scenario and the NAV code, but normally a barcode scanning is just like a text typing. The scanner reads the label code and writes them to a text field in NAV. I think that in OnValidate trigger of the barcode field (the field populated by the scanner) should be something that parses the readed code and populates the other fields accordingly. You've to check this piece of code.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans