RetailProdAttributeInternalOrgMetadata::addUpdate Method
Adds a product attribute metadata to an internal organization if it does not exist. If it does exist, it updates it.
Syntax
client server public static void addUpdate(
RefRecId _internalOrgRecId,
RefRecId _attribute,
boolean _isRequired,
RetailProductAttributeRelationType _relationType,
RetailAttributeChannelMetadata _metadata,
RetailChannelMetadataVersion _version)
Run On
Called
Parameters
- _internalOrgRecId
Type: RefRecId Extended Data Type
The internal organization ID.
- _attribute
Type: RefRecId Extended Data Type
The attribute ID.
- _isRequired
Type: boolean
A Boolean value indicates whether the attribute is required.
- _relationType
Type: RetailProductAttributeRelationType Enumeration
The product attribute relation type.
- _metadata
Type: RetailAttributeChannelMetadata Extended Data Type
The attribute metadata.
- _version
Type: RetailChannelMetadataVersion Extended Data Type
The version number of the metadata.