Purchase with the auto generate IDs

insertion gets screwy sometimes, no idea why, might be just on my end,
return not done yet