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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Add Item Reference Nb to the items List

(1) ShareShare
ReportReport
Posted on by 912
Hello,
 
how can i add a column (using AL in VS code) to the items List page to read from Item reference Nb:
i mean need the Barcode (Item Reference Nb.) as an additional column to read related Barcode for every item in the list.
 
Regards,
David
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    101,995 Super User 2026 Season 1 on at
    Hi, Because Item to Item reference is one-to-many, if you want to add a column, you can only add one.
    In addition, I did not find the field you mentioned, so I took Description as an example
    For example,
     
    Thanks
    ZHU
     
  • David Tailor Profile Picture
    912 on at
    Thanks ZHU,
     
    when you select the reference type = "Barcode", then the field in question is "Reference No.".
     
    Note: mainly it will be used as one to one barcode (one unit of measure and one barcode (Reference No.) per item).
     
    Regards,
    David
  • Suggested answer
    YUN ZHU Profile Picture
    101,995 Super User 2026 Season 1 on at
    That's easy, you just need to add one more filter to my code, setrange(Reference Type, Reference Type::Barcode), and that should work.
     
    Hope this helps.
    Thanks.
    ZHU

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,028 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,366 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,175 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans