In SDF, I have downloaded all objects but it throw...
# general
b
In SDF, I have downloaded all objects but it throws me the dependency error. Seems like it refers the object like transaction body field or transaction column field before it is deployed. It throws me this error.
Details: The manifest contains a dependency on custbody_custom_id object, but it is not in the account.
But in SDF objects directory I can see that body field xml file. How could I fix this?
m
Is the field inactive by chance?
You can adjust the manifest and remove that dependency reference to push it through.
The error seems to say that the object does not exist in the target account. Did you make sure the field exists in both accounts?
b
yes that object does not exist in the target account
But it is in SDF project
m
Push the object only to the target account and revalidate.
b
So no way to do that in one step?
m
There seems to be a dependency on the custbody_custom_id object itself. What kind of field is it?
b
It's a transaction body field which is used in SuiteScript files just List/Record type
m
Well, Just remove the dependecy from the manifest and try that or use Copy to Account to move the field over.
b
Actually I already did it, but I wanted to know if there is any method to do that in one step. Like importing Objects first and then scripts, WFs, automatically
m
SDF is an adventure sometimes. Bets to try workarounds. Not always possible in one step.
👍 1
b
Thank you
m
@Boris Yasen I’ve found sometimes the order objects are listed in the deploy.xml has an affect on success or failure. Sometimes moving the “missing dependency” to the top of the list fixes the issue.