How can I create a link between the GeneralJournalEntry.LedgerDimension and cost center dimension?

How can I create a link between the GeneralJournalEntry.LedgerDimension and cost center dimension?
No, you shouldn't want to do that. Use classes like LedgerDimensionFacade and such to get the financial dimension values like cost center and others.