Pular para conteúdo

InventoryKeyMetrics

Arquivo SQL de origem - Google Cloud Cortex Data Foundation

Google Cloud Cortex Foudantion - Cortex Reporting - (ecc) - InventoryKeyMetrics

Visão geral

Esta visão fornece um relatório de inventário abrangente para sistemas SAP. Ele combina dados de várias tabelas de origem para calcular várias métricas de inventário, incluindo valor do inventário, custo dos produtos vendidos e dias de suprimento. A visão também inclui a funcionalidade de conversão de moeda para converter valores de inventário para uma moeda de destino.

Fontes de Dados

Tabela/Visão Descrição
StockMonthlySnapshots Instantâneos mensais de dados de inventário, incluindo estoque disponível, valor do estoque e quantidades de consumo.
MaterialLedger Dados do razão do material, incluindo custo padrão e preço médio móvel.
SlowMovingThreshold Limiares de inventário de movimentação lenta para diferentes tipos de material.
CurrencyConversion Taxas de conversão de moeda para converter valores de inventário para uma moeda de destino.

Casos de Uso

  • Análise e relatório de inventário
  • Identificação de inventário de movimentação lenta
  • Avaliação de inventário e análise de custos
  • Otimização da cadeia de suprimentos

Lógica da Query

A consulta primeiro calcula várias métricas de inventário, como valor do inventário, custo dos produtos vendidos e dias de suprimento, usando dados das tabelas StockMonthlySnapshots e MaterialLedger. Em seguida, ele une os resultados com a tabela SlowMovingThreshold para identificar itens de inventário de movimentação lenta. Finalmente, ele une os resultados com a tabela CurrencyConversion para converter valores de inventário para uma moeda de destino.

Possível relação com transações SAP

Código da Transação Descrição da Transação
MMBE Exibir mestre de material
MB51 Visão geral do estoque: lista
MB52 Visão geral do estoque: hierarquia
CO09 Exibir razão de material

Linhagem de dados

Em desenvolvimento

Campos da Tabela/Visão

Campo Descrição do Campo Descrição no Dicionário SAP (Em breve)
Client_MANDT Client ID
MaterialNumber_MATNR Material Number
Plant_WERKS Plant
MaterialType_MTART Material Type
DescriptionOfMaterialType_MTBEZ Description of Material Type
MaterialText_MAKTX Material Text
MaterialGroup_MATKL Material Group
MaterialGroupName_WGBEZ Material Group Name
Plant_Name2_NAME2 Plant Name
CompanyCode_BUKRS Company Code
CompanyText_BUTXT Company Text
CountryKey_LAND1 Country Key
LanguageKey_SPRAS Language Key
FiscalYear Fiscal Year
FiscalPeriod Fiscal Period
CalYear Calendar Year
CalMonth Calendar Month
MonthEndDate Month End Date
QuantityMonthlyCumulative Quantity Monthly Cumulative
BaseUnitOfMeasure_MEINS Base Unit of Measure
AmountMonthlyCumulative Amount Monthly Cumulative
CurrencyKey_WAERS Currency Key
StockOnHand Stock On Hand
StockOnHandValue Stock On Hand Value
QuantityIssuedToDelivery Quantity Issued To Delivery
TotalConsumptionQuantity Total Consumption Quantity
ValueOfTotalValuatedStock_SALK3 Value Of Total Valuated Stock
StandardCost_STPRS Standard Cost
MovingAveragePrice_VERPR Moving Average Price
TotalConsumptionQuantityForPastYear Total Consumption Quantity For Past Year
TotalConsumptionQuantityForPastYearTillToday Total Consumption Quantity For Past Year Till Today
DemandPerDayForPastYearTillToday Demand Per Day For Past Year Till Today
CostOfGoodsSoldByMonth Cost Of Goods Sold By Month
InventoryValue Inventory Value
ThresholdValue Threshold Value
InventoryByMonth Inventory By Month
AvgInventoryByMonth Avg Inventory By Month
ExchangeRate_UKURS Exchange Rate
TargetCurrency_TCURR Target Currency
AmountMonthlyCumulativeInTargetCurrency Amount Monthly Cumulative In Target Currency
StockOnHandValueInTargetCurrency Stock On Hand Value In Target Currency
StandardCostInTargetCurrency_STPRS Standard Cost In Target Currency
MovingAveragePriceInTargetCurrency_VERPR Moving Average Price In Target Currency
CostofGoodsSoldInTargetCurrency Costof Goods Sold In Target Currency
InventoryValueInTargetCurrency Inventory Value In Target Currency
InventoryByMonthInTargetCurrency Inventory By Month In Target Currency
AvgInventoryByMonthInTargetCurrency Avg Inventory By Month In Target Currency
ValueOfTotalValuatedStockInTargetCurrency_SALK3 Value Of Total Valuated Stock In Target Currency
SlowMovingInventoryAsOfPreviousMonthInTargetCurrency Slow Moving Inventory As Of Previous Month In Target Currency
DaysOfSupplyAsOfToday Days Of Supply As Of Today
SlowMovingIndicatorAsOfPreviousMonth Slow Moving Indicator As Of Previous Month
SlowMovingInventoryAsOfPreviousMonthInSourceCurrency Slow Moving Inventory As Of Previous Month In Source Currency
InventoryTurnByMonth Inventory Turn By Month

Comentários