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

Expiration date in Sales agreement

(0) ShareShare
ReportReport
Posted on by 304

Hi,

When I make new Sales agreement the Effective date takes the date of today automatically, I need to know how does this happen because I need to control the Expiration date to set it also for a specific date let's say Effective date + 90 days, how can I do this?

I have the same question (0)
  • Suggested answer
    Christoph Thaler Profile Picture
    5,442 on at

    Hi KareemTaima,

    The date is filled automatically by the system with the current date and the status is „on hold“. When you confirm the agreement you can change the status to „effective“. If you have to change the effective date this is something you have to do manually. There is no parameter to have an influence on the date calculation.

  • KareemTaima Profile Picture
    304 on at

    ok I know it's filled automatically, but how?

    and I need to change the Expiration date automatically, how?

  • Suggested answer
    Christoph Thaler Profile Picture
    5,442 on at

    Currently I do not have access to my AX2012 dev box but the  field is filled in the create new record wizard as soon as you click „new“. So you have to check the init logic of this wizard.

  • qianwang Profile Picture
    7,168 on at

    Hi KareemTaima,

    You could set the DefaultAgreementLineExpirationDate of the form SalesAgreement.

    Please try to code on the post-eventhandler at the createrecord method of the form SalesAgreement.

    Hope this helps.

    Regards,

    QianQW

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans