Item Attribute Mapping in Product Configurator

Skip to main content

Item Attribute Mapping in Product Configurator

You are here:

Item Attribute Mapping automatically copies an option’s choice, quantity, or both to the item attributes of the configured item created from a configuration. When setting up a configurator option, you can specify whether to automatically create item attributes based on the option’s choice, quantity, or both when a configured item is generated. This is controlled by the Item Attribute Mapping field on the Configurator Options page.

Set up Item Attribute Mapping

  1. Navigate to the Configurator Options page in Business Central.
  2. Select the option you want to create item attributes for.
  3. Set the Item Attribute Mapping field to one of the following values:
    • Choice: Copies the Choice Code selected in the configuration.
    • Quantity: Copies the Quantity Per unit entered in the configuration.
    • Choice and Quantity: Copies both and will create two separate item attributes.

What to Expect

When a configuration is completed and its configured item created, the following item attributes are added to the configured item’s record:

Setting Attribute Name Attribute Value
Choice [Option Description] Choice Choice Code
Quantity [Option Description] Quantity Quantity per Unit
Choice and Quantity Both of the above Both of the above

Where [Option Description] is replaced with the option’s description.

Example

Suppose the configuration has a DIMENSION option where the user selects a specific thickness as its choice and enters the required length as its quantity per unit. The option has the following characteristics:

Field Value
Code DIMENSION
Description Dimension
Item Attribute Mapping Choice and Quantity

It includes the following choices: 3CM and 5CM.

If the user sets the DIMENSION option to the 3CM choice and enters 100 for its quantity per unit, when the configuration is completed and the configured item is created, the following item attributes are added to its item record:

Attribute Name Attribute Value
Dimension Choice 3CM
Dimension Quantity 100

If the user selects 5CM and enters 75.75, the configured item includes:

Attribute Name Attribute Value
Dimension Choice 5CM
Dimension Quantity 75.75

Extend Item Attribute Mapping

Item Attribute Mapping can be extended to support custom business requirements. Events can be found in the IWX PC Item Attribute Mgt. codeunit.

For example, to use just the option’s description as the attribute name for Choice, instead of the default “[Option Description] Choice” format, subscribe to the following event:

Copy to Clipboard
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?

Leave A Comment

Table of Contents
Go to Top