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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Lookup item by GTIN in Sales Order Sales Line table

(3) ShareShare
ReportReport
Posted on by 61

Hello guys,

I have added a GTIN column to the Sales Line table in the Sales Order page

Screen-Shot-2022_2D00_08_2D00_30-at-23.35.47.png

What would be the proper way to add ability to search an items by typing a GTIN value as it is possible in No. column? I made this column 'Lookup = true', but it seems to be not enough.

And another question: if I found some item by its number, what do I need to do to autofill GTIN column with item's GTIN value?

Thanks in advance for your reponses!

I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    95,597 Super User 2025 Season 2 on at

    Hi, The easiest way is to use Flowfields

    More details: https://yzhums.com/5802/

    pastedimage1661904525574v1.png

    pastedimage1661904533568v2.png

    And there is another way to use trigger of No. field or Sales Lines table.

    When inserting and modifying No., autofill the GTIN number at the same time.

    Hope this helps.
    Thanks.

    ZHU

  • Johny Be Good Profile Picture
    61 on at

    It works like a charm! Thanks for the article, it is really helpful.

  • Peter Waugh Profile Picture
    145 on at
    Does this mean Sales Lines can also use FlowFields to link item references for Unit of Measure Reference type "Bar Code" 
    Type Item > GTIN Number 
    Unit of Measure Code > Bar Code Reference ? 
     
    Thank you 
    Peter 

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,785

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,007 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 948 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans