Skip to main content

ImportSignalItems

Import Signal Items.

Overview

Urlapi/public/FluentisErp/Mes/ProductionOrders/ImportSignalItems
HTTP MethodPOST
Method TypeImport
Fluentis ObjectFluentis.FluentisErp.Core.Mes.ProductionOrders.FSSignalItem

In ImportSignalItem, the following optional tag has been implemented:

<RecomputeMaterialsQuantity>True</RecomputeMaterialsQuantity>

(which accepts the following values: 1, 0, True/true, False/false and defaults to True).
This tag allows you to decide whether or not the quantities of the materials consumed should be recalculated within the production declaration.
This command must be inserted in the root of the signal item.

Here below there is an example of XML template using the recompute materials quantity tag:

<SignalItem>
<RecomputeMaterialsQuantity>False</RecomputeMaterialsQuantity>
<AlternativeQuantity>1.000000000000000</AlternativeQuantity>
<Date>12/06/2024 11:59</Date>
<IsAutomatic>False</IsAutomatic>
<IsRegistered>False</IsRegistered>
<LabourTime>522.000000000000000</LabourTime>
<MachinesNumber>1.000000000000000</MachinesNumber>
<MachineTime>522.000000000000000</MachineTime>
<Number>2</Number>
<QuantityProduced>1.000000000000000</QuantityProduced>
<ScrappedQuantity>1.000000000000000</ScrappedQuantity>
<SetupTime>0.000000000000000</SetupTime>
<User>Cristian Bucciol</User>
<WorkersNumber>2.000000000000000</WorkersNumber>
<Company>1</Company>
<Department>1</Department>
<Item>
<Code>GRAZIELLA</Code>
<ItemClass>PF</ItemClass>$$ <Id>47687</Id>
</Item>
<LabourGroup>G50</LabourGroup>
<LoadingWarehouse>SP</LoadingWarehouse>
<LoadingWarehouseTemplate>CSL</LoadingWarehouseTemplate>
<Machine>10</Machine>
<ProductionSite>TST</ProductionSite>
<ScrappedWarehouse>DELTA</ScrappedWarehouse>
<ScrappedWarehouseTemplate>DTL</ScrappedWarehouseTemplate>
<SignalState>3</SignalState>
<WorkCenter>992</WorkCenter>
<ProductionOrderPhase>
<Phase>40</Phase>
<Id>82290</Id>
<ProductionOrder>
<Number>369</Number>
<OrderLot>0</OrderLot>
<Year>2024</Year>
</ProductionOrder>
</ProductionOrderPhase>
</SignalItem>