I have a customized New Opportunity screen, a customized Estimates screen, and a customized Sales Order screen, amoung others. I added a button to the New Opportunity screen, 'Save & Create Estimate', whose purpose is to save the opportunity, then create an estimate from the opportunity, save the estimate and go to the Estimates tab link.
The process has worked properly for weeks. The opportunity is saved, and estimate is created from the opportunity, the Estimates tab link is shown, displaying the Estimates screen with the new estimate selected.
Then, with no apparent cause, the process began to malfunction. I have seen two deviations from the expected behavior:
1. The opportunity saves as it should. The Sales Order tab link is shown, but it displays the Estimates screen instead of the Sales Order screen which is assigned to it. (Has anyone ever had that happen to them - wrong tab link with the correct screen.)
2. I tried again, this time after logging off and back on, and after checking the Sales Order tab link, which had the correct screen this time. When I clicked the 'Save & Create Estimate' button, the Sales Order tab link is shown with a new Sales Order created from the Opportunity. This time there was no new estimate created, only the new sales order.
To complicate matters, I have only seen this problem with users who have the staff role only. When I perform the same process while logged on as a user with the Administrator role, I get the expected results.
I have examine my code and logic from several angels. The 'Go To Tab Link' action has the correct parameters. I have many 'why' questions but no answers. Does anyone recognize this unexpected behavior? I need some help on this one.