TrackingServicesChangeBatch Method  | 
 
            Allows a ChangeBatch for a serialized unit the same as if the task were performed manually in the Change Product feature in the Production Portal.
            
 
    Namespace: 
   FactoryLogix.xTend.Production
    Assembly:
   FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.254.0.0 (8.254.0.0)
Syntaxpublic void ChangeBatch(
	Guid sessionId,
	string UID,
	Guid targetBatchId,
	Nullable<Guid> targetOperationId = null,
	Nullable<Guid> exitPathwayId = null,
	string statusCode = null
)
Public Sub ChangeBatch ( 
	sessionId As Guid,
	UID As String,
	targetBatchId As Guid,
	Optional targetOperationId As Nullable(Of Guid) = Nothing,
	Optional exitPathwayId As Nullable(Of Guid) = Nothing,
	Optional statusCode As String = Nothing
)
public:
virtual void ChangeBatch(
	Guid sessionId, 
	String^ UID, 
	Guid targetBatchId, 
	Nullable<Guid> targetOperationId = nullptr, 
	Nullable<Guid> exitPathwayId = nullptr, 
	String^ statusCode = nullptr
) sealed
abstract ChangeBatch : 
        sessionId : Guid * 
        UID : string * 
        targetBatchId : Guid * 
        ?targetOperationId : Nullable<Guid> * 
        ?exitPathwayId : Nullable<Guid> * 
        ?statusCode : string 
(* Defaults:
        let _targetOperationId = defaultArg targetOperationId null
        let _exitPathwayId = defaultArg exitPathwayId null
        let _statusCode = defaultArg statusCode null
*)
-> unit 
override ChangeBatch : 
        sessionId : Guid * 
        UID : string * 
        targetBatchId : Guid * 
        ?targetOperationId : Nullable<Guid> * 
        ?exitPathwayId : Nullable<Guid> * 
        ?statusCode : string 
(* Defaults:
        let _targetOperationId = defaultArg targetOperationId null
        let _exitPathwayId = defaultArg exitPathwayId null
        let _statusCode = defaultArg statusCode null
*)
-> unit Parameters
- sessionId
 - Type: SystemGuid
 - UID
 - Type: SystemString
 - targetBatchId
 - Type: SystemGuid
 - targetOperationId (Optional)
 - Type: SystemNullableGuid
 - exitPathwayId (Optional)
 - Type: SystemNullableGuid
 - statusCode (Optional)
 - Type: SystemString
 
Exceptions
See Also