Resolved! GlideRecord insert getting duplicate key
I am running into a duplicate key issue when trying to generate a proc_po record for each vendor on a order from our catalog. The script works fine without the for loop, but when added it generates one record correctly with a unique key, then when cr...