API manufacturing with electronic batch records, material genealogy, in-process testing, equipment, reprocessing and quality events on one record, so a trace shows why each transformation was allowed.