Click or drag to resize

BatchServicesGetBatchApproval Method

Retrieves a list of the approvals associated with the specified Batch. This includes the historical records of actions taken by individual users against these approvals.

Namespace:  FactoryLogix.xTend.Production
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public ApprovalItem GetBatchApproval(
	Guid sessionId,
	Guid batchId
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
batchId
Type: SystemGuid
The unique identifier (ID) of the Batch whose approvals are being requested.

Return Value

Type: ApprovalItem
An ApprovalItem object representing the approvals associated with the specified Batch, or null if there are no approvals for the Batch.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
BatchNotFoundExceptionAn existing batch with matching Id property was not found in the system.
See Also