Grace period

From MagnOogle Magna WIKI

Jump to: navigation, search

Grace Period Information

Question

I have removed and changed some permissions here at Parkside for mkdaily. I want only chrisg and amyd to be able to cancel contracts. Is that the significance of the graceper variable, to limit changes to the last 3 days of entries?

Answer

GRACE_PER is to set the grace period to X out contracts only. If USE_PROJECTS is set then GRACE_PER is set in the project table in inventory for all users as a default.

If GRACE_PER is not defined anywhere or is zero then it is set to one day.

Grace period works only on the cancel procedure where you are going to X out instead of cancel. On the contracts screen F5 only works on the same day.

That means folks with GRACE_PER AND CXL_UPDATE=YES permissions can only use GRACE_PER to X out contracts.

CXL_UPDATE should be set to NO by default in then given out to certain users only.

Snippet from the source to the cancel routine:

if environ$("UPDATE") <> "YES" or environ$("CXL_UPDATE") = "NO" then
          call message("NO UPDATE ALLOWED")
          return
     end if

--James 15:06, 13 August 2007 (EDT)


Personal tools

Web www.magnoogle.com