If you set Dimension Value = Code Mandatorythen, then this dimension must have value when doing posting, but any dimension value is acceptable.
If you set Dimension value = code mandatory at Vendor card, you must specify a dimension value at purchase order header. If you specify at the purchase line but not at the header, you still not able to do posting.