Skip to content

Commit a90b955

Browse files
fivetran-savagefivetran-joemarkiewiczgithub-actions[bot]
authored
reformat_dbt_sap_readme_and_update_yml (#36)
* reformat_dbt_sap_readme_and_update_yml * Update CHANGELOG.md Add PR # to changelog * update_version_in_project.yml * Update CHANGELOG.md Co-authored-by: Joe Markiewicz <[email protected]> * Update CHANGELOG.md Co-authored-by: Joe Markiewicz <[email protected]> * Update README.md Co-authored-by: Joe Markiewicz <[email protected]> * Update README.md Co-authored-by: Joe Markiewicz <[email protected]> * update_changelog_and_extractor_reports_yml * Update README.md Co-authored-by: Joe Markiewicz <[email protected]> * Update CHANGELOG.md Co-authored-by: Joe Markiewicz <[email protected]> * Generate dbt docs via GitHub Actions --------- Co-authored-by: Joe Markiewicz <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b55c1c2 commit a90b955

File tree

7 files changed

+23
-7
lines changed

7 files changed

+23
-7
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# dbt_sap v0.3.1
2+
3+
[PR #36](https://github.com/fivetran/dbt_sap/pull/36) includes the following updates:
4+
5+
## Documentation
6+
- Updated the following column descriptions within the [sap__0fi_gl10](https://fivetran.github.io/dbt_sap/#!/model/model.sap.sap__0fi_gl_10) model: `accumulated_balance` and `turnover`.
7+
- `accumulated_balance` and `turnover` are both initially derived from the hslvt, tslvt, kslvt, and oslvt fields. They represent the balance carried forward from the previous fiscal year and are identical at the beginning of the first fiscal period. However, they diverge as subsequent transactions occur.
8+
- hslvt, tslvt, kslvt, and oslvt are intentionally duplicated and aliased as hsmvt, tsmvt, ksmvt, and osmvt for legacy compatibility purposes.
9+
110
# dbt_sap v0.3.0
211

312
[PR #34](https://github.com/fivetran/dbt_sap/pull/34) includes the following updates:

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@
2626

2727
<!--section=“sap_transformation_model"-->
2828

29-
The following table provides a detailed list of all tables materialized within this package by default.
29+
The following tables provide a detailed list of all tables materialized within this package by default.
3030
> TIP: See more details about these tables in the package's [dbt docs site](https://fivetran.github.io/dbt_sap/#!/overview?g_v=1).
3131
32+
## Extractor Reports
33+
3234
| **Table** | **Description** |
3335
|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
3436
| [sap__0comp_code_attr](https://fivetran.github.io/dbt_sap/#!/model/model.sap.sap__0comp_code_attr) | This model is used for loading company code attributes, extracting from the `t001` data source. |
@@ -42,6 +44,11 @@ The following table provides a detailed list of all tables materialized within t
4244
| [sap__0material_attr](https://fivetran.github.io/dbt_sap/#!/model/model.sap.sap__0material_attr) | This model is used to display material attribute information, originating from the `mara` source. |
4345
| [sap__0vendor_attr](https://fivetran.github.io/dbt_sap/#!/model/model.sap.sap__0vendor_attr) | This model is used to display vendor attributes, originating from the `lfa1` source. |
4446
| [sap__0vendor_text](https://fivetran.github.io/dbt_sap/#!/model/model.sap.sap__0vendor_text) | This model is used to display vendor text, originating from the `lfa1` source. |
47+
48+
## Sales and Procurement
49+
50+
| **Table** | **Description** |
51+
|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
4552
| [sap__dim_customer](https://fivetran.github.io/dbt_sap/#!/model/model.sap.sap__dim_customer) | Represents customer dimension data from the `kna1` source to support dimensional reporting. SAP field names are mapped to English readable column names. |
4653
| [sap__dim_material](https://fivetran.github.io/dbt_sap/#!/model/model.sap.sap__dim_material) | Provides enriched material and material type data by combining attributes from the `mara`, `makt`, `t134`, and `t134t` sources to support dimensional reporting. SAP field names are mapped to English readable column names. |
4754
| [sap__dim_plant](https://fivetran.github.io/dbt_sap/#!/model/model.sap.sap__dim_plant) | Delivers plant-level dimension data from the `t001w` source to support dimensional reporting. SAP field names are mapped to English readable column names. |

dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
config-version: 2
22
name: 'sap'
3-
version: '0.3.0'
3+
version: '0.3.1'
44
require-dbt-version: [">=1.3.0", "<2.0.0"]
55

66
models:

docs/catalog.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/manifest.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

integration_tests/dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'sap_integration_tests'
2-
version: '0.3.0'
2+
version: '0.3.1'
33
profile: 'integration_tests'
44
config-version: 2
55

models/extractor_reports/extractor_reports.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ models:
231231
- name: credit_amount
232232
description: Total credit postings
233233
- name: accumulated_balance
234-
description: Cumulated balance
234+
description: accumulated balance from the previous fiscal period. Value initially derived from hslvt, tslvt, kslvt, or oslvt fields. Will match turnover at the beginning of the first fiscal period of the year
235235
- name: turnover
236-
description: Sales of the period
236+
description: Turnover amount from the previous fiscal period. Value initially derived from aliased hslvt, tslvt, kslvt, or oslvt fields (hsmvt/tsmvt/ksmvt/osmvt). Will match accumulated_value at the beginning of the first fiscal period of the year
237237

238238
- name: sap__0fi_gl_14
239239
description: This model extracts line items from the leading ledger in new General Ledger Accounting.

0 commit comments

Comments
 (0)