Jouranl Line checking the new dimension

Hi All,

I am creating the movement journal using X++ code... I want to deduct 5 quantities in one dimension (Site-1 , WH-1, Serial number-123) using movement journal(Issue journal).I have inserted the journal line with the same dimension as mentioned above. But when validating via code it checks the new dimension(Site-1, WH-1, Serial number-123 Location - In_01) and throwing an error. Please refer the below screen shot..

Please tell me how to solve this..?