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
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 :)
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?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156