Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Regarding Importing of a record from Production to Development

Posted on by 550

Hi,

In production , I have a lookup field called Price List . The same field in development .I have some javascript regarding this field , to set it as default lookup to  Standard record. Standard (but i think it is different ID#s in dev and prod ) record exist in both development and production .When I import the customizations from dev to prod and during testing the record in prod ,I am getting an error that the record is unavailable.

The Error message is as follows

<ActivityId>26e0df7c-2032-4924-9ccf-47a005e5e1c9</ActivityId>
<ErrorCode>-2147220969</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>PriceLevel With Id = 69791bc6-6a6c-e711-810f-e0071b66e0a1 Does Not Exist</Message>
<Timestamp>2017-07-31T13:24:19.5176728Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />

What can I do to get the same ID in production.

I tried importing the record , but no luck . Should I first delete the old Standard record and import the new one from dev .

Please assist.

*This post is locked for comments

  • HajiraRoshan Profile Picture
    HajiraRoshan 550 on at
    RE: Regarding Importing of a record from Production to Development

    Yes Aric , I used the Lookup ID's directly in the script which caused an error .Now, I have changed the code using rest method and filtering based on name to call the Rec ID's (because IDs are different in dev and prod). It is working now . Thanks :)

  • Verified answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Regarding Importing of a record from Production to Development

    Hi Hajira,

    Your javascript code should not cause this error.

    Where else in your solution are you referencing this particular Price List (or in the case of the error), the Price Level field?

  • Verified answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Regarding Importing of a record from Production to Development

    Hi,

     you can try using the configuration migration tool:

    technet.microsoft.com/.../dn647421.aspx

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