In creating this package, which is meant for a wide range of use cases, we had to take opinionated stances on a few different questions we came across during development. We've consolidated significant choices we made here, and will continue to update as the package evolves.
In the int_netsuite2_tran_with_converted_amounts
/int_netsuite2_tran_with_converted_amounts
models, account types are bucketed into broader account categories. We bucket account types through a case when
statement that hard-codes the mapping of each account type into its appropriate category. Thus, because this is hard-coded, we have added an accepted_values
test on the transaction detail end models. It will raise a warning if unexpected account types are encountered.
As mentioned above, in the int_netsuite2_tran_with_converted_amounts
/int_netsuite2_tran_with_converted_amounts
models, account types are bucketed into broader account categories. There is no standard category for Non Posting
and Statistical
account types and transactions from these kinds of accounts are excluded from all financial reports. However, they are used for other workflows in Netsuite, so we have bucketed Non Posting
and Statistical
account types into a new Other
account category.