KittingServicesReserveMaterialsWithReasonCode Method |
Imports a generic
PickingList, then reserves the materials. Generic
PickingLists
are not associated with production
Batches. They are used handle other kinds of situations where
materials must be reserved and picked, such as gathering completed units for shipping. 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> ReserveMaterialsWithReasonCode(
Guid sessionId,
string reservationName,
string destinationResource,
string reasonCode,
PickingList pickingList,
bool allowMissingParts,
DateTime transportOrderExecutionTime
)
Public Function ReserveMaterialsWithReasonCode (
sessionId As Guid,
reservationName As String,
destinationResource As String,
reasonCode As String,
pickingList As PickingList,
allowMissingParts As Boolean,
transportOrderExecutionTime As DateTime
) As IEnumerable(Of TransportOrder)
public:
virtual IEnumerable<TransportOrder^>^ ReserveMaterialsWithReasonCode(
Guid sessionId,
String^ reservationName,
String^ destinationResource,
String^ reasonCode,
PickingList^ pickingList,
bool allowMissingParts,
DateTime transportOrderExecutionTime
) sealed
abstract ReserveMaterialsWithReasonCode :
sessionId : Guid *
reservationName : string *
destinationResource : string *
reasonCode : string *
pickingList : PickingList *
allowMissingParts : bool *
transportOrderExecutionTime : DateTime -> IEnumerable<TransportOrder>
override ReserveMaterialsWithReasonCode :
sessionId : Guid *
reservationName : string *
destinationResource : string *
reasonCode : string *
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. - reservationName
- Type: SystemString
A friendly description of this reservation that will be familiar to operators. - destinationResource
- Type: SystemString
The destination for the TransportOrders. The source will be automatically
determined by the system. - reasonCode
- Type: SystemString
A name for a reason code which should be assigned to the generated TransportOrderItems. - pickingList
- Type: FactoryLogix.xTend.DataObjectsPickingList
A PickingList object representing the necessary materials for the reservation. - 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