Set Attribute with Attribute

Description

Set Attribute with Attribute updates an attribute value with another attribute value.

Parameters

This function block has the following parameters:

Parameter

Description

Destination Region ID

ID of Region where item is located.

Destination Location

Location of the item in the Region.

Destination Item Class

Class of the item.

Destination Attribute ID

ID of Attribute whose value is to be set.

Source Region ID

ID of Region where item is located.

Source Location

Location of the item in the Region.

Source Item Class

Class of the item.

Source Attribute ID

ID of Attribute whose value is to be used to set the Destination Attribute ID.

Source Attribute Start Char

Specify the start character if setting a substring of the source Attribute.

Source Attribute Length

Specify the number of characters to set starting from Source Attribute Start Char.

Pseudo Code

Read source attribute value

If attribute is found

  Read destination attribute

  If attribute is found

    Update destination attribute value with the source attribute value.

  End if

End if

Note: System attributes cannot be modified.

More information

Core function block list.