次の方法で共有


MoneyAttributeMetadata.SourceTypeMask Property

Definition

Gets the bitmask value that describes the sources of data used in a calculated attribute or indicates whether the data sources are invalid.

public:
 property Nullable<int> SourceTypeMask { Nullable<int> get(); };
[System.Runtime.Serialization.DataMember(Order=70)]
public int? SourceTypeMask { get; }
[<System.Runtime.Serialization.DataMember(Order=70)>]
member this.SourceTypeMask : Nullable<int>
Public ReadOnly Property SourceTypeMask As Nullable(Of Integer)

Property Value

The value that indicates the source of data for a calculated or rollup attribute.

Attributes

Remarks

The following table contains the valid values for this attribute:

ValueDescription

0

Undefined: The default value for simple and rollup attributes.

1

Simple: The calculated attribute refers to an attribute in the same record.

2

Related: The calculated attribute refers to an attribute in a related record.

4

Logical: The calculated attribute refers to an attribute in the same record that is actually stored in a different database table. More information: 24de68ca-354b-48a2-b514-62c0d01ac3bb#BKMK_LogicalAttributes.

8

Calculated: The calculated attribute refers to another calculated attribute.

16

Rollup: The calculated attribute refers a rollup attribute.

32

Invalid: The calculated or rollup attribute is invalid.

Typically this would be where a field refers to an attribute that no longer exists.

The 26ada6f7-3e22-465c-90f8-19d326785eb4#BKMK_SourceTypeMasks is useful when performing bitwise operations to check whether specific values are present in this bitmask value.

Applies to