journal posting

hi

when i post the movement journal how to set the ledger dimensions value using x ++ code

Which version of AX? Please always attach a tag with your version - ledger dimensions, for instance, work differently in AX 2012 than in older versions.