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

Notifications

Announcements

No record found.

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
I have the same question (0)
  • Mohit Rampal Profile Picture
    12,565 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,034 Super User 2025 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
    300,799 Super User 2025 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 704 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 570 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 408 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans