screw123 / chassis2

0 stars 0 forks source link

AR/AP methods for accounting module #68

Open screw123 opened 6 years ago

screw123 commented 6 years ago

Create new AP Create new AR AR settlement AP settlement

screw123 commented 6 years ago

fixed validating of postARAP, to cont'd on run

screw123 commented 6 years ago

postARAP done but without testing

screw123 commented 6 years ago

how should access right be granted? Should we directly check against the record user (this.userId) or someone who said he is?

screw123 commented 6 years ago

settle AR/AP should be within same customer, same organization

screw123 commented 6 years ago

programming is done. Now need to create a test function to make sure functions are working.

screw123 commented 6 years ago

still trying to build the test function, however now have an issue with list, foreignList and array. list <-- string with allowedValues foreignList <-- string with allowedValues not explicitly specified. Think about if this can be take out and just use list array <-- store array of strings, without restriction

how about array of strings with allowedValues? e.g. cusType

alternatively can be:

single string multi string
have allowedValues (foreign)list ???
no allowedValues string array
screw123 commented 6 years ago
scope should change a bit. aaa single string multi string
link to remote list foreignList foreignMultiList(new)
have allowedValues list multiList (new)
no allowedValues string array
screw123 commented 6 years ago

check Grapher for possibly simpler solution https://github.com/cult-of-coders/grapher

screw123 commented 6 years ago

Will work on #72 first and then come back