Openbravo Issue Tracking System - POS2
View Issue Details
0054945POS2Corepublic2024-03-13 15:422024-03-14 06:18
prakashmurugesan88 
Triage Platform Base 
normalmajoralways
newopen 
5
 
 
No
0054945: Unable to Switch Tabs for Outside, Currently it can be done only from child components of MultiTabBaseView.
To switch tabs programatically in MultiTabBaseView component, there is 'changeActiveTab' function in the context provider.
But context provider can be used only in its child components.

There some scenarios in SSMS where tab switching should be done from outside.


For eg:
In SSMS

There is Distribution Order List window.
It has 2 tabs Pending and Confirmed.
Refer: DOConfirmedTab.png in attachement

We can select a row to open a particular Distribution Order.
Where we have confirm button at the header.
Once after adding product, we can click confirm button to confirm the Distribution Order.
Refer: DOLines.png in attachement

When it is confirmed,
It will navigate to Previous Distribution Order List window.
But problem is it will Show pending tab by default, but here I need to switch it to Confirmed tab.
Because Distribution Order that is confirmed in previous step will be displayed here.
Refer: DOPendingTab.png in attachement
No tags attached.
related to feature request 0054812 closed ablasco MultiTabBaseView - Unable to switch tabs automatically after doing some action 
png DOPendingTab.png (70,842) 2024-03-13 15:43
https://issues.openbravo.com/file_download.php?file_id=19544&type=bug
png

png DOLines.png (70,457) 2024-03-13 15:43
https://issues.openbravo.com/file_download.php?file_id=19545&type=bug
png

png DOConfirmedTab.png (45,058) 2024-03-13 15:43
https://issues.openbravo.com/file_download.php?file_id=19546&type=bug
png
Issue History
2024-03-13 15:42prakashmurugesan88New Issue
2024-03-13 15:42prakashmurugesan88Assigned To => Triage Platform Base
2024-03-13 15:42prakashmurugesan88Triggers an Emergency Pack => No
2024-03-13 15:43prakashmurugesan88File Added: DOPendingTab.png
2024-03-13 15:43prakashmurugesan88File Added: DOLines.png
2024-03-13 15:43prakashmurugesan88File Added: DOConfirmedTab.png
2024-03-14 06:12prakashmurugesan88Relationship addedrelated to 0054812
2024-03-14 06:18prakashmurugesan88Description Updatedbug_revision_view_page.php?rev_id=27682#r27682

There are no notes attached to this issue.