Dear All
Can anyone please help me, how to get the relation between salestable and generalJournalEntry tables to get the salesId?
Thanks in Advance
Dear All
Can anyone please help me, how to get the relation between salestable and generalJournalEntry tables to get the salesId?
Thanks in Advance
There is no relation between salesTable and generalJournalEntry tables.
So you want to get the sales Id related to it?
If so this would be same as navigating from a voucher to the original document(in your case it will be a sales order).
Look at \Classes\Originaldocuments\findFromGeneralJournal
Thank you so much