• Day Count on Sat (+0.5 day)

    By Janny Ho 2 decades ago

    Hi,



    We need to work on every Sat. So i need to count + 0.5 day on Sat. Please help where can i change the calculation for Days Left and other rules are same.



    I try to add the following simple formula at "Duration", but it wont show Sat at Leave Calendar View and the final Day Left seems not correct.



    @If(@IsNewDoc; 1; @Success);

    @BusinessDays(StartDate; Return; 1:7 ;@DbLookup("":"NoCache";"";"Holidays";Country;2))+

    (@BusinessDays(StartDate; Return; 1:2:3:4:5:6 ;@DbLookup("":"NoCache";"";"Holidays";Country;2))/2)



    Thanks

    Janny

    • Hi

      By fatih duranoğlu 1 decade ago

      I have the same problem. Did you solve this problem

      • Weekends Are Now Variable by Location

        By Bob Brodsky 1 decade ago

        Hi Fatih,



        Thank you for your interest in Vacation Request!



        Weekend days, or lack there of, can now be set in the location documents.

        For each of your locations set the weekend days to not include Saturday.



        HTH,

        Bob