Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sfriel on github.
  • I am sfriel (https://keybase.io/sfriel) on keybase.
  • I have a public key ASDwfAcUfrANUY_cqus1ab8FpNDTZvuYFdVT2SyCf6b-gQo

To claim this, I am signing this object:

@sfriel
sfriel / automating_attachments.txt
Created February 22, 2017 14:13
Automating the creation of attachments
Prerequisites:
Create a script that checks the state of the linkages currently in the database. Flag any missing female/male linkages and display the data in the Admin
Attachment creation:
For each female linkage, create an attachment for each attachment assembly variant (if none already exists)
a. Product Type = Attachment
b. Code = (can just use a randomly generated code)
c. ACS Part Number (can be left blank)
d. Female Pin-on Linkage (is the female linkage we're looping through)