2 different autonumbering fields per category

2 different autonumbering fields per category

hi, i want to add two different products auto numbering fields. dependent on the category - hardware or software. so when product is hardware, the software autonumbering field stays empty and visa versa. is this possible ?