PL/SQL

Covert to Operating Unit Timezone

Below is the function to get current operating unit Timezone. FUNCTION convert_to_ou_tz(p_date DATE, p_org_id NUMBER DEFAULT fnd_global.org_id) RETURN DATE IS l_timezone VARCHAR2(50); l_new_date DATE; BEGIN SELECT attribute8 INTO l_timezone FROM…

Read More

Email Validation using PL/SQL Function

Introduction This post describes the steps required for email validation using PL/SQL Function Script for Email Validation using Pl/Sql Function CREATE FUNCTION f_email_validate (pi_email_id IN OUT VARCHAR2) RETURN BOOLEAN IS lv_n_check_len      NUMBER; lv_b_check_in_at    BOOLEAN; lv_b_check_in_dot   BOOLEAN; lv_v_extn           VARCHAR2 (10); BEGIN lv_n_check_len := LENGTH (pi_email_id); pi_email_id := LOWER (pi_email_id);…

Read More

Script to get dependents for Employee

Description: Script to get dependents for employee describes dependencies between procedures, packages, functions, package bodies, and triggers accessible to the current user, including dependencies on views created without any database…

Read More

DB HINTS

Introduction DB Hints / Optimizer Hints can be used with SQL statements to alter execution plans. What is the purpose of DB Hints? DB Hints let you make decisions usually…

Read More

PROJECT UNBILLED BALANCES- FUSION

This report will display all project unbilled details. SELECT   ppa.project_id, ppa.segment1 project_number,           NVL ((SELECT pt.project_type                FROM pjf_project_types_tl pt, pjf_projects_all_vl…

Read More

HCKT Hard Limit Reached Events in Fusion

Purpose of the report is to display project hours and hard-limit amount with interactive mode. with XXANSR_PA_EVENTS_cte as (SELECT evt.ROWID as “ROW_ID”,           evt.event_id as “EVENT_ID”,…

Read More

REVENUE TRANSFER REPORT (FUSION)

Purpose of this report is to derive all projects expenditure and event details with cost information. SELECT   revenue_type, TO_CHAR (customer_id) customer_id, customer_name,          TO_CHAR (project_id) project_id, project_number,…

Read More

ASSET DEPRECIATION LOGIC QUERY

This query fetches the details of those assets which are partially and fully depreciated.  SELECT ASSET_CATEGORY_ID        ,MAJOR_CATEGORY        ,OPENING_DAY_ASSET_COST        ,OPEN_ACC_ASSET_COST_FY    …

Read More

NEW ASSETS ADDITION QUERY

This query fetches the detailed information related to those assets which are added newly for a particular period.  SELECT  FAL.segment1 SOL_ID             ,FFV.description BRANCH_NAME  …

Read More

Map Member Functions For Multiset Operations

MAP member function are special functions used to compare objects.The MAP member functions are used for performing comparisons between a single attribute of an object instance to a single attribute…

Read More