Amount must be negative in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0'.

the following error occur while posting purchase order whose 100% prepayment is already made but now when i trying to post it then

Amount must be negative in Gen. Journal Line Journal Template Name=’’,Journal Batch Name=’’,Line No.=‘0’.

kindly help me how to resolve this situation