Here we will see how to get the default Dimension from the table GeneralJournalAccountEntryEntity.
1. Add DimensionCombinationEntity as DS
2. Add a relation with LedgerDimension and Recid as shown below.
3. Add the field Display value from DimensionCombination DS. This will give you the Default Dimension for GeneralJournalAccountEntryEntity.