Skip to content

Instantly share code, notes, and snippets.

@qr8r
Last active May 9, 2019 20:00
Show Gist options
  • Select an option

  • Save qr8r/0382fb8caa8d88242b9f01b8c753317e to your computer and use it in GitHub Desktop.

Select an option

Save qr8r/0382fb8caa8d88242b9f01b8c753317e to your computer and use it in GitHub Desktop.
Some edge case examples for the contract id backfill

Example of Shop with Demo contracts

payable - 666080606 contract ids - 2352807,6900673,6900772

Example of shop with backdated contracts

payable id - 231508108 contract ids - 2046825,2046827,1886964,1883304,1824774,2042013

Example a new contract was signed after the initial term without terminating the initial deal:

payable_id - 379857097 contract ids - 2551385,2983775

Why are > 150k subs fees filtered out?

159172 subs fees appear on invoices with plus subscriptions They are not joined to a specific contract with the join query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment