web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error in test but not in Live - Pricelevel with ID xxxxxx does not exist

(0) ShareShare
ReportReport
Posted on by 155

Hi All,

-started figuring out mapping stuff on the Order entity form based on Account entity details

-Stupidly did it in the live/production environment first (although no issue, mapping works fine, no errors in live version)

-Exported my solution back to the test environment, wanted to bring test and live back to parity.

-Imported my solution into the test environment (no errors)

-Created a test order to confirm mapping was now working in test environment

-Hit save once completed the 1st Chevron, received the following error:  PriceLevel With Id = 527c6e17-8fd5-e711-812f-480fcff237d1 Does Not Exist

-Will not allow you progress with the order/save/press "next stage"

Can anyone explain what's happened here? Usually I look at the log, and spend some time on youtube/websites, and I have an answer. Can't find anything online for this issue after a few hours of searching. Any advice out there? Log below

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: PriceLevel With Id = 527c6e17-8fd5-e711-812f-480fcff237d1 Does Not ExistDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>63199a3e-f6a9-4445-ad51-c154396e4176</ActivityId>
  <ErrorCode>-2147220969</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>PriceLevel With Id = 527c6e17-8fd5-e711-812f-480fcff237d1 Does Not Exist</Message>
  <Timestamp>2018-07-23T04:17:00.4922063Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

Can anyone explain what's happened here? Usually I look at the log, and spend some time on youtube/websites, and I have an answer. Can't find anything online for this issue after a few hours of searching. Any advice out there?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    It appears that you have a pricelist record in your prod CRM with the id mentioned in the error. You also have some workflow, business rule etc which uses that pricelist. Now, though you have brought all your customizations from prod to dev, the pricelist record is still not available in Dev.

    You need to find the missing pricelist and import it into your dev.

    Hope this helps.

  • Verified answer
    Kevin Grech Profile Picture
    380 on at

    First I suggest to check the price list on the live and search for one (by name) on the test environment which results in 2 possibilities:

    1. If there isn't, then use the configuration migration from the SDK to export it from live to test.

    2. If it's present on test, then the GUID is different and whatever is set to look for it (such as a business rule), is linked by ID.

    Business Rules in 8.2 refer to lookups by ID (example when setting as default or in an if condition). Therefore, you'll have to delete the one on test and perform the action of scenario 1

  • Eturyu Profile Picture
    155 on at

    Thanks guys, you were both very helpful, issue resolved.

    Identified which business rule had a dependency on the price list and amended it ;)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans