Johnny
3 years agoNew Contributor II
Location of ConsId field Name / Description Table in Database
I am building a data adapter utilizing the SQL command type. In my query, I reference the ConsId field. What database table can I join to for the Name/Description fields for the ConsId field on my primary table? For example, I can join to the [Member] table on the [DimTypeId] and [MemberId] fields to return Name/Description fields of an entity or account, ect.
I'm also looking for currency ID Name/Description, if that is held in a different location than ConsId.
Example of my query:
SELECT
JLT.[ConsId]
FROM [JournalLineItem] as JLT
LEFT JOIN JLT.[ConsId] = [Tbl_Cons_DimensionData???]
WHERE JLT.JournalID = 'ABC'