Add purchase code to inventory detail

IMPROVEMENT