AccountsPayableOverview
Arquivo SQL de origem - Google Cloud Cortex Data Foundation
Google Cloud Cortex Foudantion - Cortex Reporting - (s4) - AccountsPayableOverview
Visão geral
A visão 'AccountsPayableOverview' é uma visão de relatório que fornece uma visão geral detalhada dos dados de contas a pagar para sistemas SAP. Inclui informações sobre faturas individuais, detalhes do fornecedor, status do pagamento e análise de envelhecimento. Esta visão foi projetada para suportar várias necessidades de relatório e análise, como monitorar o desempenho das contas a pagar, identificar faturas vencidas e analisar a utilização do desconto em dinheiro.
Fontes de Dados
| Tabela/Visão | Descrição |
|---|---|
{{ project_id_tgt }}.{{ dataset_reporting_tgt }}.AccountsPayable |
Esta tabela contém os principais dados de contas a pagar, incluindo detalhes da fatura, informações do fornecedor e status do pagamento. |
{{ project_id_tgt }}.{{ dataset_reporting_tgt }}.AccountsPayableTurnover |
Esta tabela contém dados de rotatividade para contas a pagar, incluindo totais mensais e trimestrais. |
| CashDiscountUtilization | Esta tabela contém informações sobre descontos em dinheiro recebidos para faturas. |
Casos de Uso
- Monitorar o desempenho das contas a pagar, incluindo faturas vencidas e tendências de pagamento.
- Identificar oportunidades para descontos de pagamento antecipado e otimizar o fluxo de caixa.
- Analisar o desempenho do fornecedor e os termos de pagamento.
- Apoiar os requisitos de relatórios financeiros e conformidade.
Lógica da Query
A lógica da consulta combina dados das tabelas 'AccountsPayable', 'AccountsPayableTurnover' e 'CashDiscountUtilization' para fornecer uma visão abrangente das contas a pagar. Ele calcula várias métricas, como valores totais devidos, valores vencidos e utilização de desconto em dinheiro, com base nos dados da fatura e nas informações de pagamento. A consulta também inclui filtros e agrupamentos para organizar os dados por cliente, código da empresa, fornecedor e outras dimensões relevantes.
Possível relação com transações SAP
| Código da Transação | Descrição da Transação |
|---|---|
| FB03 | Exibir Documento |
| FBL1N | Exibir Itens de Linha |
| FBL5N | Itens de Linha do Fornecedor |
| FBL3N | Saldos da Conta do Fornecedor |
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 | |
| CompanyCode_BUKRS | Company Code | |
| CompanyText_BUTXT | Company Text | |
| Name1 | Vendor Name | |
| AccountingDocumentNumber_BELNR | Accounting Document Number | |
| AccountNumberOfVendorOrCreditor_LIFNR | Vendor Account Number | |
| PostingDateInTheDocument_BUDAT | Posting Date | |
| CurrencyKey_WAERS | Source Currency | |
| TargetCurrency_TCURR | Target Currency | |
| DocFiscPeriod | Document Fiscal Period | |
| MonthOfPostingDateInTheDocument_BUDAT | Month of Posting Date | |
| YearOfPostingDateInTheDocument_BUDAT | Year of Posting Date | |
| QuarterOfPostingDateInTheDocument_BUDAT | Quarter of Posting Date | |
| WeekOfPostingDateInTheDocument_BUDAT | Week of Posting Date | |
| ClearingDate_AUGDT | Clearing Date | |
| TotalDueAmountInSourceCurrency | Total Due Amount in Source Currency | |
| TotalDueAmountInTargetCurrency | Total Due Amount in Target Currency | |
| OverdueAmountInSourceCurrency | Overdue Amount in Source Currency | |
| OverdueAmountInTargetCurrency | Overdue Amount in Target Currency | |
| PastDueAmountInSourceCurrency | Past Due Amount in Source Currency | |
| PastDueAmountInTargetCurrency | Past Due Amount in Target Currency | |
| LatePaymentsInSourceCurrency | Late Payments in Source Currency | |
| LatePaymentsInTargetCurrency | Late Payments in Target Currency | |
| UpcomingPaymentsInSourceCurrency | Upcoming Payments in Source Currency | |
| UpcomingPaymentsInTargetCurrency | Upcoming Payments in Target Currency | |
| PotentialPenaltyInSourceCurrency | Potential Penalty in Source Currency | |
| PotentialPenaltyInTargetCurrency | Potential Penalty in Target Currency | |
| AccountsPayableTurnoverInSourceCurrency | Accounts Payable Turnover in Source Currency | |
| AccountsPayableTurnoverInTargetCurrency | Accounts Payable Turnover in Target Currency | |
| CountParkedInvoice | Count of Parked Invoices | |
| ParkedInvoiceAmountInSourceCurrency | Parked Invoice Amount in Source Currency | |
| ParkedInvoiceAmountInTargetCurrency | Parked Invoice Amount in Target Currency | |
| CountBlockedInvoice | Count of Blocked Invoices | |
| BlockedInvoiceAmountInSourceCurrency | Blocked Invoice Amount in Source Currency | |
| BlockedInvoiceAmountInTargetCurrency | Blocked Invoice Amount in Target Currency | |
| TargetCashDiscountInSourceCurrency | Target Cash Discount in Source Currency | |
| TargetCashDiscountInTargetCurrency | Target Cash Discount in Target Currency | |
| CashDiscountReceivedInSourceCurrency | Cash Discount Received in Source Currency | |
| CashDiscountReceivedInTargetCurrency | Cash Discount Received in Target Currency | |
| CashDiscountUtilizationInSourceCurrency | Cash Discount Utilization in Source Currency | |
| CashDiscountUtilizationInTargetCurrency | Cash Discount Utilization in Target Currency |