Getting error [DATATYPE_MISMATCH.BINARY_OP_DIFF_TYPES]

georgian2133
New Contributor

[DATATYPE_MISMATCH.BINARY_OP_DIFF_TYPES] Cannot resolve "(DocDate AND orderedhl)" due to data type mismatch: the left and right operands of the binary operator have incompatible types ("STRING" and "DECIMAL(38,6)").; line 67, pos 0

66. group by 

67. ord.DocDate

68. and ord.orderedhl

69. and ord.plant

70. and ord.sku