error in creation of formula

I am trying to create a formula in AX2012 but grtting following error:
What cab be the reason?

“Product has a production type that does not allow creation
of BOM or Formula.”

Edit the released product

Under Engineer tab, provide Product type = FORMULA or whatever e.g. BOM.

This should work.