I got this error message when trying to change the production order status from Released to Finished
"Location Code must have a value in item Journal Line: Journal Template Name=, Journal Batch Name=, Line No.=0, It cannot be zero or empty". I ensure that i have added all the locations to the output and materials consumed.