Error "item journal line already exists journal template name ' ' journal batch name ' ' and line no' 10000'"

i have create one action ’ post’. when i have click on action there is -ve adjustment in one location and +ve adjustment in another location.

but now its shows error .i have run debugger its stuck at " if not find(’=<>’) " codeunit 21.

any help is appreciate

Where you created this Action?
What code you have written?
From where it picks item, location, qty., dimension (if any)?
Why are you doing it via code (any specific Reason)?

thanks for reply

it is in manufacturing process . where my batch transform from one location to another when i click on
"stage completed " the code is run .

What is the code sir?

issue Resolved

its shows error because one _ve adjustment already done .