Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Add Item Reference Nb to the items List

Posted on by 751
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
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    Add Item Reference Nb to the items List
    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
  • David Tailor Profile Picture
    David Tailor 751 on at
    Add Item Reference Nb to the items List
    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
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    Add Item Reference Nb to the items List
    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
     

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans