Hi there, we got an requirement to develop an lookup field for MainAccount form. As per the requirement, we need to add an condition and if that condition doesn't satisfies, i need to throw error message and clear the text in the field. I can able to throw error message and prevent saving it but cant able to clear record entered (after manually clearing record also still throwing error message). I had added coc for validatewrite() in my datasource table and trying to add condition from there. Please have a look at my table extension class code and suggest me accordingly.