0
'N/Search'모듈의 괄호를 사용하여 필터 조건을 추가하고 싶습니다.'N/search'모듈 필터에 괄호가있는 필터 조건을 추가하는 방법
Netsuite의 저장된 검색 옵션 (사용자 인터페이스)에 조건과 함께 괄호 "()"가 추가되었지만 "SuiteScript 2.0 버전"필터 배열에서 괄호 안에 조건을 추가하지 않습니다.
I는 아래 이미지 이런 괄호 내의 조건을 추가 할 :
[1]
[필터 어레이 (SuiteScript)]의 괄호 조건을 필터링하는 방법 [1]! '내 코드 :
filters = [
['custrecord_employee_name', 'is', employeeId], 'AND'
['custrecord_item_category', 'is', ItemCategoryId], 'AND',
['custrecord_commissions_owner', 'is', BookOwnerID], 'AND',
['custrecord_form', 'is', formId], 'AND',
(
['custrecord_from_date', 'onorbefore', createdDate], 'OR'
['custrecord_from_date', 'onorafter', createdDate]
), 'AND',
(
['custrecord_end_date', 'onorbefore', endDate], 'OR',
['custrecord_end_date', 'onorafter', endDate]
)
];
안녕하세요 Erictgrubaugh, Requiement를 기반으로 작업하려고하는 필자의 요구 사항과 함께 필자의 질문을 수정했습니다. –