Announcements
No record found.
CustInvoiceTrans
CustInvoiceLine
Hi, thank you for the suggestion.
For the relationship between CustInvoiceJour and CustInvoiceTable, I’m currently using the standard method:
custInvoiceJour.custInvoiceTable()
At the moment, my report uses CustInvoiceTrans as the main data source for the line section, and almost all required fields come from CustInvoiceTrans.
However, there is one specific field I need, which is CustInvoiceLine.InvoiceTxt. That’s why I’m trying to understand how CustInvoiceTrans can be linked to CustInvoiceLine, if such a relationship exists.
CustInvoiceLine.InvoiceTxt
Thanks in advance for any clarification.
At the moment, I’ve implemented a separate logic based on the document type:
For Free text invoices, I retrieve line data directly from CustInvoiceLine, linked by custInvoiceLine.ParentRecId == custInvoiceJour.custInvoiceTable().RecId.
custInvoiceLine.ParentRecId == custInvoiceJour.custInvoiceTable().RecId
For non–Free text documents (such as Sales Credit/Debit Notes), I retrieve line data from CustInvoiceTrans.
This approach avoids the need to explicitly link CustInvoiceTrans with CustInvoiceLine and fits my reporting requirement.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 590 Super User 2026 Season 1
Giorgio Bonacorsi 349
Diego Mancassola 263