Skip to content

validate that Amazon Report and Payment file cover the same date ranges #2

Description

@mikemee

Currently it's possible to run:

app_earnings amazon EarningsReport-Mar-1-2014-Mar-31-2014.csv PaymentReport-Mar-1-2014-April-4-2014.csv

And get ouput that seems plausible. However, there are no payments in the PaymentReport that match dates in the EarningsReport. Please fail with a message saying that the dates don't match (and what dates they are) as this is a point of frequent confusion. E.g. an error like:

Incompatible data ranges. The file EarningsReport-Mar-1-2014-Mar-31-2014.csv summary has dates from 3/1/2014,3/31/2014. The PaymentReport-Mar-1-2014-April-4-2014.csv has dates from 2/1/2014,2/28/2014.

This should be easy to detect using the Summary section of the Payment report.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions