This topic contains 1 reply, has 0 voices, and was last updated by erictgrubaugh 7 years, 4 months ago.

  • Author
    Posts
  • #21696 Score: 0

    Jordan Manningham
    • Contributions: 0
    • Level 1

    Hi All,

    I mistakenly imported thousands of empty addresses and now need to remove them. I set up a saved search that returns all empty addresses and their internal id. I want to use a scheduled script to go through each result and delete the blank subrecord. I want a way to do this without having to load the customer record then checking each line in the addressbook for a matching internal id. I'm finding that the only way to load an address subrecord is by first going through those steps. Can anyone verify if it's possible to load the subrecord without loading the customer record and going through each line?

    Thanks
    This is a cached copy. Click here to see the original post.

  • #21697 Score: 0

    erictgrubaugh
    • Contributions: 0
    • Level 1

    Not that I know of. Subrecords by definition don't "exist" outside of the context of the Parent record (as opposed to a Child record which is a full, separate, but related record). I believe subrecords are only accessible via the Parent.

You must be logged in to reply to this topic.