Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Update Field Record While Press the Renewal Button

Posted on by

HI Guys,

I have a Membership Expire date Field.In the Expire date Field there has a One day Eg.(06/06/2017).i want to extend my Membership Expire date While am Press My Renew Button The Membership Field is Automatically Extend to +1 day +1Year(07/06/2017).How it do Plz Tell me Guys..

 

 

Thank You

*This post is locked for comments

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: Update Field Record While Press the Renewal Button

    Hi

    If you use the link provided in the previous post you need to use

    AddDays instead of Adddays

    (JavaScript is case sensitive)

  • Andreas Cieslik Profile Picture
    Andreas Cieslik 9,265 on at
    RE: Update Field Record While Press the Renewal Button

    Looks like you have a syntax error. Maybe some wrong double quotes?

  • DineshRaja Profile Picture
    DineshRaja on at
    RE: Update Field Record While Press the Renewal Button

    i Used this code but it throw some error..The error is (Reference error : Adddays is not define at eval)..how to solve this error

  • Verified answer
    Andreas Cieslik Profile Picture
    Andreas Cieslik 9,265 on at
    RE: Update Field Record While Press the Renewal Button

    In your JavaScript you could use this:

    srmscrm.wordpress.com/.../246

    for years its similar and looks like this:

    startdate.setYear(startdate.getFullYear() + 1);

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans