Why is SDF trying to create the object while it al...
# sdf
b
Why is SDF trying to create the object while it already exists? Why doesn't just update it instead?
a
seems like custom object exists, but there is a new custom record custom field which is new, which its trying to create.
b
Thanks @Ali Syed (NS DevTools QA) so does it means that the custom record custom field id I would like to create already exists in an other custom record? And if so, is there a simple way via SuiteQL to search for the custom record which is using the same custom record custom field id?
this is the only explanation I can come up with for this error which is possible since people (Consultants) here are creating those objects in two different SB's via the UI.
I had just tested and created a custom record custom field with the same script id and that works perfectly so there is no existing custom record custom field.
Still I don't get why the deployment fails
a
But is it under same custom record? Because the error was for fully qualified id.
b
I had found the issue by using SuiteQL. An old custom record type which was created by a consultant had the same custom record custom field id.
I again tried to create the custom record custom field manually and the UI threw a meaningful message
which also appeared during the SDF deployment
It was the last row
But no, it was not the same custom record, it had a different id, while the name of the custom record type was the same!
so a yes/no thing 😛
t
@BS is this a suiteapp project?
If its a suiteapp project there is an app id you can expose via user preferences that you'll need to sync up on. My guess is that its in the account with no app id and your deployment is trying to add one WITH an app id and getting blocked
b
@The Usual Suspect no this concerns a simple account customization project
In the end we need to set a procedure in place so that the consultants we hire aren't making duplicate object id's spread across different sandboxes . It's a bit unusual but we're making different features at the same time in separate sandboxes so the chance of using the same script id's is very likely.