Skip to content

Conversation

fivetran-joemarkiewicz
Copy link
Contributor

@fivetran-joemarkiewicz fivetran-joemarkiewicz commented Mar 31, 2025

PR Overview

This PR will address the following Issue/Feature: dbt_netsuite Issue #159

Submission Checklist

Submitter:

  • Alignment meeting with the reviewer
  • Provide validation details:
    • Please see internal ticket for validations
  • Docs will be regenerated after approval

Reviewer:

  • Confirm submission requirements are met

@fivetran-joemarkiewicz fivetran-joemarkiewicz marked this pull request as ready for review March 31, 2025 22:31
Copy link
Contributor

@fivetran-catfritz fivetran-catfritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Copy link
Contributor

@fivetran-catfritz fivetran-catfritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a suggestion, but otherwise lgtm!

CHANGELOG.md Outdated

## Breaking Schema Changes
- Added optional `fiscalcalendar` source table to support accurate fiscal year start dates (currently defaulted to calendar year). This table and related models (`stg_netsuite2__fiscal_calendar_tmp` and `stg_netsuite2__fiscal_calendar`) are disabled by default.
- To enable: turn on the fiscalcalendar table in the connection schema tab.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add something this is for Quickstart users.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

# dbt_netsuite_source v0.12.0

## Breaking Schema Changes
- Added optional `fiscalcalendar` source table to support accurate fiscal year start dates (currently defaulted to calendar year). This table and related models (`stg_netsuite2__fiscal_calendar_tmp` and `stg_netsuite2__fiscal_calendar`) are disabled by default. To enable this feature:
Copy link
Contributor

@fivetran-avinash fivetran-avinash Apr 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Added optional `fiscalcalendar` source table to support accurate fiscal year start dates (currently defaulted to calendar year). This table and related models (`stg_netsuite2__fiscal_calendar_tmp` and `stg_netsuite2__fiscal_calendar`) are disabled by default. To enable this feature:
- Added optional `fiscalcalendar` source table to support accurate fiscal year start dates (currently defaulted to calendar year). This table and related models (`stg_netsuite2__fiscal_calendar_tmp` and `stg_netsuite2__fiscal_calendar`) are disabled by default. ([PR #61](https://github.com/fivetran/dbt_netsuite_source/pull/61))
- To enable this feature:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"PR" added, but I prefer the structure where each individual update is detailing a change and how to take advantage of it. Keeping the "To enable this feature:" within the same primary bullet as before and letting the sub-bullets be the enable steps.

CHANGELOG.md Outdated
- dbt Core users: enable the fiscalcalendar table in the connection schema tab and also set the `netsuite2__fiscal_calendar_enabled` variable to true (default is false).

## Documentation
- Corrected references to connectors and connections in the README. ([#60](https://github.com/fivetran/dbt_netsuite_source/pull/60))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Corrected references to connectors and connections in the README. ([#60](https://github.com/fivetran/dbt_netsuite_source/pull/60))
- Corrected references to connectors and connections in the README. ([PR #60](https://github.com/fivetran/dbt_netsuite_source/pull/60))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated


## Breaking Schema Changes
- Added optional `fiscalcalendar` source table to support accurate fiscal year start dates (currently defaulted to calendar year). This table and related models (`stg_netsuite2__fiscal_calendar_tmp` and `stg_netsuite2__fiscal_calendar`) are disabled by default. To enable this feature:
- Quickstart users: enable the fiscalcalendar table in the connection schema tab.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed in the Fivetran schema tab this table is capitalized as FiscalCalendar. Should we update with this casing syntax or do we think this is ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fine since this is how the table will look in the destination. As long as the casing is the same in the downstream quickstart.yml that's what really matters.

- name: fiscal_month
description: The starting month of the fiscal calendar (e.g., JAN for January, APR for April).
- name: is_default
description: "Boolean flag indicating whether this is the default fiscal calendar.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: "Boolean flag indicating whether this is the default fiscal calendar.
description: Boolean flag indicating whether this is the default fiscal calendar.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. Thanks for catching!

Copy link
Contributor

@fivetran-avinash fivetran-avinash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fivetran-joemarkiewicz A few suggestions, nothing blocking, lgtm.

@fivetran-joemarkiewicz fivetran-joemarkiewicz merged commit a126283 into main Apr 16, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants