TrackingServicesInitializeProducts Method |
Initializes multiple new production units (
Item) into a
Batch.
If the batchId is invalid, or any of the UID's specified are not unique,
none of the
Items will be initialized.
Namespace:
FactoryLogix.xTend.Production
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public IEnumerable<Item> InitializeProducts(
Guid sessionId,
Guid batchId,
string[] UIDs
)
Public Function InitializeProducts (
sessionId As Guid,
batchId As Guid,
UIDs As String()
) As IEnumerable(Of Item)
public:
virtual IEnumerable<Item^>^ InitializeProducts(
Guid sessionId,
Guid batchId,
array<String^>^ UIDs
) sealed
abstract InitializeProducts :
sessionId : Guid *
batchId : Guid *
UIDs : string[] -> IEnumerable<Item>
override InitializeProducts :
sessionId : Guid *
batchId : Guid *
UIDs : string[] -> IEnumerable<Item>
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - batchId
- Type: SystemGuid
The 128-bit unique identifier (Id property) of the Batch. - UIDs
- Type: SystemString
A list of text-based unique identifiers (UID's) for the new Items.
Return Value
Type:
IEnumerableItemA list of
Item objects representing the newly created items that are now associated with the specified
Batch.
Exceptions See Also