web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Bar code in NAV

(0) ShareShare
ReportReport
Posted on by 4,188

Hi,

Im using Bar code scanner, as soon as the bar code scanner scans the Item's bar code, if my cursor points to the Sales Line field "No". the Item No. is displayed.

Here the requirement is such that if the item's bar code is scanned again then the quantity should be +1. Any suggestion how to accomplish this ?

*This post is locked for comments

I have the same question (0)
  • ManishS Profile Picture
    86 on at

    You need to create a separate field on the related page and keep your cursor there for scanning, once scanned insert your sales line.

    This way you can check in the sales line for duplicate items scanning and add your quantity.

  • Verified answer
    CDsilva Profile Picture
    4,188 on at

    Hi,

    I've found a solution for it. I will upload my solution shortly.

    Item Leger Entry stores the serial number.

    I've written a code on OnbeforeValidate. Here, when you keep the cursor on No field and scan the barcode, the serial No  appears on No field. Here I find the 'Item No' from ILE. For more details visit my blog site.

    6320.1.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans