CreatePickingFromProductionOrderMaterials
Create Picking From Production Order Materials
Overview
This procedure creates a Picking from Production order materials (Picking Materials List)
Url | api/public/FluentisErp/Mes/ProductionOrders/CreatePickingFromProductionOrderMaterials |
HTTP Method | POST |
Method Type | Operation |
Fluentis Object | Fluentis.FluentisErp.Core.Mes.ProductionOrders.FSPickingMaterialsList |
Request parameters
Parameter | Type | Is Required | Default Value | Description |
---|---|---|---|---|
ProductionOrderId | integer | No | Identify Source Production order object using Id | |
ProductionOrderExternalId | string | No | Reference to External Id for Production order identification | |
ProductionOrderExternalSystem | string | No | Reference to External System for Production order identification | |
ProductionOrderYear | integer | No | Identify Source Production order object using the property Year | |
ProductionOrderNumber | integer | No | Identify Source Production order object using the property Number | |
ProductionOrderOrderLot | short | No | Identify Source Production order object using the property OrderLot | |
ProductionOrderTypeCode | string | No | Identify Source Production order object using Code of the FSProductionDocumentType reference | |
PickingTypeId | integer | No | Identify the Picking type to be used by Id | |
PickingTypeCode | string | No | Identify the Picking type to be used by Code | |
ProductionOrderMaterials | Array of ProductionOrderMaterialIdentification | No | List of materials to be processed. |
ProductionOrderMaterialIdentification properties
Property | Type | Is Required | Default Value | Description |
---|---|---|---|---|
ProductionOrderMaterialId | integer | No | Id of the Production order material | |
ItemId | integer | No | Identify Source Production order material using the Id of the FSItem referenced object | |
ItemVariantId | integer | No | Identify Source Production order material using the Id of the FSItemVariant referenced object | |
Priority | string | No | Identify Source Production order material using the property Priority | |
WarehouseId | integer | No | Material proposed warehouse | The Warehouse used for the picking item creation |
WarehouseTemplateId | integer | No | Material proposed warehouse template | The Warehouse template used for the picking item creation |
Quantity | decimal | No | Residual quantity | The quantity of the picking item |
Production Order Identification
Is enough to specify ProductionOrderId or ProductionOrderExternalId and ProductionOrderExternalSystem or a combination of the following: ProductionOrderYear and ProductionOrderNumber and ProductionOrderOrderLot and ProductionOrderTypeCode. If all of them are specified they need to correspond to the same Production Order.
Picking Type Identification
Picking type is mandatory and can be identified by specifying PickingTypeId or PickingTypeCode. If both of them are specified they need to correspond to the same Picking Type.
Production Order Material Identification
Is enough to specify ProductionOrderMaterialId or a combination of the following: ItemId and ItemVariantId and Priority. If all of them are specified they need to correspond to the same Production Order Material.