즐겨찾기Isaac Yalcin (VaxCare) 님이 Developers at Dreamforce에 글을 올렸습니다 (최초 질문자: Isaac Yalcin)2023년 2월 16일 오후 2:45Isaac Yalcin"Argument must be in line query" error in Batch Apex class.Hello, Dear Fellow Colleagues,I hope everyone is doing great and coding Apex! :) I have a question and I really would like to understand to solution. Can you please help me with what line 7 gives an error? I made a SOQL, collected my list of opportunities, and passed them in the getQueryLocator. But I got this error. I really would like to understand how to fix this and what the actual argument must be in line query mean. Thank you very much for your time and help in advance. I have copy the entire SOQL from closed parenthesis to close parenthesis and paste it as an argument in getQueryLocator directly and delete the "List<Opporunity> opps = " part. When I do this the error goes away. But I like to know why I cannot pass "opps" as argument?더 보기댓글 추가댓글을 작성하세요...굵은 글꼴기울인 글꼴밑줄취소선불릿 기호 목록번호가 지정된 목록링크 추가코드 블록이미지 삽입파일 첨부링크 URL취소저장0/9000답글 쓰기
Isaac Yalcin"Argument must be in line query" error in Batch Apex class.Hello, Dear Fellow Colleagues,I hope everyone is doing great and coding Apex! :) I have a question and I really would like to understand to solution. Can you please help me with what line 7 gives an error? I made a SOQL, collected my list of opportunities, and passed them in the getQueryLocator. But I got this error. I really would like to understand how to fix this and what the actual argument must be in line query mean. Thank you very much for your time and help in advance. I have copy the entire SOQL from closed parenthesis to close parenthesis and paste it as an argument in getQueryLocator directly and delete the "List<Opporunity> opps = " part. When I do this the error goes away. But I like to know why I cannot pass "opps" as argument?더 보기