Of course there are always more ways to skin a cat. Below is a table describing the Batch Status Codes. Use the above sql statements to change the batch status' to a desired state that will help solve our issue. Somewhere there is a Microsoft KB article with all of this information.
Code
Description
1
Closed
2
Opening Amounts Entered
3
Closed, Opening Amounts Entered
4
Closing Amounts Entered
5
Closed, Closing Amounts Entered
6
Opening Amounts Entered, Closing Amounts Entered
7
Closed, Opening Amounts Entered, Closing Amounts Entered
8
Blind Closed
9
Closed, Blind Closed
10
Opening Amounts Entered, Blind Closed
11
Closed, Opening Amounts Entered, Blind Closed
12
Closing Amounts Entered, Blind Closed
13
Closed, Closing Amounts Entered, Blind Closed
14
Opening Amounts Entered, Closing Amounts Entered, Blind Closed
15
Closed, Opening Amounts Entered, Closing Amounts Entered, Blind Closed
17
Closed, Exported
19
Closed, Opening Amounts Entered, Exported
21
Closed, Closing Amounts Entered, Exported
23
Closed, Opening Amounts Entered, Closing Amounts Entered, Exported
25
Closed, Blind Closed, Exported
27
Closed, Opening Amounts Entered, Blind Closed, Exported
29
Closed, Closing Amounts Entered, Blind Closed, Exported
31
Closed, Opening Amounts Entered, Closing Amounts Entered, Blind Closed, Exported