Click or drag to resize

ReceivingServicesCloseGRN Method

This method closes GRN batch if it can be closed.

Namespace:  FactoryLogix.xTend.Logistics
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public void CloseGRN(
	Guid sessionId,
	Batch batch
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
batch
Type: FactoryLogix.xTend.DataObjectsBatch
The GRN Batch which need to be closed
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the batch is invalid.
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
BatchExceptionThrown if the batch cannot be found or it is not a GRN or it cannot be closed.
BatchNotFoundExceptionThrown if the provided batch does not exist in FLx.
See Also