Once you have obtained a weapon item (a scope for example) go to the armory on your ship. Once there select VIEW SOLDIERS, choose a soldier and scroll to weapon upgrade. Select the upgrade you want to attach to the weapon and the achievement is yours.