Default warehouse must be specified when warehouse is mandatory

Hi All,

while creating item into new company, system is giving error " default warehouse must be specified when warehouse is mandatory" in ax 2009.

For creation of item, why this error is getting. Can anyone help.

Thanks,

Nanjappa

In the default order settings you have the mandatory warehouse set, but no mandatory warehouse defined I would guess. When creating it as standard mandatory would be set to no, so there is either a change to the default property of the field or the item creation process. Mandatory means that that warehouse is mandatory, not that a warehouse is mandatory - assuming you are not creating any transaction from the item and are actually creating the item record.