CreateMovementsFromProductionOrderMaterials
Create Movements From ProductionOrderMaterials
Overview
This procedure creates Warehouse Movements from Production order materials (Picking Materials List)
Url | api/public/FluentisErp/Mes/ProductionOrders/CreateMovementsFromProductionOrderMaterials |
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 | |
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 movements creation |
WarehouseTemplateId | integer | No | Material proposed warehouse template | The Warehouse template used for the movements creation |
Quantity | decimal | No | Residual quantity | The quantity of the movement |
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.
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.