ItemServicesCreateOrUpdateItem Method |
Updates an existing
Item, or creates a new one if an item matching the specified UID and classification does not already exist.
Namespace:
FactoryLogix.xTend.Logistics
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public Item CreateOrUpdateItem(
Guid sessionId,
Item item
)
Public Function CreateOrUpdateItem (
sessionId As Guid,
item As Item
) As Item
public:
virtual Item^ CreateOrUpdateItem(
Guid sessionId,
Item^ item
) sealed
abstract CreateOrUpdateItem :
sessionId : Guid *
item : Item -> Item
override CreateOrUpdateItem :
sessionId : Guid *
item : Item -> Item
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - item
- Type: FactoryLogix.xTend.DataObjectsItem
An Item object representing the new item to be created or updated.
For new items, the UID, PartNumber, and Classification properties must, at minimum, be populated with valid values.
Return Value
Type:
ItemAn object of type
Item representing the updated or newly created item, with a valid Id property.
Exceptions See Also