Add separate toolbar buttons for btnUnpost / btnUnpostPreview and rename btnRecap to btnPostPreview

Issue No: GRN-512
Created 1/10/2017 7:27:49 PM
Type Feature
Priority Minor
Status Closed
Resolution Fixed
Fixed Version 17.1
Description Due to the User Roles Control Permissions limitation there is no way to currently set permissions on buttons or controls that are being shared or where we toggle labels. An example of this is a screen that has only a single Post button and then uses code to change the label from Post to Unpost when the record is posted (sharing 1 button to do the job of 2). This method will not work with the User Roles Control Permissions because it needs a separate physical button to assign permissions.   That means if an Admin wants to set control permissions to lock a user from clicking the Unpost button (but let them click the Post button) they cannot do it right now until we add a physical Unpost button to the screens the have a Post button.   The same goes for any other shared buttons like the Post Preview and Unpost Preview (originally named Recap).   Each screen that includes a Post button or Post Preview button needs to include a second hidden button for the Unpost side. Then instead of changing the label name you would toggle the Hidden property of one of those 2 buttons. Also, make sure that you have renamed the old btnRecap t   !pastedImage_d68351_0.png!   This is a JDE requirement.