SubledgerJournalAccountEntry vs GeneralJournalAccountEntry

Hi,

Im new to AX, can somebody tell me when to use SubledgerJournalAccountEntry instead of GeneralJournalAccountEntry when fetching transactions?