PartServicesUpdatePart Method |
Updates an existing part definition.
This may be an internal part definition, a customer part, and manufacturer part, or a vendor part.
The kind of part to be updated is determined by the object type of the part parameter.
The method will fail if the part specified by the part parameter does not presently exist in the system.
Any changes to the CustomFieldValues property of the part will also be committed by this method.
Namespace:
FactoryLogix.xTend.PartDefinition
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public PartBase UpdatePart(
Guid sessionId,
PartBase part
)
Public Function UpdatePart (
sessionId As Guid,
part As PartBase
) As PartBase
public:
virtual PartBase^ UpdatePart(
Guid sessionId,
PartBase^ part
) sealed
abstract UpdatePart :
sessionId : Guid *
part : PartBase -> PartBase
override UpdatePart :
sessionId : Guid *
part : PartBase -> PartBase
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - part
- Type: FactoryLogix.xTend.DataObjectsPartBase
An object derived from type PartBase containing the updated part definition.
and may be of type InternalPart, CustomerPart, ManufacturerPart,
or VendorPart. The Id property of the object must be valid.
Return Value
Type:
PartBaseAn object derived from type
PartBase representing the updated part with a valid Id property.
Exceptions See Also