Click or drag to resize

PartServicesUpdateVendor Method

Updates an existing vendor definition. If a vendor with the specified Id does not exist, a NotFoundException will be 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 void UpdateVendor(
	Guid sessionId,
	Vendor vendor
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
vendor
Type: FactoryLogix.xTend.DataObjectsVendor
An object representing the vendor to be updated. The Id property of the object must be valid.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
AlreadyExistsExceptionThrown if the vendor name has been changed to a vendor that already exists in the system.
VendorDoesNotExistsExceptionThrown if the specified vendor does not exist in the system.
See Also