Notifications
Announcements
No record found.
Hi Experts,
I want to create a new field called delivery description on sales order lines. How can I bring the description from delivery terms which is on sales order header view as shown in attached image. Please help thanks in advance.
Regards
Hi ax tech,
You need to write the code on the initValue of the SalesLine DataSource. So, when you create new line Delivery terms will be auto populated from the header.
Public void initvalue() { salesLine.DeliveryTems = SalesTable.DlvTerm; }
Thanks,
Girish S.
Hi Girish S,
Thank you for replying but I just want description from delivery terms not all the fields. So, do i have to add something else too?
Yes, above code will assign only the delivery term from header to line. If you want a description you can add, select statement to get the description.
Public void initvalue() { DlvTerm term; //instead of select you can also find.. select firstonly * from term where term.Code == SalesTable.DlvTerm; salesLine.DeliveryTermDescription = term.Txt; }
Hello, you can write a display method on table (using extension) and add this on form as field.
Thanks Girish S for your valuable time and effort
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 467 Super User 2025 Season 2
Martin Dráb 420 Most Valuable Professional
BillurSamdancioglu 241 Most Valuable Professional