Skip to content

[Bug] Roll RE on to_subsidiary fiscal calendar #182

@jmongerlyra

Description

@jmongerlyra

Is there an existing issue for this?

  • I have searched the existing issues

Describe the issue

Current balance sheet model (v1.1.0) has net income rolling into retained earnings based on the root parent's fiscal calendar. In NetSuite, the retained earnings rollforward is dependent on fiscal calendar assigned to the to_subsidiary.

See NetSuite documentation here

Relevant error log or model output

n/a

Expected behavior

Retained earnings rollforward should be dependent on fiscal calendar assigned to the to_subsidiary rather than forcing the root parent.

Possible solution

See related PR.

dbt Project configurations

netsuite2__multibook_accounting_enabled: true
netsuite2__using_to_subsidiary: true
netsuite2__fiscal_calendar_enabled: true

Package versions

packages:

  • package: fivetran/fivetran_utils
    version: [">=0.4.0", "<0.5.0"]

  • package: dbt-labs/spark_utils
    version: [">=0.3.0", "<0.4.0"]

What database are you using dbt with?

snowflake

How are you running this dbt package?

dbt Core™

dbt Version

1.7.14

Additional Context

No response

Are you willing to open a PR to help address this issue?

  • Yes.
  • Yes, but I will need assistance.
  • No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething is broken or incorrect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions