-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replication key on gl_journal_entries causes incomplete ledger #19
Comments
@robindebois I just came across the same issue when working with Mambu GL Journal Entries endpoint and it seems to me that
I'm not entirely sure, but I guess that I came across this because I realized that every day, a couple of journal entries were not loaded into my database when using INCREMENTAL replication, exactly because the difference between their |
@robindebois I can see that this tap uses neither |
I tried replicating The only solution I can think of for now is swapping replication method from INCREMENTAL to FULL. |
Hi Tom, {
"filterConstraints": [
{
"filterSelection": "CREATION_DATE",
"filterElement": "BETWEEN",
"value": '{gl_journal_entries_from_dt_str}',
"secondValue": "{now_date_str}"
}
]
} As far as my ticket was concerned -- let's step over the intense confusion in which the Mambu documentation leaves me on value/booking and entry dates -- I think both Basically every search iteration, it should always get all the entries made between the most recently captured creation_date and now; and the reason is that all the other dates can be in the past, so occurring before the bookmark in the state file. |
I am not 100% sure if the behaviour displayed by the tap is intentional or accidental; please feel free to discard issue is this was by design.
Expected behaviour
When loading journal entries with the tap I expected to (eventually) end up with all journal entries that are available in Mambu.
Actual behaviour
The tap does an incremental load with the
booking_date
as a replication key. However, there are multiple reasons why the choice of key leads to an incomplete ledger:This also means for accounting purposes this data becomes useless, as the sum of all general ledger accounts doesn't sum to 0 anymore.
Steps to reproduce
How to fix:
As far as I can tell changing the replication key to
creation_date
will resolve it.The text was updated successfully, but these errors were encountered: