Skip to main content

CreatePickingFromProductionOrderMaterials

Create Picking From Production Order Materials

Overview

This procedure creates a Picking from Production order materials (Picking Materials List)

Urlapi/public/FluentisErp/Mes/ProductionOrders/CreatePickingFromProductionOrderMaterials
HTTP MethodPOST
Method TypeOperation
Fluentis ObjectFluentis.FluentisErp.Core.Mes.ProductionOrders.FSPickingMaterialsList

Request parameters

ParameterTypeIs RequiredDefault ValueDescription
ProductionOrderIdintegerNoIdentify Source Production order object using Id
ProductionOrderExternalIdstringNoReference to External Id for Production order identification
ProductionOrderExternalSystemstringNoReference to External System for Production order identification
ProductionOrderYearintegerNoIdentify Source Production order object using the property Year
ProductionOrderNumberintegerNoIdentify Source Production order object using the property Number
ProductionOrderOrderLotshortNoIdentify Source Production order object using the property OrderLot
ProductionOrderTypeCodestringNoIdentify Source Production order object using Code of the FSProductionDocumentType reference
PickingTypeIdintegerNoIdentify the Picking type to be used by Id
PickingTypeCodestringNoIdentify the Picking type to be used by Code
ProductionOrderMaterialsArray of ProductionOrderMaterialIdentificationNoList of materials to be processed.

ProductionOrderMaterialIdentification properties

PropertyTypeIs RequiredDefault ValueDescription
ProductionOrderMaterialIdintegerNoId of the Production order material
ItemIdintegerNoIdentify Source Production order material using the Id of the FSItem referenced object
ItemVariantIdintegerNoIdentify Source Production order material using the Id of the FSItemVariant referenced object
PrioritystringNoIdentify Source Production order material using the property Priority
WarehouseIdintegerNoMaterial proposed warehouseThe Warehouse used for the picking item creation
WarehouseTemplateIdintegerNoMaterial proposed warehouse templateThe Warehouse template used for the picking item creation
QuantitydecimalNoResidual quantityThe 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.