Create importer tool for financial reports files #7

Closed
ebariaux opened this Issue Oct 23, 2012 · 0 comments

Projects

None yet

2 participants

@ebariaux
Owner

Have an import functionality to select one or more report files.
Reports can be provided compressed or uncompressed.

Create a Sale objects that contains:

  • number of sold units
  • individual price
  • total price
  • country code Linked to a period, to a Zone and to an Application.

Prices are stored as BigDecimal to avoid rounding issues.

If Sale record already exists (same period, same zone, same application, same country), it is updated.

Use LabeledCSVParser from http://ostermiller.org/utils/CSV.html for file parsing.

@wbalcaen wbalcaen added a commit that referenced this issue Oct 26, 2012
@wbalcaen wbalcaen #7 : sales can now be uploaded 37bbdd3
@wbalcaen wbalcaen closed this Oct 26, 2012
@wbalcaen wbalcaen added a commit that referenced this issue Oct 29, 2012
@wbalcaen wbalcaen #7 bug in sql script df98284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment