hay ,, what is source table of original document field in TmpLedgerBase?
thanks
*This post is locked for comments
I have the same question (0)

hay ,, what is source table of original document field in TmpLedgerBase?
thanks
*This post is locked for comments
I have the same question (0)It doesn't have a relation to any table. OriginalDocument is an enum type which is stamped when inserting when you are inserting in the TmpLedgerBase. Eg.
// Sales order invoice this.insertDocument(OriginalDocument::SalesInvoice, custInvoiceJour.TableId, custInvoiceJour.RecId, SysModule::Cust, custInvoiceJour.InvoiceAmount, custInvoiceJour.InvoiceId, custInvoiceJour.InvoiceAccount, custName);
Have a look at OriginalDocument class, findFromCustTrans and insertDocument methods to see how it is being used.
Hope this helps you a bit