* Improve source code and define structure for api
Note that currently does not exist a way for spared api and search from
backend or push, this pull request want reorder use of api by
functionality or tool:
- All inside ADempiere folder is dedicated for adempiere functionality
- ADempiere/dashboard: use this path for add your api resource for all
related with dashboard, note that already exist a file named
dashboard.js with standard dashboard for ADempiere, if you want to add a
new dashboard just create a new file <dashboard name>.js for gest info
from backend
- ADempiere/form: used for all form, for now exist the first
implementation named price-checking.js that matched with
components/ADempiere/form/PriceChecking, if you want to add a new form
just add a new file here
- ADempiere/browser.js: browser is a native functionality for Smart
Browser tool, just add here all functions related for browser
- ADempiere/private-access.js: just handle private access, will be used
for add role table access and record access (nice to have)
- ADempiere/process.js: related with all action for process and get
information from server like getProcessLog and others
- ADempiere/report.js: get info like getReportOutput from parameters
used for window report and change print formats
- ADempiere/rule.js: for now is used for dispatch callouts from server
but will be implemented for run rules directly for client on languages
like javascript, kotlin and groovy
- ADempiere/system-core.js: just get generic functions like
getWarehouseList and organization, also can be used for get langages and
other infor from server
- ADempiere/values.js: get info like lookup list, default values and
other values like systen configurator
- ADempiere/window.js: all functions related to window like record log,
workflow log and other infor that can be used for container
- ADempiere/persistence.js: handle standard CRUD for all entities and
implement functions like getTranslation from entity
* Improve source code and define structure for api
Note that currently does not exist a way for spared api and search from
backend or push, this pull request want reorder use of api by
functionality or tool:
- All inside ADempiere folder is dedicated for adempiere functionality
- ADempiere/dashboard: use this path for add your api resource for all
related with dashboard, note that already exist a file named
dashboard.js with standard dashboard for ADempiere, if you want to add a
new dashboard just create a new file <dashboard name>.js for gest info
from backend
- ADempiere/form: used for all form, for now exist the first
implementation named price-checking.js that matched with
components/ADempiere/form/PriceChecking, if you want to add a new form
just add a new file here
- ADempiere/browser.js: browser is a native functionality for Smart
Browser tool, just add here all functions related for browser
- ADempiere/private-access.js: just handle private access, will be used
for add role table access and record access (nice to have)
- ADempiere/process.js: related with all action for process and get
information from server like getProcessLog and others
- ADempiere/report.js: get info like getReportOutput from parameters
used for window report and change print formats
- ADempiere/rule.js: for now is used for dispatch callouts from server
but will be implemented for run rules directly for client on languages
like javascript, kotlin and groovy
- ADempiere/system-core.js: just get generic functions like
getWarehouseList and organization, also can be used for get langages and
other infor from server
- ADempiere/values.js: get info like lookup list, default values and
other values like systen configurator
- ADempiere/window.js: all functions related to window like record log,
workflow log and other infor that can be used for container
- ADempiere/persistence.js: handle standard CRUD for all entities and
implement functions like getTranslation from entity