Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Alter name Status in Quote

Posted on by 688

Good Morning,

I have the CRM ON Line and I need and in the Quotation I have the Status Drafts, Active, Win, Closed is it possible to change the name of the Closed to Lost status?

Tank You

*This post is locked for comments

  • Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,203 on at
    RE: Alter name Status in Quote

    That was great

  • RE: Alter name Status in Quote

    Hello Wei,

    Worked on CRM 365, incredible, thank you very much.

    Tanks

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Alter name Status in Quote

    Hi ,

    Please check below reference

    msdn.microsoft.com/.../gg309346.aspx

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Alter name Status in Quote

    Hi,

    follow below steps to change the quote status.

    Remember save a backup before proceed with this. Happy 365

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Alter name Status in Quote

    Example of code as follows:

    UpdateStateValueRequest updateStateValue = new UpdateStateValueRequest

    {

       AttributeLogicalName = "statecode",

       EntityLogicalName = Contact.EntityLogicalName,

       Value = 1,

       Label = new Label("Open", _languageCode)

    };

    // Execute the request.

    service.Execute(updateStateValue);

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,203 on at
    RE: Alter name Status in Quote

    on quote you already have Lost status reason, on Closed status

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Alter name Status in Quote

    Hi,

    The Statecode fields are static, which means that you cannot change them using the interface.

    The values are as follows (shown in this link):

    technet.microsoft.com/.../dn531157.aspx

    You can change the Status code labels if you want using the User Interface (by modifying the Status Reason (statuscode) attribute).

    You should be able to change the State Code using the SDK and C#. See the link below to change the State code:

    msdn.microsoft.com/.../microsoft.xrm.sdk.messages.updatestatevaluerequest.aspx

    Hope this helps.

  • RE: Alter name Status in Quote

    Hello,

    Tanks for your reply, Neither via plug-in?

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: Alter name Status in Quote

    Hi,

    You cannot change status text but you can change Status Reason.

    When quote status  = Closed, you can create / Change new status reason = Lost.

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,203 on at
    RE: Alter name Status in Quote

    I think You can change the status Reason, not status

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans