You need to sign in to do that
Don't have an account?

INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, bad value for restricted picklist field: Not accepting default value
when running a test in my test class I am seeing this error:
INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, bad value for restricted picklist field: Z102 [Payment__c]
but Z102 is the default value. In fact I don't even set the value it is automatically set so I know its not a typo or anything, I don't even reference the Payment__c in the test class. How could this be? Any idea what's going on here?
INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, bad value for restricted picklist field: Z102 [Payment__c]
but Z102 is the default value. In fact I don't even set the value it is automatically set so I know its not a typo or anything, I don't even reference the Payment__c in the test class. How could this be? Any idea what's going on here?
Make sure Z102 should be case sencative