Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Complex Query using SOAP ContractServiceV2
Hi,
I hope you can help me, I'm trying to get all active contracts filtering for a especific DFF value at line level.
Something like this:
Select *
from contract_table ct,
contract_lines ctl
where 1 = 1
and ct.contract_number = 4003
and ct.status = 'ACTIVE'
and ct.contract_id = ctl.contract_line
and ctl.attribute8 in (value1, value2) --tvsaPoid
But Using the SOAP ContractServiceV2 -> findContract operation:
I built the next payload (unfortunly it's not working):
<ns2:filter>
<ns2:group>
<ns2:conjunction>And</ns2:conjunction>
<ns2:upperCaseCompare/>
<ns2:item>
<ns2:conjunction>And</ns2:conjunction>
<ns2:upperCaseCompare/>
<ns2:attribute>ContractNumber</ns2:attribute>
<ns2:operator>=</ns2:operator>