DBA Data[Home] [Help]

APPS.PSP_LABOR_DIST dependencies on FND_DATE

Line 6916: and l_tp_start_date between fnd.start_date_active and nvl(fnd.end_date_active, fnd_date.canonical_to_date('4000/01/31'))

6912: and cap.funding_source_code = fnd.lookup_code
6913: and fnd.lookup_type = 'PSP_SPONSOR_NAMES'
6914: and fnd.language = userenv('LANG')
6915: and fnd.enabled_flag = 'Y'
6916: and l_tp_start_date between fnd.start_date_active and nvl(fnd.end_date_active, fnd_date.canonical_to_date('4000/01/31'))
6917: and cap.currency_code = control_details_rec.currency_code
6918: union all
6919: select cap2.start_date start_date,
6920: cap2.end_date end_date,

Line 6931: and l_tp_start_date between fnd2.start_date_active and nvl(fnd2.end_date_active, fnd_date.canonical_to_date('4000/01/31'))

6927: fnd_lookup_values fnd2
6928: where cap2.start_date < l_tp_end_date
6929: and cap2.end_date > l_tp_start_date
6930: and fnd2.enabled_flag = 'Y'
6931: and l_tp_start_date between fnd2.start_date_active and nvl(fnd2.end_date_active, fnd_date.canonical_to_date('4000/01/31'))
6932: and cap2.funding_source_code = fnd2.lookup_code
6933: and fnd2.lookup_type = 'PSP_SPONSOR_NAMES'
6934: and fnd2.language = userenv('LANG')
6935: and cap2.currency_code = control_details_rec.currency_code

Line 6953: and p_dist_date between org.start_date_active and nvl(org.end_date_active, fnd_date.canonical_to_date('4000/01/31'))

6949: select org.organization_account_id
6950: from psp_organization_accounts org,
6951: per_all_assignments_f paf
6952: where org.account_type_code in ( 'ORG_EXCESS')
6953: and p_dist_date between org.start_date_active and nvl(org.end_date_active, fnd_date.canonical_to_date('4000/01/31'))
6954: and paf.assignment_type = 'E'
6955: and paf.assignment_id = p_asg_id
6956: and p_dist_date between paf.effective_Start_date and paf.effective_end_date
6957: and paf.organization_id = org.organization_id

Line 6965: where p_dist_date between start_date_active and nvl(end_date_active, fnd_date.canonical_to_date('4000/01/31'))

6961: p_excess_org_id number,
6962: p_funding_source_code varchar2) is
6963: select organization_account_id
6964: from psp_organization_accounts
6965: where p_dist_date between start_date_active and nvl(end_date_active, fnd_date.canonical_to_date('4000/01/31'))
6966: and account_type_code = 'ORG_EXCESS'
6967: and organization_id = p_excess_org_id
6968: and p_funding_source_code = funding_source_code;
6969:

Line 6976: and p_tp_start_date between start_date_active and nvl(end_date_active, fnd_date.canonical_to_date('4000/01/31'));

6972: from fnd_lookup_values
6973: where lookup_type = 'PSP_SPONSOR_NAMES'
6974: and language = userenv('LANG')
6975: and enabled_flag = 'Y'
6976: and p_tp_start_date between start_date_active and nvl(end_date_active, fnd_date.canonical_to_date('4000/01/31'));
6977:
6978: t_dist_line_id psp_sql_tab_number15;
6979: t_dist_date psp_sql_tab_date;
6980: t_dist_amount psp_sql_tab_number;

Line 8489: and p_begin_date between start_date_active and nvl(end_date_active, fnd_date.canonical_to_date('4000/01/31'))

8485: select distinct lookup_code, meaning
8486: from fnd_lookup_values
8487: where lookup_type = 'PSP_SPONSOR_NAMES'
8488: and language = 'US'
8489: and p_begin_date between start_date_active and nvl(end_date_active, fnd_date.canonical_to_date('4000/01/31'))
8490: and enabled_flag = 'Y';
8491:
8492: cursor check_salary_cap_exists(p_sponsor_code in varchar2,
8493: p_date in date) is