Click or drag to resize

PartServicesDeleteCustomer Method

Deletes a customer definition from the system. If the customer specified has relationships to other data items (such as part definitions), it may not be deleted. If a customer with the specified name already exists, a AlreadyExistsException will be thrown.

Namespace:  FactoryLogix.xTend.PartDefinition
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public void DeleteCustomer(
	Guid sessionId,
	string customerName
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
customerName
Type: SystemString
The name of the customer to be deleted.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
CustomerDoesNotExistsExceptionThrown if the specified customer does not exist in the system.
See Also