web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Implementing the date value in sales order form

(1) ShareShare
ReportReport
Posted on by 4
I have a date typed field named Expiry Date available in the Item setup ( Customized ). I want to use this date when that particular item is used in the Sales order. I have the same field in Sales order as well but the date value is not updated. Please provide your thoughts. Thanks in advance.

Thanks,
C4u
  • Mohit Rampal Profile Picture
    12,573 Moderator on at
    Hi, Can you share code written for it. If code is not written then add in ModifiedField method of SalesLine table on ItemId field in extension class.
  • Suggested answer
    Waed Ayyad Profile Picture
    9,218 Super User 2026 Season 2 on at
    Hi,
    Can you share the code? You can do it by adding code to the modified field of Item Id to set the date to be the same as the date of Item setup. If you can create the sales order from other places rather than the Salestable form, you should add the same code in the code that sets the sales line.
  • André Arnaud de Calavon Profile Picture
    307,115 Super User 2026 Season 2 on at
    Hi C4u,
     
    Did you already add x++ code to copy the value from the item to the order line, or are you seeking for help how to achieve that?

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 366

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 360 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans