RetailProductAttributeChannelMetadata::add Method [AX 2012]

Add a product attribute metadata to a hosting channel if it does not exist Otherwise, update it

client server public static void add(
    RefRecId _hostChannel, 
    RefRecId _attribute, 
    boolean _isRequired, 
    RetailProductAttributeRelationType _relationType, 
    RetailAttributeChannelMetadata _metadata, 
    RetailChannelMetadataVersion _version)

Run On

Called

Parameters

_hostChannel
Type: RefRecId Extended Data Type
Host channel Id
_attribute
Type: RefRecId Extended Data Type
Attribute Id
_isRequired
Type: boolean
A boolean value indicating whether the attribute is required.
_relationType
Type: RetailProductAttributeRelationType Enumeration
Product attribute relation type
_metadata
Type: RetailAttributeChannelMetadata Extended Data Type
Attribute metadata
_version
Type: RetailChannelMetadataVersion Extended Data Type
The version number of the metadata
Show: