Traceability starts at receipt
Record the lot number, receipt date and observed condition of every vial as it arrives, and check the shipment temperature indicator if one is included. A result recorded against a lot number can be reconciled with the certificate of analysis for that lot; a result recorded against a compound name cannot.
Keep the certificate of analysis with the lot record rather than filing it separately. When an anomaly appears months later, the ability to look up measured content and purity for the exact vial used is what separates a resolvable question from an unrepeatable experiment.