Ejecución del agente InventorySnapshot
El agente
InventorySnapshot proporciona una instantánea del panorama de su inventario y le ayuda a sincronizar los suministros y las demandas con Sterling™ Intelligent Promising Inventory Visibility.Nota:
- Antes de ejecutar el agente de
InventorySnapshotpara sincronizar suministros y demandas con Sterling Intelligent Promising Inventory Visibility, ejecute los agentes siguientes:Inventory Purgepara mejorar el rendimiento del agente de instantáneas reduciendo las llamadas innecesarias a Sterling Intelligent Promising Inventory Visibility.- Consolide el agente de inventario adicional para consolidar la cantidad en la demanda y suministre registros adicionales de nuevo en la base
YFS_INVENTORY_DEMANDoYFS_INVENTORY_SUPPLYlas tablas.Para obtener más información sobre el agente Consolidar inventario adicional, consulte
Consolidate Additional Inventory.
- Durante el tiempo de inactividad, ejecute el agente
InventorySnapShotpara evitar incoherencias de datos.
Atributos
| Atributo | Descripción | Valor predeterminado |
|---|---|---|
NumberOfObjectsPerJob |
El número de objetos que se van a procesar por lotes en el suceso. | 100 |
NumberOfRecordsToBuffer |
Número de registros a recuperar y procesar a la vez. | 5.000 |
| Objecto | El objeto para sincronizar la oferta o la demanda. | Suministro |
Las consultas de suministro de getJobs se ordenan por Inventory_Supply_Key. El getJobs continúa desde el último mensaje que contiene el último inventory_supply_key. Cada trabajo es una colección de suministros de NumberOfObjectsPerJob .
El
executeJob genera el suceso SUPPLY_SYNC para los suministros como se indica a continuación:<Supplies>
<Supply ETA="" InventoryItemKey="" InventoryOrganizationCode="" ItemID="" OwnerKey="" Quantity="" Segment=""
SegmentType="" ShipByDate="" ShipNode="" SourceTs="" SupplyLineReference=""
SupplyReference="" SupplyReferenceType="" SupplyType="" UnitOfMeasure="">
<Tag BatchNo="" LotAttribute1="" LotAttribute2="" LotAttribute3="" LotKeyReference=""
LotNumber="" ManufacturingDate="" RevisionNo=""/>
</Supply>
</Supplies>Si
iv_integration.inventory.enableTagSupport se establece en true, el executeJob genera el SUPPLY_SYNC evento para los suministros de la siguiente manera:<Supplies>
<Supply ActualSupplyReferenceType="" ActualSupplyReference="" ETA="" InventoryItemKey=""
InventoryOrganizationCode="" ItemID=""
OwnerKey="" ProductClass="" Quantity="" Segment="" SegmentType="" ShipByDate=""
ShipNode="" SupplyLineReference="" SupplyReference="" SupplyReferenceType=""
SupplyType="" UnitOfMeasure="" SourceTs="">
<InventoryTag BatchNo="" LotKeyReference="" LotNumber="" ManufacturingDate="" RevisionNo=""
TagNumber="">
<Identifiers>
<Attribute Name="" />
</Identifiers>
<CustomAttributes LotAttribute1="" LotAttribute2="" LotAttribute3="" />
</InventoryTag>
</Supply>
</Supplies>
| Atributo | Descripción | Valor predeterminado |
|---|---|---|
|
El número de objetos que se van a procesar por lotes en el suceso. | 100 |
|
Número de registros a recuperar y procesar a la vez. | 5.000 |
| Objecto | El objeto para sincronizar la oferta o la demanda. | Demanda |
| Atributo | Descripción | Valor predeterminado |
|---|---|---|
NumberOfObjectsPerJob |
El número de objetos que se van a procesar por lotes en el suceso. | 100 |
NumberOfRecordsToBuffer |
Número de registros a recuperar y procesar a la vez. | 5.000 |
| Objecto | El objeto para sincronizar la oferta o la demanda. | Demanda |
Las consultas de getJobs para YFS_Inventory_Demand se ordenan por Inventory_Demand_Key. El getJobs continúa desde el último mensaje que contiene la última clave de demanda de inventario. Cada trabajo es una colección de demandas de NumberOfObjectsPerJob .
El
executeJob genera el suceso DEMAND_SYNC para las demandas de la siguiente manera:<Demands>
<Demand DemandCancelDate="" DemandReference="" DemandReferenceType="" DemandShipDate=""
DemandType="" InventoryItemKey="" InventoryOrganizationCode="" ItemID="" MinShipByDate=""
ProductClass="" Quantity="" Segment="" SegmentType="" ShipNode="" SourceTs="" UnitOfMeasure="">
<Tag BatchNo="" LotAttribute1="" LotAttribute2="" LotAttribute3="" LotKeyReference=""
LotNumber="" ManufacturingDate="" RevisionNo=""/>
</Demand>
</Demands>Si
iv_integration.inventory.enableTagSupport se establece en true, el executeJob genera el DEMAND_SYNC evento para las demandas de la siguiente manera:<Demands>
<Demand DemandCancelDate="" DemandReference="" DemandReferenceType=""
DemandShipDate="" DemandType="" InventoryItemKey=""
InventoryOrganizationCode="" ItemID="" MinShipByDate=""
OwnerKey="" ProductClass="" Quantity="" Segment="" SegmentType=""
ShipNode="" UnitOfMeasure="" SourceTs="">
<InventoryTag BatchNo="" LotNumber="" RevisionNo="" TagNumber="">
<Identifiers>
<Attribute Name="" />
</Identifiers>
</InventoryTag>
</Demand>
</Demands>Nota:
- Ejecute el agente Consolidar inventario adicional antes de ejecutar el
InventorySnapShotagente. - Ejecute el
InventorySnapShotagente durante el tiempo de inactividad para evitar inconsistencias en los datos.
Estadísticas rastreadas
Ninguna.
Número de trabajos pendientes
Ninguna.
Sucesos generados
Habilite los sucesos siguientes a nivel de concentrador.
| Transacción/suceso | Datos clave | Datos publicados | Soporte de plantilla |
|---|---|---|---|
INV_SNAPSHOT.SUPPLY_SYNC |
Ninguno | INV_SNAPSHOT.SUPPLY_SYNC.xml | Sí |
INV_SNAPSHOT.DEMAND_SYNC |
Ninguno | INV_SNAPSHOT.DEMAND_SYNC.xml | Sí |
Resolución de problemas-Limpieza de demandas negativas adicionales antes de ejecutar el agente InventorySnapshot
Normalmente, hay un único registro de demanda y suministro en las tablas
YFS_INVENTORY_DEMANDYFS_INVENTORY_SUPPLY y respectivamente para una combinación determinada de identificadores únicos. Sin embargo, en determinados casos, es posible que existan varios registros de este tipo en las tablas anteriores para la misma combinación de identificadores exclusivos. En tales casos, debe hacer lo siguiente para limpiar las demandas negativas adicionales antes de ejecutar el InventorySnapshot agente:- Establezca la propiedad
yfs.purge.MergeDemandSupplyMultiRec=truey ejecute el agenteInventory Purge. - Establezca la propiedad
yfs.inventorySnapshot.DemandSupplyMultiRec=true.