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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 681
André Arnaud de Cal... 446 Super User 2026 Season 1
Syed Haris Shah 202 Super User 2026 Season 1