KittingServicesReserveMaterialsForBatchWithPickingList Method |
Imports the specified
PickingList to the specified
Batch then
reserves the materials. Once materials are reserved,
TransportOrders will be
automatically generated by the system for the reserved materials.
Namespace:
FactoryLogix.xTend.Logistics
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public IEnumerable<TransportOrder> ReserveMaterialsForBatchWithPickingList(
Guid sessionId,
Guid batchId,
PickingList pickingList,
bool allowMissingParts,
DateTime transportOrderExecutionTime
)
Public Function ReserveMaterialsForBatchWithPickingList (
sessionId As Guid,
batchId As Guid,
pickingList As PickingList,
allowMissingParts As Boolean,
transportOrderExecutionTime As DateTime
) As IEnumerable(Of TransportOrder)
public:
virtual IEnumerable<TransportOrder^>^ ReserveMaterialsForBatchWithPickingList(
Guid sessionId,
Guid batchId,
PickingList^ pickingList,
bool allowMissingParts,
DateTime transportOrderExecutionTime
) sealed
abstract ReserveMaterialsForBatchWithPickingList :
sessionId : Guid *
batchId : Guid *
pickingList : PickingList *
allowMissingParts : bool *
transportOrderExecutionTime : DateTime -> IEnumerable<TransportOrder>
override ReserveMaterialsForBatchWithPickingList :
sessionId : Guid *
batchId : Guid *
pickingList : PickingList *
allowMissingParts : bool *
transportOrderExecutionTime : DateTime -> IEnumerable<TransportOrder>
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - batchId
- Type: SystemGuid
The Id of the Batch - pickingList
- Type: FactoryLogix.xTend.DataObjectsPickingList
A PickingList object representing the necessary materials for the Batch. - allowMissingParts
- Type: SystemBoolean
When false, the method will fail if all materials cannot be reserved.
When true, the system will reseeve as much material as possible, and generate a "missing parts"
TransportOrder for any parts that were unable to be reserved. - transportOrderExecutionTime
- Type: SystemDateTime
The date and time any generated transport orders are required to be executed.
Return Value
Type:
IEnumerableTransportOrderA list of the
TransportOrders that were generated for the reserved materials.
Exceptions See Also