DocType Autoname Field not following autoname field format

I’ ve set autoname field as
“format:BTP-{MM}{YY}-{#####}”

In the begening this followed the format. I’ve created a webform based on that doctype. Now if I create a product with doctype form autoname field is not followed. Instead, it uses Title field of the doctype as the default autoname field.

Even deleting the doctype, and recreating it doesn’t solve the problem.

Seriously In Need Of Help.