KittingServicesReserveMaterialsForBatchGroup Method |
Reserves a single set of materials for the specified
Batches based on their current picking lists.
If a picking list does not presently exist for one or more of the
Batches, the system
will attempt to generate them automatically based upon their
Process and
BOM.
Once materials are reserved,
TransportOrders will be automatically generated by the system
for the reserved materials. The system generates a single set of reservations and
TransportOrders
for ALL batches, NOT one set for each
Batch.
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> ReserveMaterialsForBatchGroup(
Guid sessionId,
Guid[] batchIds,
bool allowMissingParts,
DateTime transportOrderExecutionTime
)
Public Function ReserveMaterialsForBatchGroup (
sessionId As Guid,
batchIds As Guid(),
allowMissingParts As Boolean,
transportOrderExecutionTime As DateTime
) As IEnumerable(Of TransportOrder)
public:
virtual IEnumerable<TransportOrder^>^ ReserveMaterialsForBatchGroup(
Guid sessionId,
array<Guid>^ batchIds,
bool allowMissingParts,
DateTime transportOrderExecutionTime
) sealed
abstract ReserveMaterialsForBatchGroup :
sessionId : Guid *
batchIds : Guid[] *
allowMissingParts : bool *
transportOrderExecutionTime : DateTime -> IEnumerable<TransportOrder>
override ReserveMaterialsForBatchGroup :
sessionId : Guid *
batchIds : Guid[] *
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. - batchIds
- Type: SystemGuid
A list the Id's of the Batches - 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