transfer line creation error

Hi All,

while creating Transferline through itembarcode am getting below mentioned error.But same code is working fine in other instance .Please help me how to findout the issue.