SELECT "L_HAPI"."NAME" as COMMENTNAME FROM "APINVOICE" LEFT OUTER JOIN "L_HAPI" ON "APINVOICE"."L_INDEX"="L_HAPI"."L_INDEX" WHERE "APINVOICE"."VENDOR"=<!--tailVEND--> AND "APINVOICE"."INVOICE"='<!--eckQ_INVOI-->' AND "APINVOICE"."COMPANY"=<!--eckQ_COMPA--> ORDER BY "APINVOICE"."INVOICE_DTE", "APINVOICE"."VENDOR" Some brief history: I have a flow that runs whenever we run a AP160 to send ACH's. The flow works from start to finish, but for this node. There is a node that queries and pulls out comments that were made and puts them in the email as well from the L_HAPI table. Below is what the log looks like when it runs and attached is the same SQL when I run it in SQL Server. Has anyone run into anything like this and if so, HELP ME!!!!!!! I have bene fighting this for the past couple of days off and on and it is ridiculous! Executing Branch Activity Branch4240..... Pushing CommentQ Activity in Execution Stack Executing SQL Query Activity CommentQ.....SELECT "L_HAPI"."NAME" as COMMENTNAME FROM "APINVOICE" LEFT OUTER JOIN "L_HAPI" ON "APINVOICE"."L_INDEX"="L_HAPI"."L_INDEX" WHERE "APINVOICE"."VENDOR"=<!--tailVEND--> AND "APINVOICE"."INVOICE"='<!--eckQ_INVOI-->' AND "APINVOICE"."COMPANY"=<!--eckQ_COMPA--> ORDER BY "APINVOICE"."INVOICE_DTE", "APINVOICE"."VENDOR" Executing Sql ..... SELECT "L_HAPI"."NAME" as COMMENTNAME FROM "APINVOICE" LEFT OUTER JOIN "L_HAPI" ON "APINVOICE"."L_INDEX"="L_HAPI"."L_INDEX" WHERE "APINVOICE"."VENDOR"=71 AND "APINVOICE"."INVOICE"='A TEST OF NO COMMENTS' AND "APINVOICE"."COMPANY"=9400 ORDER BY "APINVOICE"."INVOICE_DTE", "APINVOICE"."VENDOR" CommentQ_RETURN_MSG = Success CommentQ_RETURN_CODE = 0 CommentQ_errorCode = 0 CommentQ_informationCode = 0 CommentQ_returnMessage = SQL query complete. CommentQ_outputData = CommentQ_RECORD_COUNT = 1 Executing Iteration Start Activity (loop 1 of 1 )..... CommentQ_1 = null CommentQ_1_1 = null CommentQ_COMMENTNAME = null CommentQ_COMMENTNAME_1 = null Evaluating JavaScript: sTmpCommentValue=CommentQ_COMMENTNAME if(sTmpCommentValue==null) { sTmpCommentValue = "" } if(sTmpCommentValue=="undefined") { sTmpCommentValue = "" } if(sTmpCommentValue!="") { sCommentValue = sCommentValue + " " + sTmpCommentValue + "" } else { sCommentValue = "N/A" }
Executing Branch Activity Branch4240..... Pushing CommentQ Activity in Execution Stack Executing SQL Query Activity CommentQ.....SELECT "L_HAPI"."NAME" as COMMENTNAME FROM "APINVOICE" LEFT OUTER JOIN "L_HAPI" ON "APINVOICE"."L_INDEX"="L_HAPI"."L_INDEX" WHERE "APINVOICE"."VENDOR"=<!--tailVEND--> AND "APINVOICE"."INVOICE"='<!--eckQ_INVOI-->' AND "APINVOICE"."COMPANY"=<!--eckQ_COMPA--> ORDER BY "APINVOICE"."INVOICE_DTE", "APINVOICE"."VENDOR"
Executing Sql ..... SELECT "L_HAPI"."NAME" as COMMENTNAME FROM "APINVOICE" LEFT OUTER JOIN "L_HAPI" ON "APINVOICE"."L_INDEX"="L_HAPI"."L_INDEX" WHERE "APINVOICE"."VENDOR"=71 AND "APINVOICE"."INVOICE"='A TEST OF NO COMMENTS' AND "APINVOICE"."COMPANY"=9400 ORDER BY "APINVOICE"."INVOICE_DTE", "APINVOICE"."VENDOR" CommentQ_RETURN_MSG = Success CommentQ_RETURN_CODE = 0 CommentQ_errorCode = 0 CommentQ_informationCode = 0 CommentQ_returnMessage = SQL query complete. CommentQ_outputData = CommentQ_RECORD_COUNT = 1 Executing Iteration Start Activity (loop 1 of 1 )..... CommentQ_1 = null CommentQ_1_1 = null CommentQ_COMMENTNAME = null CommentQ_COMMENTNAME_1 = null Evaluating JavaScript: sTmpCommentValue=CommentQ_COMMENTNAME if(sTmpCommentValue==null) { sTmpCommentValue = "" } if(sTmpCommentValue=="undefined") { sTmpCommentValue = "" } if(sTmpCommentValue!="") { sCommentValue = sCommentValue + "