ATFE authorizes electronic A&D books
Pdf of ruling here. If anyone ever doubts that licenses have serious recordkeeping duties, the ruling should answer that.
Even the electronic recordkeeping will likely require custom-written software (which won't be cheap). There are thirteen requirements to be met. (It's possible that pharmacies have related software to keep track of controlled substances, and that this might be modifiable).
UPDATE: A&D is a licensed dealer's acquisition and disposition book, separate from his 4473s, and in which the dealer logs in all firearms as they come in, and as they are sold.