Is it possible to automatically set value for 'purchase type' field in Purchase reqeuest based on whether product is flaged as 'Capitalizable' or Not.

 E.g. If Product is flagged as 'Capitalizable', it should automatically set to 'Fixed Asset' otherwise 'Purchase'