Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

ledger journal trans Dimensions to line type customer or vendor

$
0
0

We are creating one journal with 3 lines:

Line 1 is type ledger with financial dimensions as such:
71000000-49000211-002-001-007-003

Line 2 is type customer with financial dimensions as such:
49000211-49000211-002-001-007-003

Line 3 is type vendor with financial dimensions as such:
002-49000211-002-001-007-003

The dimension sequence is as follows:
Account-Customer-Vendor-ServiceType-Service-ServiceCategory

Dimension Customer is not custom - reads from Customer list
Dimension Vendor is not customer - reads from Vendor list
Dimensions Service, ServiceType and Service Category are custom dimensions

We are trying to check these lines on SQL as such:

select * from LEDGERJOURNALTRANS where JOURNALNUM = '[Journal Batch ID]'
To check the dimensions of each line we are looking at LEDGERDIMENSION Column. The LEDGERDIMENSION column is an ID reflecting the combination of Dimensions used for each line.

The source of this LEDGERDIMENSION Id is not yet clear, while we found some relationships to DIMENSIONATTRIBUTEVALUECOMBINATION Table.

The problem is that Line1 which is a ledger account is trackable through all tables that have LEDGERDIMENSION or LEDGERDIMENSIONID as a column. The problem is that LEDGERDIMENSION Value for Lines 2 and 3 are not trackeable in these tables, so we cannot actually check DISPLAYVALUE for these combinations.

Noting that in the journal lines form, when journal line type is ledger, dimensions are added as line data (that means we add dimensions directly next to the main account using dashes - ). But when we need to add dimensions to line type customer or vendor, we need to enter the dimensions in another form called Account Financial Dimensions which should be the trick to knowing where are these combinations stored.

We need to know how can we find the LEDGERDIMENSION for Lines 2 and 3 in a Table showing the DISPLAYVALUE.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>