Open ghost opened 1 year ago
Hi @ropalloni thanks for opening this issue. From my understanding it looks like you are not using the jobs component within Netsuite2. Is that correct?
If so, this may be an easy update to simply add a variable to disable these models if you do not have the jobs component (similar to how you are enabled: false
configuring them for the time being). They also currently do not flow downstream to the transform package so it shouldn't impact any downstream transformations if they are not being leveraged.
Ideally we would include these models within the disable sources section of our README. Are there any other sources that you are currently not using which our package assumes you to have?
Ok thanks. I followed your suggestion thanks. No trouble with other sources.
However, I'm actually having trouble with the (old, NS1) transaction_tax_details table. Apparently it is not in the new NS2 schema. Anyway somehow they should figure out how to link lines and taxes properly since taxes are lines as well.
This is the mapping transaction_tax_details did in NS1
Any hint on this?
hey @ropalloni , as for your second question, i think tax details and transaction lines are linked if you have the SuiteTax feature enabled https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4283867856.html (which we don't have internally)
hi @fivetran-jamie, thanks for this. Very helpful. One last question. Is there any macro in the package to handle the shift of STATUS values from NS1 and NS2. Apparently SuiteQL provides you an internal function to solve the status, see here https://timdietrich.me/blog/netsuite-suiteql-transaction-statuses/
Is there an existing issue for this?
Describe the issue
the package is trying to import a table that does not exist in NS2 schema [JOB]
Relevant error log or model output
Expected behavior
No error
dbt Project configurations
Now is "enabled = false" to avoid error
Package versions
0.7.0
What database are you using dbt with?
snowflake
dbt Version
1.3.2
Additional Context
No response
Are you willing to open a PR to help address this issue?