WorkOrder trantype cant be searched using SOAP

1 Answer(s)

This C# code works for me to query Work Orders via the 2019.1 WSDL:

var workOrderSearch = new TransactionSearch()
{
    basic = new TransactionSearchBasic()
    {
        type = new SearchEnumMultiSelectField()
        {
            @operator = SearchEnumMultiSelectFieldOperator.anyOf,
            @operatorSpecified = true,
            searchValue = new[] {"_workOrder"}
        }
    }
};
var results = ns.search(workOrderSearch);
Rookie Answered on April 7, 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   Limebox   Become a Sponsor