Created
September 17, 2012 22:33
-
-
Save elranu/3740195 to your computer and use it in GitHub Desktop.
How a Ledger post (GeneralJournalEntry) is related with a General Journal Ledger.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static LedgerJournalTable findByGeneralJournalEntry( GeneralJournalEntry journalEntry ) | |
{ | |
LedgerJournalTable journalTable; | |
LedgerEntryJournal journalLink; | |
; | |
select firstOnly * from journalLink where journalLink.RecId == journalEntry.LedgerEntryJournal | |
join journalTable where journalTable.JournalNum == journalLink.JournalNumber;// && | |
//journalTable.dataAreaId == journalLink.LedgerJournalTableDataAreaId; | |
return journalTable; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment