Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Sales cycle stages - Estimated Clode Date

Posted on by 147

Hi

When I update an opportunity through the sales cycte stages the Estimated Close Date always reverts back to the current date I want  it to carry forward the estimated closed date to the next stage. Is this possible?

Ie. Sales Cycle stage 1 has an estimated closed date of 31/01/2022. I update the opprotunity to move the next stage the estimate close date reverts to the current date. I want it to be 31/01/2022.

Any help appreciated.

Thanks Neil.

  • Neil Phelan Profile Picture
    Neil Phelan 147 on at
    RE: Sales cycle stages - Estimated Clode Date

    Steve

    It does update it,  but the issue is that lets saya I set the estimated clos date to be 31/ Jan on stage 1 when I move it to stage 2 on the 25th the estimated close date changes to the 25th. where as I want it to default to the 31st.

    I had to solve it with a some code in the end.

        [EventSubscriber(ObjectType::Page, Page::"Update Opportunity", 'OnAfterGetRecordEvent', '', true, true)]
        local procedure UpdateEstimatedClosingDate_OnAfterGetRecordEvent(var Rec: Record "Opportunity Entry")
        var
            oppent: Record "Opportunity Entry";
        begin
            oppent.Reset();
            oppent.SetRange("Opportunity No.", Rec."Opportunity No.");
            if oppent.Find('-') then begin
                oppent.FindLast();
                rec."Estimated Close Date" := oppent."Estimated Close Date"
            end;
        end;
  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sales cycle stages - Estimated Clode Date

    Neil,

    So when you click, off the Opportunity, the Update choice on the Action bar. The image appears and you update the fields and click OK. Does this not update the Estimated Closing Date to the new date?

    pastedimage1643070528937v1.png

    Thanks,

    Steve

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Sales cycle stages - Estimated Clode Date

    Hello,

    If you do not get further traction from the community, feel free to raise this issue to Microsoft via your partner or CSP.

    Thanks.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,552 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans