Not able to set Declared compliance value to Exempt from SDK
Am trying to set Declared compliance and exemption values from SDK Using
ATT_SPECIFICATIONS_DECLARED_COMPLIANCE and
ATT_SPECIFICATIONS_EXEMPTIONS
throwing following error
Error code : 90077
Error message : Declared Compliance/Exemptions Values Mismatch: Only when the Declared Compliance is set to Exempt, should you select an Exemption.
Can you set the declared value to Exempt in the web client or do you get the same message there too?
I am able to set the value from web client successfully.
Even I am able to set declared compliance value to ‘Compliant and Non Compliant’ also but not to ‘Exempt’
First setting Declared Compliance and then exemption as shown below
row.setValue(
ManufacturerPartConstants.ATT_SPECIFICATIONS_DECLARED_COMPLIANCE,”Exempt”);
row.setValue(
ManufacturerPartConstants.ATT_SPECIFICATIONS_EXEMPTIONS,”Exempt”);
Try reversing them or better yet, in a HashMap.
HashMap map = new HashMap();
map.put(ManufacturerPartConstants.ATT_SPECIFICATIONS_DECLARED_COMPLIANCE,”Exempt”);
map.put(ManufacturerPartConstants.ATT_SPECIFICATIONS_EXEMPTIONS,”Exempt”);
row.setValues(map);