Autoprint BPM issue

I am looking at a BPM to help when (Unknown reason why) EDI invoice do not make it to our partner (In this case SPS and 1 EDI source).

I am getting an error I believe on my query I have for SPS Filter and 1 EDI Filter

For SPS here is the query

filter on ttinvhead is to make sure the row has been modified

image

For the customer we have a field called shortchar03 that stores how we process the document
SPS / 1 EDI / E-Mail / Print

Here is the error I am getting (this is the first BPM I am trying to use a query in)

There is at least one compilation error.
PostTran.EDI810_1Reprint.cs(231,56): error CS0595: Invalid real literal.
PostTran.EDI810_1Reprint.cs(231,59): error CS1026: ) expected
PostTran.EDI810_1Reprint.cs(231,59): error CS1026: ) expected
PostTran.EDI810_1Reprint.cs(231,59): error CS0742: A query body must end with a select clause or a group clause
PostTran.EDI810_1Reprint.cs(231,59): error CS1026: ) expected
PostTran.EDI810_1Reprint.cs(231,59): error CS0742: A query body must end with a select clause or a group clause
PostTran.EDI810_1Reprint.cs(231,59): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(231,60): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(231,60): error CS1513: } expected
PostTran.EDI810_1Reprint.cs(231,61): error CS1525: Invalid expression term ‘&&’
PostTran.EDI810_1Reprint.cs(234,76): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(234,76): error CS1513: } expected
PostTran.EDI810_1Reprint.cs(235,28): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(238,26): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(238,26): error CS1513: } expected
PostTran.EDI810_1Reprint.cs(238,42): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(239,36): error CS1003: Syntax error, ‘,’ expected
PostTran.EDI810_1Reprint.cs(239,39): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(239,53): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(239,55): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(239,62): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(239,63): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(240,51): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(241,24): error CS1002: ; expected
PostTran.EDI810_1Reprint.cs(101,56): error CS0103: The name ‘SPS’ does not exist in the current context
PostTran.EDI810_1Reprint.cs(231,59): error CS0103: The name ‘I’ does not exist in the current context
PostTran.EDI810_1Reprint.cs(232,29): error CS0103: The name ‘rowCustomer’ does not exist in the current context
PostTran.EDI810_1Reprint.cs(233,28): error CS0103: The name ‘rowCustomer’ does not exist in the current context
PostTran.EDI810_1Reprint.cs(234,28): error CS0103: The name ‘rowCustomer’ does not exist in the current context
PostTran.EDI810_1Reprint.cs(235,21): error CS0103: The name ‘select’ does not exist in the current context
PostTran.EDI810_1Reprint.cs(238,28): error CS0103: The name ‘AsEnumerable’ does not exist in the current context
PostTran.EDI810_1Reprint.cs(239,17): error CS0246: The type or namespace name ‘join’ could not be found (are you missing a using directive or an assembly reference?)
PostTran.EDI810_1Reprint.cs(239,39): error CS0246: The type or namespace name ‘ttInvcHead’ could not be found (are you missing a using directive or an assembly reference?)
PostTran.EDI810_1Reprint.cs(239,55): error CS0103: The name ‘equals’ does not exist in the current context
PostTran.EDI810_1Reprint.cs(240,17): error CS0103: The name ‘where’ does not exist in the current context
PostTran.EDI810_1Reprint.cs(241,17): error CS0103: The name ‘select’ does not exist in the current context
PostTran.EDI810_1Reprint.cs(241,24): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement