In this session, I guide you through writing your first Fast Formula, focusing on “Element Input Validation.” After covering the basics in the first two sessions, we dive into creating a formula that includes setting a default value for the element entry input value. Watch the video to follow along and enhance your skills!
/* **************************************************************
FORMULA NAME: Defaulting Value for FL06 Travel Allowance
FORMULA TYPE: Element Input Validation
DESCRIPTION: Set default value for the Amount of the Element "FL06 Travel Allowance"
************************************************************** */
/* **************************************************************
Change History: Name: Hossam Shahin Date: 28-Sep-2024
Comments:
************************************************************** */
ALIAS REGULAR_WAGES_RATE_ASG_ENTRY_VALUE AS REGULA_WAGES_RAT
DEFAULT FOR REGULA_WAGES_RAT IS -1
INPUTS ARE Amount
LV_EFFECTIVE_DATE = GET_CONTEXT(EFFECTIVE_DATE,'0001/01/01 00:00:00'(date))
CHANGE_CONTEXTS (DATE_EARNED = LV_EFFECTIVE_DATE)
Amount = REGULA_WAGES_RAT * (0.001)
return Amount
Watch video Write Your First Fast Formula - Element Input Validation online without registration, duration hours minute second in high quality. This video was added by user Hossam Shahin - حُسام شاهين 27 September 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 290 once and liked it 5 people.