Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to clone an opportunity with the same Created On date

Posted on by 80

Hello everyone,

How to cope an opportunity with the Created On of a source opportunity?

I can clone it with the built Clone function but system changes Created On date and sets it to Today, can I automate identical cloning?

Best regards,

Bohdan

  • Bohdan_Y Profile Picture
    Bohdan_Y 80 on at
    RE: How to clone an opportunity with the same Created On date

    Thank you very much I really appreciate your help,

    The problem was in turned off MS flows.

    Best regards and wishes,

    Bohdan

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to clone an opportunity with the same Created On date

    Hi Bohdan_Y,

    1.Navigate to Settings > Administration. Go to System Settings > Customization tab

     pastedimage1614923312642v5.png

    2.Check "Run Flows" privilege in the Customizations->Miscellaneous Privileges on your Security Role that current login user.

    Go Settings > Security > User to find the user you are using and open it.

    pastedimage1614923143704v2.png

    Clicking ‘Manage roles’ button to check what role are assigned.

     pastedimage1614923101118v1.png

    Go Settings > Security > Security roles to find role that just view.

    Under ‘Customizations->Miscellaneous Privileges’ to check "Run Flows" privilege.

    pastedimage1614923225989v3.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Bohdan_Y Profile Picture
    Bohdan_Y 80 on at
    RE: How to clone an opportunity with the same Created On date

    Hello Leah Ju,

    Looks like I don`t have this function, can I turn it on or is it some kind of bug.

    7723.Capture.PNG

    Sorry I`ve been working with dynamics for not so long.

    Thank you for you time,

    Bohdan

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to clone an opportunity with the same Created On date

    Hi Bohdan_Y,

    If you don’t find correct trigger in the power automate page directly, you can create flow as following steps.

    1.Navigate to Opportunity view page and select one record to expand flow to click ‘create a flow’.

    pastedimage1614823674603v1.png

    2.It can go to power automate wenpage directly, click 'continue' button.

    pastedimage1614823854243v3.png

    3.Now, you will view that trigger is created automatically.

    pastedimage1614823916590v4.png

    Then you can add other actions under it.

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Bohdan_Y Profile Picture
    Bohdan_Y 80 on at
    RE: How to clone an opportunity with the same Created On date

    Hello Leah Ju,

    Thank you for your response.

    I don`t see 'When a row is selected' trigger, only for a selected row from excel. And by the way isn`t there any way to reconfigre default Clone process?

    Best regards,

    Bohdan

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to clone an opportunity with the same Created On date

    Hi Bohdan_Y,

    As Mehdi said, ‘created on’ field can’t be filled manually, you just can fill ‘Record Created on(overriddencreatedon)’ field when create new record.

    You can create an instant flow to create new opportunity records with all values from selected original opportunity, the most important thing is to populate the 'record create on' field of the new record with the 'create on' value of the original record.

    1.Go Power Automate(https://us.flow.microsoft.com/en-us/ ) to create an instant flow.

     pastedimage1614751410002v7.png

    2.Select ‘when a row is selected’ as trigger.

    pastedimage1614750022517v1.png

    3.Add ‘Get record’ action.

    pastedimage1614750293259v2.png

    4.Add ‘Create a new record’ action, fill all fields with dynamics content from Previous step.

    Click in each field and just select value from ‘Dynamics Content’. You can also combine a field selected and plain text like I have done in the "Topic" field.

    pastedimage1614750795956v3.png

    5.Test.

    In Opportunity view, select oone or more opportunity records and expand flow to run the flow that just created.

    pastedimage1614751023794v4.png

    Refresh current page after running the flow, you will see a new record has been created.

    pastedimage1614751050913v5.png

    Opening the record, you will find that 'created on' field is ths same with original record.

    pastedimage1614751201816v6.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: How to clone an opportunity with the same Created On date

    Hello,

    How did you implement your clone?

    To override the created value you have to put the creation date on the overriddencreatedon field and this at the opportunity creation.

    Check this great blog:

    alisharifiblog.wordpress.com/.../

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans