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 tags have been implemented:

<RecomputeMaterialsQuantity>True</RecomputeMaterialsQuantity>
<RegisterSignalAfterInsert>True</RegisterSignalAfterInsert>

(the accepted values are: 1, 0, True/true, False/false).

RecomputeMaterialsQuantity - gives the possibility to decide whether or not the quantities of the materials consumed should be recalculated within the production declaration. The default value is True.

RegisterSignalAfterInsert - gives the possibility to automatically register the signal after insert. The default value is False.

Both tags 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>
<RegisterSignalAfterInsert>True</RegisterSignalAfterInsert>
<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>