Validate Locations using SOAP request


I am trying to filter using subsidiary in the Location record using SOAP request.but it’s not working .getting is is not legal operator

Could you pls advise me.

<search xmlns=””>
<searchRecord xmlns:q1=”” xsi:type=”q1:LocationSearch”>
<subsidiary operator=”is” xmlns=””>
<searchValue xmlns=””>USA</searchValue>

Beginner Asked on July 22, 2021 in SuiteTalk.
Add Comment
1 Answer(s)

Could you please try:

<subsidiary operator=”anyof” xmlns=””>

Intermediate Answered on August 3, 2021.

Thanks for the assist, but is it possible to validate Using the Subsidiary Name replacing of Subsidiary Id?

on August 4, 2021.

Unfortunately, the answer is no.  If you are using the suitetalk soap api, you can only use the internalId.   If you want to use the REST api, you can drop a suiteql query where you can do a join and match on the name.

on October 6, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor