Unable to use ABS_ATTENDANCE_REASON_ID as input in BG_ABSENCE_DURATION formula

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samkhan2010
    New Member
    • Jan 2010
    • 2

    Unable to use ABS_ATTENDANCE_REASON_ID as input in BG_ABSENCE_DURATION formula

    I want to validate leave on the basis of reason selected.

    I am passing ABSENCE_ATTENDA NCE_TYPE_ID as input value but when assigning ABS_ATTENDANCE_ REASON_ID to variable it gives error...
  • amitpatel66
    Recognized Expert Top Contributor
    • Mar 2007
    • 2358

    #2
    Can you please what is the error it display and where exactly you are trying to invoke the validation process?

    Comment

    • samkhan2010
      New Member
      • Jan 2010
      • 2

      #3
      The error msg is "The definition of the absence duration Fast formula is incorrect."

      I want to validate leaves on the basis of reason. For example, There are 2 types of Annual Leave (Half Pay, Quarter Pay) so instead creating 2 leave types I wanted to create one leave type wit h2 different reasons.

      The formula will be verified if pass reason_id as input value. But if assign id to some variable or use reason_id as parameter to some function. Fomula is verified but gives above mention error while applying leave.

      Can we use or refer somehow ABS_ATTENDANCE_ REASON_ID in anyway in the BG_ABSENCE_DURA TION formula.

      Thanks.

      Comment

      Working...