Added code for manual part sales