PartServicesFindCustomers Method |
Retrieves one or more customers based on a search string.
The searchCriteria parameter may contain wildcard ("*") specifiers.
If no wildcard specifiers are used, the searchCriteria must match the customer name exactly (not case sensitive).
A searchCriteria of "*" will return all vendors known to the system.
If not items are found, and empty list is returned and not exceptions are thrown.
Namespace:
FactoryLogix.xTend.PartDefinition
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public IEnumerable<Customer> FindCustomers(
Guid sessionId,
string searchCriteria
)
Public Function FindCustomers (
sessionId As Guid,
searchCriteria As String
) As IEnumerable(Of Customer)
public:
virtual IEnumerable<Customer^>^ FindCustomers(
Guid sessionId,
String^ searchCriteria
) sealed
abstract FindCustomers :
sessionId : Guid *
searchCriteria : string -> IEnumerable<Customer>
override FindCustomers :
sessionId : Guid *
searchCriteria : string -> IEnumerable<Customer>
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - searchCriteria
- Type: SystemString
The name of the customer or a search string with wildcard ("*") specifiers.
Return Value
Type:
IEnumerableCustomerA list of
Customer objects which match the search criteria.
Exceptions See Also