Click or drag to resize

PartServicesDeleteManufacturer Method

Deletes a manufacturer definition from the system. If the manufacturer specified has relationships to other data items (such as part definitions), it may not be deleted. If a manufacturer 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 DeleteManufacturer(
	Guid sessionId,
	string manufacturerName
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
manufacturerName
Type: SystemString
The name of the manufacturer to be deleted.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
ManufacturerDoesNotExistsExceptionThrown if the specified manufacturer does not exist in the system.
RelatedItemExceptionThrown if the specified manufacturer cannot be deleted because there are relationships exist to other data items (such as parts, for example).
CannotDeleteExceptionThrown when the manufacturer cannot be deleted.
See Also