Skip to content
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

automatic assignment #396

Closed
loki36 opened this issue Feb 21, 2015 · 12 comments
Closed

automatic assignment #396

loki36 opened this issue Feb 21, 2015 · 12 comments
Labels
feature on hold waiting for something

Comments

@loki36
Copy link
Contributor

loki36 commented Feb 21, 2015

I want create a way to make automatic assignment on transaction

a way could be create a new table with rules for automatic assignment and apply it after import.

a table "field" where store all field's name where criterion could be apply
a table "condition" where we store condition code and label (ex : like - like / equal - = / ...)
a table "assignment" for rules assignment

are you interested with this feature ?

--creation table assignment
CREATE  TABLE  IF NOT EXISTS "main"."field" (
  "field_s" INTEGER PRIMARY KEY  AUTOINCREMENT  NOT NULL  UNIQUE ,
  "name" VARCHAR NOT NULL UNIQUE
);

INSERT INTO hip_field (name) VALUES ('note');

CREATE  TABLE  IF NOT EXISTS "main"."condition" (
  "condition_s" INTEGER PRIMARY KEY  AUTOINCREMENT  NOT NULL  UNIQUE ,
  "name" VARCHAR NOT NULL UNIQUE,
  "code" VARCHAR NOT NULL,
);

INSERT INTO hip_condition (name,code) VALUES ('like','like');

CREATE  TABLE  IF NOT EXISTS "main"."assignment" (
  "assignment_s" INTEGER PRIMARY KEY  AUTOINCREMENT  NOT NULL  UNIQUE ,
  "name" VARCHAR UNIQUE,
  "field_s" INTEGER NOT NULL,
  "condition_s" INTEGER NOT NULL,
  "criterion" VARCHAR,
  "third_s" INTEGER NOT NULL DEFAULT (-1),
  "third_overwrite_flag" NOT NULL DEFAULT (0),
  "subcategory_s" INTEGER NOT NULL DEFAULT (-1), 
  "subcategory_overwrite_flag" NOT NULL DEFAULT (0), 
  FOREIGN KEY(third_s) REFERENCES third(third_s),
  FOREIGN KEY(subcategory_s) REFERENCES subcategory(subcategory_s),
  FOREIGN KEY(field_s) REFERENCES field(field_s),
  FOREIGN KEY(condition_s) REFERENCES condition(condition_s)
);

example :
INSERT INTO "assignment" VALUES ("2","COFIROUTE","1","1","%COFIROUTE%","59","0","119","0");
INSERT INTO "assignment" VALUES ("14","Free Telecom","1","1","Free Telecom","15","0","108","0");
@vomikan
Copy link
Member

vomikan commented Feb 21, 2015

I like this idea. We need a way to cut payee names after import.

Fyi http://sourceforge.net/p/moneymanagerex/feature-requests/286/

@vomikan
Copy link
Member

vomikan commented Feb 22, 2015

loki36 added a commit to loki36/moneymanagerex that referenced this issue Feb 27, 2015
@loki36
Copy link
Contributor Author

loki36 commented Feb 27, 2015

Hi,
I've made the new feature on my github repo under branch feature/master/automatic-assignment for database and moneymanagerex.

If you could have a look and say if it's ok for a pull request or if it need change, will great

@loki36
Copy link
Contributor Author

loki36 commented Feb 27, 2015

Assignment main dialog is available with magic_wand or with menu

capture du 2015-02-28 00 49 57

capture du 2015-02-28 00 50 26

capture du 2015-02-28 00 46 44

@guanlisheng
Copy link
Contributor

@loki36 , this is a quite cool feature and would we have a more implicit naming to indicate that it's for checking transaction only.
a pull request is welcome!

@loki36
Copy link
Contributor Author

loki36 commented Mar 12, 2015

I could add a new field in "assignment" table to indicate on which table execute the query.
with that we could extend this feature to other transaction type in future.

This feature needs a pull request on database github repo.

@guanlisheng
Copy link
Contributor

After thinking over, I find it is too complex to understand for end users .

@loki36
Copy link
Contributor Author

loki36 commented Mar 22, 2015

I can try to make a gui more easier to understand.
homebank use this interface :
capture du 2015-03-23 00 36 34

@guanlisheng
Copy link
Contributor

ok and look forward to the new look & feel.

@pluk77
Copy link

pluk77 commented Jun 1, 2015

you can have a look here for another gui example.

http://www.mechcad.net/products/acemoney/tutorial.shtml

ps, this is probably the only feature thats stops me from using this application as it will take way too long to import all my bank statements.

@artkrz
Copy link

artkrz commented Jul 3, 2015

Please make this happen. 👍

@vomikan vomikan added this to the v1.4 milestone Jan 30, 2016
@vomikan vomikan closed this as completed Jan 18, 2017
@slodki slodki added this to backlog in User Experience Aug 10, 2017
@fidelix
Copy link

fidelix commented Apr 14, 2018

This is one of 2 things stopping me from using mmex.
The other one is mass operations.

@slodki slodki added the on hold waiting for something label Apr 14, 2018
@whalley whalley removed this from the v2.0 milestone Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature on hold waiting for something
Projects
Development

No branches or pull requests

8 participants