You need to sign in to do that
Don't have an account?
Developers
How to write code coverage for Apex trigger?
Hi,
In my project, i am facing deploying issue while uploading the Apex trigger from Sandbox to Production. While deploying the code, i am facing below issue.
Error:
System.DmlException: Update failed. First exception on row 0 with id 001L000000DbXA1IAN; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, The Account record is locked until the SAP Customer / Master creation has been completed.: []
Can any one help me to solve this issue.
Thanks in advance.
Regards,
Kumar
Just check in production account whether there is any validation rule for account. If exists then de-activate that. Then after your deployment again activate that.
If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.
Thanks
All Answers
Just check in production account whether there is any validation rule for account. If exists then de-activate that. Then after your deployment again activate that.
If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.
Thanks
Check your test method and validation rule.
Thanks,
Samba
Thanks Souvik Dutta.
I checked and did the same. Now, i deployed the code successfully into PROD.
Thank you very much for your response.
Regards,
kumar
Regards,
kuamr