Attribute

 

 

 

Attribute

 

Description

Copies the value of a dynamic attribute from a source journal line to a mapping line.

 

Arguments

1.Attribute - Name of the Macro.

2.Name - The attribute to be copied.  This value is case sensitive.

3.Default Value - The value to be used if the attribute cannot be found or is blank.

4.Search Value - If the returned value matches the search value, the specified default will be returned. The search value and returned value will use casing to determine a match.

 

Examples

[Attribute|Entity]

If [Attribute|Entity] is available this will return the [Attribute|Entity] value.

If [Attribute|Entity] is not available this will return a blank value.

 

[Attribute|Department|101]

          If [Attribute|Department] is available this will return the [Attribute|Department] value.

If [Attribute|Department] is not available this will return the value "101".

 

[Attribute|Department|999|401]

          If [Attribute|Department] is available and does not equal 401 this will return the [Attribute|Department] value.

          If [Attribute|Department] is available and equals 401 this will return the value "999".

If [Attribute|Department] is not available this will return the value "999".

 

Notes

Available attributes are specific to each source. Please consult the source documentation or pasTransfer for information on which attributes are available. When attempting to access standard properties common to all sources use the Copy macro.  If a case-insensitive comparison is desired between the search value and the returned value use an If macro combined with a Lower or Upper macro.

 


Copyright © 2024 pasUNITY, Inc.

 

Send comments on this topic.