# Automatic Consumptions ## Overview Automatically Combine Material Consumptions. 1. Allow the User to Turn On or Off the Combine Functionality 2. Allow the User to specify the combine type (Panel or Board) ### Relevant Artifacts The table below describes the properties for this entity type: | Name | Type | Is Mandatory | Data Type | Description | | :---------------------------------------------------------------------------- | :---------- | :----------: | :-------- | :---------------------------------------------------------------------------------------------------------------------------------------- | | IoTMetadataDefinition | SmartTable | Yes | - | Metadata configuration for equipment integration | | SMTConventionContext | Smart Table | Yes | - | SmartTable to get custom convention Product. | | SMTMapBoardIDContext | Smart Table | Yes | - | SmartTable to resolve and allow mapping of board | | [IoTFujiNeximPcbCheckOut](../../../artifacts/dees.md#iotfujineximpcbcheckout) | DEE | Yes | | Its purpose is to report material consumption through combine operations, track component losses, and update reel quantities accordingly. | ### How It Works The system checks if the feature `UseFujiToCombine` is set to `true` for the MES Area in the `ST_IoTMetadataDefinition` SmartTable. If the feature is enabled: - The DEE [IoTFujiNeximPcbCheckOut](../../../artifacts/dees.md#iotfujineximpcbcheckout) is called to **combine the store consumptions**. If the feature is not enabled: - The combine operation is bypassed. - An acknowledgment with result `OK` is sent back to the equipment. ### Assumptions SmartTable IoTMetadataDefinition is configured with the following entry for each station: | Resource | ResourceType | Area | Name | Value | | --------------------------- | ------------ | -------------- | ----------------------------------------------------------------------------- | --------------------- | | | | Fuji Line Area | UseFujiToCombine | True | | | | Fuji Line Area | CombineMaterialType | _CombineMaterialType_ | | MES Fuji Station X Resource | | | FUJI*LineNameMachineNameNoModules*{EquipmentLineName}\_{EquipmentMachineName} | _No of modules_ |