I have a validation error on a custom field on a c...
# sdf
w
I have a validation error on a custom field on a custom record. The field has sourcing from a custentity-field that IS present in the account. I have downloaded the Xml from the UI and through SDF and then tried to validate it back to the source and it fails. What could cause it?
Copy code
<sourcefilterby></sourcefilterby>
<sourcefrom>[scriptid=custentity_number]</sourcefrom>
<sourcelist>[scriptid=customrecord_list.custrecord_supplier]</sourcelist>
<storevalue>T</storevalue>
An error occurred during custom object validation. (customrecord_list)
Details: The object reference [scriptid=custentity_number] is missing in the project and also not included in the dependencies list.
s
You need to either include that custom field XML in your project OR add it as a
<dependency>
to your
manifest.xml
👍 1
e.g.
Copy code
<dependencies>
 <objects>
    <object>custentity_number</object>
</objects>
</dependencies>
w
Thanks, I thought it would add it automatically if needed when running "add dependincies"
s
I am not sure how thorough the 'add dependencies is'....