• Admin Denied Leave

    By Valentina Mukhamedzhanova 2 decades ago

    Hi Bob,



    There's one more thing I don't understand. View selection formula for "Admin Denied Leave" view contains condition: CancelLeave = "Annual Leave to be cancelled", which means that if I create a vacation request, and deny it using "Deny A/L - Admin" action - this request will not appear in "Admin Denied Leave" view, as CancelLeave value will be "Vacation to be cancelled".

    So "Admin Denied Leave" view shows only those requests that don't have any LTC_Desc. Is it supposed to work this way?

    • Got Me Again :-(

      By Bob Brodsky 2 decades ago

      Hi Valentina,



      Thanks for your continuing interest in Vacation Request!



      I had not visited the View Selection formula for Admin Denied Leave in some time,

      but here is what I found:



      The formula was meant to insure that we had a Leave Request form that was either

      Denied, Cancelled or Revoked. When I added the LTC_Description field some time ago I modified the button process to include the LTC_Description in the CancelLeave field so that the Leave Request form would be more informative. Unfortunately, that change caused the regression bug that you found.



      I will get a point release out to correct the bug.

      In the mean time the following View Selection formula can be utilized in the Admin Denied Leave view to display all appropriate Cancelled, Denied, and Revoked Leave Requests and maintain the more informative Leave Requests:



      SELECT

      Form="Leave Request":"LR" &

      (

      @Ends(CancelLeave;" to be cancelled") |

      Cancelled="Yes"

      )





      Thanks again for helping make Vacation Request even better,

      Bon Weekend,

      Bob