Unable to create PO

Hi Friends,

Im not able to create a new Purchase Order as well as a new Journal also in AX 2012 R2 it is throwing an error that

Cannot create a record in Dimension (DimensionAttribute). Dimension name: MainAccount.

The record already exists.

Hi Alen,

It is strange you get this error while creating new PO and journal. Is this something that used to work before? Are there any modifications around this area? If yes obviously check those modifications.

On another note we had seen an issue with this table before. Here is the link - http://dynamicsuser.net/forums/p/60232/323232.aspx

If it is a new system, first make sure it is fully compiled, synchronized, full CIL generated without any error.