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

How do I treat Item Variants as a whole on the Item No.?

(1) ShareShare
ReportReport
Posted on by 183
Hello,
 
I am working with many items that have each and every item's colours, length and size variants all created under their own SKU, so they have their own stock on hand, their own Unit Price and so on.
 
Take these sample items for example,
  • ITEM-RED
  • ITEM-BLU
  • ITEM-BLK
  • ITEM-GRN
 
When I discovered about Item Variants, I simply created the inventory item as a single SKU and then create the four variants under that one item. However, if I were to further process a Sales Order or perform a print operation of a Sales Order Confirmation or Sales Shipment/Pick/Invoice, the single SKU is being used and not a joined whole as I am used to in the past. There also plans outputting the Item Code to an online store where the Item No. and Variant Code itself will form the expected SKU.
 
How do I make it so that when someone is creating an item, the variant code is appended to become the Item Code when it outputs to Emails, Custom Report Layouts and Web Service?
I also wonder how do I make it so that when it is entered in a Sales Order, the variant code will appear suffixed to the single SKU for new items?
 
What is expected/desired:
Item No.Variant CodeItem No. on the Business Central document and Web Service Output
ITEMREDITEM-RED
ITEMBLUITEM-BLU
ITEMBLKITEM-BLK
ITEMGRNITEM-GRN
 
What is currently happening:
Item No.Variant CodeItem No. on the Business Central document and Web Service Output
ITEMREDITEM
ITEMBLUITEM
ITEMBLK
ITEM
ITEMGRNITEM
I am aware I can use expressions to revise the item line cells on the Custom Report Layout and Email Body layouts so that I can append the Variant Code on the item line. However, I cannot seem to find the Variant Code on the dataset when I export a Custom Report Layout (RDLC) and testing VariantCode_AssemblyLine does not achieve any of the ITEM-RED/ITEM-BLU/ITEM-BLK/ITEM-GRN expected SKU.
 
any help would much be appreciated.
I have the same question (0)
  • Suggested answer
    Valentin Castravet Profile Picture
    31,340 Super User 2025 Season 2 on at
    If the variant code is not available in the dataset, you will have to extend the report to add it. Is this a standard Business Central report, what is the report number? And in Web Services, what object type/id are you using?
     
  • Verified answer
    Jun Wang Profile Picture
    8,200 Super User 2025 Season 2 on at
    what you observe is the standard behavior. you'll need a modification to combine item no. and variant into one. Or many people simply create item variants as separate items. 

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 3,229

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans