Can Custom Record Instances themselves be imported...
# sdf
d
Can Custom Record Instances themselves be imported into an SDF Project via SDF? I know how to do it via NetSuite UI and the HelpCenter article _/app/help/helpcenter.nl?fid=section_1532218021.html_ makes it seem like you can do it via SDF as well, but I cannot seem to find a "GetCustomRecordWithInstances" command exposed by the CLI or IDE plugins.
a
updatecustomrecordwithinstances
that's your friend
message has been deleted
you need to pass account args (or setup the .sdf file) plus scriptid
d
I thought that was when you already had instances in your XML and you were pushing to your account, rather than pulling current instances from account?
a
this one should be pulling from the account to the custom record XML that you define in the scriptid arg
You should importobject first and then run the update
d
🤦‍♂️ that worked, I was thinking about it the opposite way. thanks!
a
great!
Do you think the help text is confusing?
Any suggestion for the command name?
s
I'd suggest the command name have import in it since that's what's used to pull down other definitions?
d
I think it is clear enough now that I have had some coffee 🙂 especially in Eclipse help text it additionally does say "...from Account"
a
heh