TrackingServicesInitializeMaterials Method  | 
 
            Initializes multiple new materials (
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.254.0.0 (8.254.0.0)
Syntaxpublic IEnumerable<Item> InitializeMaterials(
	Guid sessionId,
	Guid batchId,
	InitializationItem[] UIDs
)
Public Function InitializeMaterials ( 
	sessionId As Guid,
	batchId As Guid,
	UIDs As InitializationItem()
) As IEnumerable(Of Item)
public:
virtual IEnumerable<Item^>^ InitializeMaterials(
	Guid sessionId, 
	Guid batchId, 
	array<InitializationItem^>^ UIDs
) sealed
abstract InitializeMaterials : 
        sessionId : Guid * 
        batchId : Guid * 
        UIDs : InitializationItem[] -> IEnumerable<Item> 
override InitializeMaterials : 
        sessionId : Guid * 
        batchId : Guid * 
        UIDs : InitializationItem[] -> 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: FactoryLogix.xTend.DataObjectsInitializationItem
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