0% found this document useful (0 votes)
88 views

Bind Variables Work For SQL Statements That Are Exactly The Same, Where The

The Fast Formula language is similar to C and PL/SQL and uses basic components like formula types, context, database items, input values, and return variables. Formulas must have a type that determines how they can be used and what contexts are available. Formulas can be predefined, user-defined, or generated. They can also be defined at the global or legislation level. Oracle Time and Labor uses Fast Formulas to transform incoming timekeeping data, validate time entries, and generate process results. Context provides information that is always available to each formula type at runtime.

Uploaded by

Anjali Patel
Copyright
© Public Domain
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views

Bind Variables Work For SQL Statements That Are Exactly The Same, Where The

The Fast Formula language is similar to C and PL/SQL and uses basic components like formula types, context, database items, input values, and return variables. Formulas must have a type that determines how they can be used and what contexts are available. Formulas can be predefined, user-defined, or generated. They can also be defined at the global or legislation level. Oracle Time and Labor uses Fast Formulas to transform incoming timekeeping data, validate time entries, and generate process results. Context provides information that is always available to each formula type at runtime.

Uploaded by

Anjali Patel
Copyright
© Public Domain
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Language of Fast Formula

The Fast Formula uses its own language similar to C and PL/SQL. If you are familiar with either one of
these languages, you will not find it difficult to understand the syntax of the fast formula.

Basic Components of Fast Formula


Before start writing any fast formula, you need to understand the following.
1)      Formula types
2)      Context
3)      Database items (DBI)
4)      Input values
5)      Return Variables/Values.

Each formula must have a type which determines:

–How the formula can be used


–What contexts are automatically available to the formula
–Which rules about the inputs and outputs apply

Formula Creation Methods


• Predefined – Delivered with Oracle Fusion HCM – Specific to the localizations (for example US tax
calculation) – Cannot and should not be modified
• User-Defined – Users create their own fast formulas (for example Absence Duration)
• Generated – User setup and system generated from legislative templates (for example HCM Extract
generates formulas for blocks and items, element templates generate fast formula for main and hidden
elements)
Formula Levels
Fast formulas can be defined at global or legislation level:
• Global –Can be used at any legislation. These formulas do not have legislation data group assigned to
them (CALC_ARREARS)
• Legislation –If formula is applicable to only one legislation it has legislation data group assigned to it
(US_TAX_MEDICARE)

Oracle Time and Labor


– Transform incoming data from a third party time keeping system for a payroll batch loader
– Error and Warning validation of time entries
– Generate process results from employee reported entries

Bind variables work for SQL statements that are exactly the same, where the
only difference is in the value. When using bind variables, you do not include
the actual values but instead insert placeholders into an SQL statement. The
statement does not change during execution; only the values change.
Contexts: – Context is information that is always available to each formula type at run
Related methods for the context are: • GET_CONTEXT : To find the value
from the context • CONTEXT_IS_SET: To find whether a context is set •
SET_CONTEXTS: to set one or more contexts

You might also like