how to get the relation between salestable and generalJournalEntry tables.

Dear All

Can anyone please help me, how to get the relation between salestable and generalJournalEntry tables to get the salesId?

 

Thanks in Advance

Parents
  • 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
Reply Children
No Data
Related
Recommended