Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current Restore this Version View Version History

« Previous Version 3 Current »

Documentação:

Descrição da tabela:

Tabela Fato de apontamento de horas.

Tabelas utilizadas:

  1. SAP.AFRU

  2. SAP.AFVC

  3. SAP.AFKO

  4. SAP.AFPO

Montagem:

  1. Select trazendo todos os campos da AFRU

  2. Join na tabela AFVC, sem trazer nenhum campo, apenas pelas regras de negócio, utilizando como chaves as colunas RUECK e RMZHL das tabelas AFVC e AFRU

  3. Join na tabela AFKO trazendo o campo AUFNR, utilizando como chaves as colunas AUFPL, RUECK e RMZHL das tabelas AFKO e AFVC

  4. Join na tabela AFPO utilizando como chaves a coluna AUFNR das tabelas AFPO e AFKO, trazendo os seguintes campos: AUFNR POSNR PSOBS QUNUM QUPOS PROJN PLNUM STRMP ETRMP KDAUF KDPOS KDEIN BESKZ PSAMG PSMNG WEMNG IAMNG AMEIN MEINS MATNR PAMNG PGMNG KNTTP

  5. Carga incremental utilizando as colunas ERSDA, LAEDA e BUDAT da tabela AFRU com a data do dia

Databricks:

 camada_semantica.apontamento

Documentação de desenvolvimento - Basseto

1 -Data-types 2 - Regra de desenvolvimento