Currently in Sage 200, to make an Analysis Code mandatory you have to have ticked a default value under ASM Settings Maintain Analysis Codes. I would have thought that the point in the Analysis Code being mandatory would be so users are prompted if there is no Analysis Code value when saving an order. As you have to tick a default value it automatically adds this to the order and therefore the user isn't prompted to change the analysis code value at the point of saving the order. This could result in the incorrect analysis code being saved against the order.