Dimension Type Id
Dimension Type Id is a property of DimPk. The Dimension Type Id is a unique integer Id that is assigned to a Dimension. The DimTypeId is found in the Dim table and the DimTypeId represents each Dimension.
-
Entity = 0
-
Scenario = 2
-
Account = 5
-
Flow = 6
-
UD1 = 9
-
UD2 = 10
-
UD3 = 11
-
UD4 = 12
-
UD5 = 13
-
UD6 = 14
-
UD7 = 15
-
UD8 = 16
The DimTypeId is used in various functions. DimTypeId is most commonly used with the GetMember or GetMemberId functions where the first property in the function is DimTypeId. In this case, GetMember and GetMemberId needs to know which Dimension Id to use for the member the function is looking for.
-
Get a specific Member in a specific Dimension
-
Example: api.Members.GetMember(DimType.Account.Id, "AcctMemberName")
-
-
Get Member Id for a specific Member in a specific Dimension
-
Example: api.Members.GetMemberId(DimType.Account.Id, "AcctMemberName")
-