-
Notifications
You must be signed in to change notification settings - Fork 34
processes: provide current selected tab and rows #1295
Comments
|
Ok, I see from your swagger link that |
Currently Can you confirm that there currently is a mismatch between |
I would say that it's not wrong, in case the process is called from single document window. For the case when the process is called from a view the viewId shall be set. |
Yes, they are in swagger, see http://w101.metasfresh.com:8081/swagger-ui.html#!/view-rest-controller/getDocumentActionsUsingGET
Nop. They are different things. About creating a new process instance (i.e. http://w101.metasfresh.com:8081/swagger-ui.html#!/process-rest-controller/createInstanceFromRequestUsingPOST ),
If u need to clarifications, pls ping me. |
i think the "Provide "selectedTab" info when creating a new process instance" part is not implemented. |
IT
|
[#2881](#2881) Add a process that removes pauses and can be ran from Contract window [#633](metasfresh/metasfresh-webui-api-legacy#633) Materialdispo Target Warehouse checks Warehouse Routing [#2895](#2895) AD_Ref_Table needs lower-case WHERE and FROM [#2273](#2273) Payment Selection as real Document [#2862](#2862) Set MasterStartDate for a contract when creating from order [#2880](#2880) Add greeting to partner quick creation from order [#656](metasfresh/metasfresh-webui-api-legacy#656) Address editor fields are not translated [#654](metasfresh/metasfresh-webui-api-legacy#654) Address country lookup not working correctly [#1295](metasfresh/metasfresh-webui-frontend-legacy#1295) processes: provide current selected tab and rows [#1295](metasfresh/metasfresh-webui-api-legacy#653) metasfresh.webui.debug.showColumnNamesForCaption shall be false by default [#651](metasfresh/metasfresh-webui-api-legacy#651) Document references endpoints are not respecting role permissions [#2878](#2878) Support for 6 digits AccountNo length in ReferenceNumber [#1312](metasfresh/metasfresh-webui-frontend-legacy#1312) Wrong process call [#2876](#2876) Fix Recreate printing queue for webui [#2874](#2874) Create special filters in printing queue [metasfresh-dist-orgs#82](metasfresh/metasfresh-dist-orgs#82) Invoice Medium Address Layout Changes [#2866](#2866) Make sure that 'Print All' is working in webui [#2803](#2803) Set hostkey for printing module when login in webui [#2113](#2113) Move verify BOM process to BOM window me-45
[#2881](#2881) Add a process that removes pauses and can be ran from Contract window [#633](metasfresh/metasfresh-webui-api-legacy#633) Materialdispo Target Warehouse checks Warehouse Routing [#2895](#2895) AD_Ref_Table needs lower-case WHERE and FROM [#2273](#2273) Payment Selection as real Document [#2862](#2862) Set MasterStartDate for a contract when creating from order [#2880](#2880) Add greeting to partner quick creation from order [#656](metasfresh/metasfresh-webui-api-legacy#656) Address editor fields are not translated [#654](metasfresh/metasfresh-webui-api-legacy#654) Address country lookup not working correctly [#1295](metasfresh/metasfresh-webui-frontend-legacy#1295) processes: provide current selected tab and rows [#1295](metasfresh/metasfresh-webui-api-legacy#653) metasfresh.webui.debug.showColumnNamesForCaption shall be false by default [#651](metasfresh/metasfresh-webui-api-legacy#651) Document references endpoints are not respecting role permissions [#2878](#2878) Support for 6 digits AccountNo length in ReferenceNumber [#1312](metasfresh/metasfresh-webui-frontend-legacy#1312) Wrong process call [#2876](#2876) Fix Recreate printing queue for webui [#2874](#2874) Create special filters in printing queue [metasfresh-dist-orgs#82](metasfresh/metasfresh-dist-orgs#82) Invoice Medium Address Layout Changes [#2866](#2866) Make sure that 'Print All' is working in webui [#2803](#2803) Set hostkey for printing module when login in webui [#2113](#2113) Move verify BOM process to BOM window me-45 (cherry picked from commit b4208ff)
Is this a bug or feature request?
FR
What is the current behavior?
Consider a single document window (e.g. one sales order - https://w101.metasfresh.com:8443/window/143/1000111).
When pressing on Actions menu, the actions for current document are queried (see http://w101.metasfresh.com:8081/swagger-ui.html#!/window-rest-controller/getDocumentActionsUsingGET_1 ).
Also, the actions for current selected included row from current selected tab where queried, but at the moment of writing this, that feature is broken and shall be fixed by #1279. But that's not in the scope of this task.
What is the expected or desired behavior?
Provide selectedTabId and selectedRowIds when querying for document actions
When calling the /rest/api/window/{windowId}/{documentId}/actions also provide following query (URL) params:
Provide "selectedTab" info when creating a new process instance
When creating a new process instrance, i.e. calling POST /rest/api/process/{processId}, please also provide currently selected tab and rows informations if available.
i.e. the request body shall also contain:
References
The backend was implemented by metasfresh/metasfresh-webui-api-legacy#645
Required for metasfresh/metasfresh#2564.
The text was updated successfully, but these errors were encountered: