Hello Friends ,
I am writing display method to get invoiceId on Sales Order form. Same you can also get invoice amount on form just to change select InvoiceAmount instead of InvoiceId and return type also to InvoiceAmount.
*This post is locked for comments
Ok.
And if you already have SalesId why you using SalesTable::find() ?
You code should looks like:
{ return CustInvoiceJour::findFromSalesId_IN(this.SalesId).InvoiceId; }
But, which invoiceId will be displayed if one sales order have several invoices?
I am not asking, this post for those who do not know how to display method works
And what is the question?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156