Hi,
Suppose I have 2 (duplicates, only 1 should have been created) Posted Journals in LedgerJournalTable each with 2 lines in LedgerJournalTrans (1 vendor, 1 ledger),
and if I called LedgerJournalTable.delete() on 1 of them, then it will delete LedgerJournalTable and LedgerJournalTrans records,
but GeneralJournalEntry, GeneralJournalAccountEntry records will still be there.
Since there is 1 vendor line in each journal, there are 2 vendor lines in VendTrans.
Now I want to reverse 1 Vendor line out of 2.
How shall I proceed? Can't think of a solution right now.
If I create a reversing transaction in LedgerJournalTable/Trans then I would still have dangling entries in GeneralJournalEntry, GeneralJournalAccountEntry of the record that was deleted.
Which tables are used for Ledger module reporting, Ledgerjournaltable/trans or the other set of tables like GeneralJournalEntry, GeneralJournalAccountEntry, etc.?