Set profile now working for AR add by row
Fixed price calc after setting template and profile
Removed commented out code