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 :
Small and medium business | Business Central, N...
Suggested Answer

AL scripting. Item Attribute Values AL Page

(0) ShareShare
ReportReport
Posted on by

We want to build AL API page to retrieve item attribute values for items.
As we saw from Table inspection in Business Central sandbox "Item Attribute Value Selection" is temporary table and don't have reference to ItemCode.
Tell me please is it possible to build API Page to retrieve item attribute values for items?

4442.png2804.png

  • keoma Profile Picture
    32,729 on at

    build your api page on base of table 7505 instead. additional checkout tables 7500 and 7501.

  • Community Member Profile Picture
    on at

    Hello, thanks for answer
    but this way we can only retrieve Item attributes and corresponding Values for each attribute.

    But we need to retrieve Item attribute with values for specific item codes.

    For example:
    Item| Attribute               | Value|
    1     | PRODUCT TYPE| NOT FOR SALE
    1     | LICENSE             | OWIN IP
    2     | PRODUCT TYPE| FOR SALE

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    works indeed with tables 7505 and 7501.

    create a query.

    dataitem = "Item Attribute Value Mapping", filter by TableID=27

    column "No."

    dataitem "Item Attribute Value", Indent 1, dataitemlink: Attribute ID=Item_Attribute_Value_Mapping."Item Attribute ID",ID=Item_Attribute_Value_Mapping."Item Attribute Value ID"

    column = Attribute Name

    column = Value

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 676 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 483 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 310 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans