How to retrieve the last Sales Journal and last Purchase Journal entry for a specific APARLedger using the SDK.

Hi, this question pertains to Sage50 2014.3 SDK.

I have been inputting Sales and Purchases Journal entries using the SDK 2014.3.

Now I need to retrieve the latest [JournalDate]  (from purchases and sales) for ([TransactionType] = 0) and ([APARLedger] = {SomeLedgerName})

By [TransactionType] I mean that I used .SelectTransType to set it when I created the entry initially.

By [APARLedger] I mean that I used .SelectAPARLedger({SomeLedgerName}) when I created the entry initially.

By [JournalDate] I mean that I used .SetJournalDate() to set it when I created the entry initially.

I could really use some code sample for doing this (C# or VB.net).

P.S.: I am very much of a novice in Sage50 SDK and table structure so please be explicit in your answer.

Thank You!