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
IDEMPIERE-5181 : Share process saved parameters #1525
base: master
Are you sure you want to change the base?
Conversation
WIP - need review before proceeding, see comments in ticket |
hi @CarlosRuiz-globalqss / @hengsin , |
org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java
Show resolved
Hide resolved
org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java
Show resolved
Hide resolved
.setClient_ID() | ||
StringBuilder whereClause = new StringBuilder("AD_Process_ID = ? AND Name IS NOT NULL AND (") | ||
.append(" (AD_Client_ID = 0 AND AD_Role_ID IS NULL AND AD_User_ID IS NULL)") | ||
.append(" OR (AD_Client_ID = ? ") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't think we should include AD_Client_ID=0 here
sp.setAD_Org_ID(0); | ||
sp.setAD_Role_ID(-1); | ||
sp.setAD_User_ID(-1); | ||
sp.saveEx(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is duplicated "Name" allows here ?
MPInstance sp = savedParams.get(i); | ||
sp.setAD_Org_ID(0); | ||
sp.setAD_Role_ID(-1); | ||
sp.setAD_User_ID(-1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps it would be nice if we can set the sharing scope, i.e for specific user, role or everyone.
hi @nmicoud , there's conflict to resolve here. Since this is a new UI addition, I think it would be useful to get Carlos's help to setup a test server for it to get feedback from others. |
Hi, |
Sorry, I didn't find the time to work on this ; I'll be away next week and so hope that can be done by the end of April |
https://idempiere.atlassian.net/browse/IDEMPIERE-5181
Pull Request Checklist
Checklist: