| Summary: | Sign dependent CSV import | ||
|---|---|---|---|
| Product: | [Applications] skrooge | Reporter: | pat_h |
| Component: | general | Assignee: | Stephane MANKOWSKI <stephane> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | 25.1.0 | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | csv export | ||
|
Description
pat_h
2024-08-31 16:00:34 UTC
Hi, Could you provide me a sample csv file ? (2 lines should be enough, one for positive value and one for negative value) Don't forget to anonymize it. Created attachment 173186 [details]
csv export
After some introduction lines, the CSV header line is line 5.
In line 6 the 5th field is relevant for Skrooge because the 9th field is negative.
In line 7 the 4th field is relevant for Skrooge because the 9th field is positive.
Hi, You can do what you want with already existing features like this: 1- Configure your CSV import to import all columns you need. The best is may be to import for negative values + the field 4 as property. 2- Create a rule (see "Search and Process") to copy the property into the payee when the amount is positive. That's all ! Hi, took me a bit to get the hang of properties, but in the end I managed to solve the problem with your solution description. Thanks a lot for the support (and the great program)! |