DBA Data[Home] [Help]

APPS.OTA_BULK_ENROLL_UTIL dependencies on OTA_DELEGATE_BOOKINGS

Line 29: FROM ota_delegate_bookings tdb,

25: SELECT bst.type status_code,
26: btt.name Status,
27: bst.booking_status_type_id status_id,
28: decode(bst.type, 'C', 0,'R',1, 'W',2, 'P',3, 'E',4, 'A',5) status_number
29: FROM ota_delegate_bookings tdb,
30: ota_booking_status_types bst,
31: ota_booking_status_types_tl btt
32: WHERE tdb.delegate_person_id = p_learner_id
33: AND tdb.event_id = p_object_id

Line 121: FROM ota_delegate_bookings tdb, ota_booking_status_types bst

117: , p_status_message OUT NOCOPY VARCHAR2)
118: IS
119: CURSOR get_enrolled_places IS
120: SELECT sum(nvl(tdb.number_of_places,1)) enrolled_places
121: FROM ota_delegate_bookings tdb, ota_booking_status_types bst
122: WHERE tdb.event_id = p_class_id
123: and tdb.internal_booking_flag = 'Y'
124: and tdb.booking_status_type_id = bst.booking_status_type_id
125: and bst.type IN ('P', 'A','E');

Line 338: FROM ota_delegate_bookings tdb

334: RETURN NUMBER IS
335:
336: CURSOR cse_get_class_enrollments IS
337: SELECT sum(nvl(tdb.number_of_places,0))
338: FROM ota_delegate_bookings tdb
339: , ota_booking_status_types bst
340: WHERE tdb.booking_status_type_id = bst.booking_status_type_id
341: AND tdb.event_id = p_object_id
342: --TBD: needs to be confirmed if Requested(R) and Waitlisted(W) should also be included here

Line 388: ,p_booking_id OUT NOCOPY OTA_DELEGATE_BOOKINGS.Booking_id%type

384: ,p_business_group_id_from IN PER_ALL_ASSIGNMENTS_F.business_group_id%TYPE
385: ,p_organization_id IN PER_ALL_ASSIGNMENTS_F.organization_id%TYPE
386: ,p_person_id IN PER_ALL_PEOPLE_F.person_id%type
387: ,p_delegate_contact_id IN NUMBER
388: ,p_booking_id OUT NOCOPY OTA_DELEGATE_BOOKINGS.Booking_id%type
389: ,p_message_name OUT NOCOPY varchar2
390: ,p_tdb_information_category IN VARCHAR2
391: ,p_tdb_information1 IN VARCHAR2
392: ,p_tdb_information2 IN VARCHAR2

Line 442: FROM OTA_DELEGATE_BOOKINGS dbt,

438: WHERE EVENT_ID = TO_NUMBER(p_event_id);
439:
440: CURSOR get_existing_internal IS
441: SELECT sum(nvl(dbt.number_of_places, 0))
442: FROM OTA_DELEGATE_BOOKINGS dbt,
443: OTA_BOOKING_STATUS_TYPES bst
444: WHERE dbt.event_id = TO_NUMBER(p_event_id)
445: AND dbt.internal_booking_flag = 'Y'
446: AND dbt.booking_status_type_id = bst.booking_status_type_id

Line 451: FROM OTA_DELEGATE_BOOKINGS dbt,

447: AND bst.type in ('P','A','E');
448:
449: CURSOR get_existing_bookings IS
450: SELECT sum(number_of_places)
451: FROM OTA_DELEGATE_BOOKINGS dbt,
452: OTA_BOOKING_STATUS_TYPES bst
453: WHERE dbt.event_id = TO_NUMBER(p_event_id)
454: AND dbt.booking_status_type_id = bst.booking_status_type_id
455: AND bst.type in ('P','A','E');

Line 553: l_booking_id OTA_DELEGATE_BOOKINGS.booking_id%type := null;

549:
550: l_person_details csr_get_assignment_details%ROWTYPE;
551: --
552: l_booking_status_row OTA_BOOKING_STATUS_TYPES%ROWTYPE;
553: l_booking_id OTA_DELEGATE_BOOKINGS.booking_id%type := null;
554: l_object_version_number BINARY_INTEGER;
555: l_tfl_ovn BINARY_INTEGER;
556: l_finance_line_id OTA_FINANCE_LINES.finance_line_id%type:= null;
557: l_booking_type VARCHAR2(4000);

Line 608: l_internal_booking_flag OTA_DELEGATE_BOOKINGS.internal_booking_flag%TYPE;

604:
605: l_existing_bookings NUMBER;
606: l_maximum_external_allowed NUMBER;
607: l_maximum_attendees NUMBER;
608: l_internal_booking_flag OTA_DELEGATE_BOOKINGS.internal_booking_flag%TYPE;
609: l_work_telephone OTA_DELEGATE_BOOKINGS.delegate_contact_phone%TYPE := NULL;
610: l_work_fax OTA_DELEGATE_BOOKINGS.delegate_contact_fax%TYPE := NULL;
611: l_organization_id OTA_DELEGATE_BOOKINGS.organization_id%TYPE := NULL;
612: l_assignment_id OTA_DELEGATE_BOOKINGS.delegate_assignment_id%TYPE := NULL;

Line 609: l_work_telephone OTA_DELEGATE_BOOKINGS.delegate_contact_phone%TYPE := NULL;

605: l_existing_bookings NUMBER;
606: l_maximum_external_allowed NUMBER;
607: l_maximum_attendees NUMBER;
608: l_internal_booking_flag OTA_DELEGATE_BOOKINGS.internal_booking_flag%TYPE;
609: l_work_telephone OTA_DELEGATE_BOOKINGS.delegate_contact_phone%TYPE := NULL;
610: l_work_fax OTA_DELEGATE_BOOKINGS.delegate_contact_fax%TYPE := NULL;
611: l_organization_id OTA_DELEGATE_BOOKINGS.organization_id%TYPE := NULL;
612: l_assignment_id OTA_DELEGATE_BOOKINGS.delegate_assignment_id%TYPE := NULL;
613: l_email_address OTA_DELEGATE_BOOKINGS.delegate_contact_email%TYPE := NULL;

Line 610: l_work_fax OTA_DELEGATE_BOOKINGS.delegate_contact_fax%TYPE := NULL;

606: l_maximum_external_allowed NUMBER;
607: l_maximum_attendees NUMBER;
608: l_internal_booking_flag OTA_DELEGATE_BOOKINGS.internal_booking_flag%TYPE;
609: l_work_telephone OTA_DELEGATE_BOOKINGS.delegate_contact_phone%TYPE := NULL;
610: l_work_fax OTA_DELEGATE_BOOKINGS.delegate_contact_fax%TYPE := NULL;
611: l_organization_id OTA_DELEGATE_BOOKINGS.organization_id%TYPE := NULL;
612: l_assignment_id OTA_DELEGATE_BOOKINGS.delegate_assignment_id%TYPE := NULL;
613: l_email_address OTA_DELEGATE_BOOKINGS.delegate_contact_email%TYPE := NULL;
614: l_person_address_type VARCHAR2(1);

Line 611: l_organization_id OTA_DELEGATE_BOOKINGS.organization_id%TYPE := NULL;

607: l_maximum_attendees NUMBER;
608: l_internal_booking_flag OTA_DELEGATE_BOOKINGS.internal_booking_flag%TYPE;
609: l_work_telephone OTA_DELEGATE_BOOKINGS.delegate_contact_phone%TYPE := NULL;
610: l_work_fax OTA_DELEGATE_BOOKINGS.delegate_contact_fax%TYPE := NULL;
611: l_organization_id OTA_DELEGATE_BOOKINGS.organization_id%TYPE := NULL;
612: l_assignment_id OTA_DELEGATE_BOOKINGS.delegate_assignment_id%TYPE := NULL;
613: l_email_address OTA_DELEGATE_BOOKINGS.delegate_contact_email%TYPE := NULL;
614: l_person_address_type VARCHAR2(1);
615: l_ext_lrnr_details ota_learner_enroll_ss.csr_ext_lrnr_Details%ROWTYPE;

Line 612: l_assignment_id OTA_DELEGATE_BOOKINGS.delegate_assignment_id%TYPE := NULL;

608: l_internal_booking_flag OTA_DELEGATE_BOOKINGS.internal_booking_flag%TYPE;
609: l_work_telephone OTA_DELEGATE_BOOKINGS.delegate_contact_phone%TYPE := NULL;
610: l_work_fax OTA_DELEGATE_BOOKINGS.delegate_contact_fax%TYPE := NULL;
611: l_organization_id OTA_DELEGATE_BOOKINGS.organization_id%TYPE := NULL;
612: l_assignment_id OTA_DELEGATE_BOOKINGS.delegate_assignment_id%TYPE := NULL;
613: l_email_address OTA_DELEGATE_BOOKINGS.delegate_contact_email%TYPE := NULL;
614: l_person_address_type VARCHAR2(1);
615: l_ext_lrnr_details ota_learner_enroll_ss.csr_ext_lrnr_Details%ROWTYPE;
616: l_customer_id HZ_CUST_ACCOUNT_ROLES.cust_account_id%type := NULL;

Line 613: l_email_address OTA_DELEGATE_BOOKINGS.delegate_contact_email%TYPE := NULL;

609: l_work_telephone OTA_DELEGATE_BOOKINGS.delegate_contact_phone%TYPE := NULL;
610: l_work_fax OTA_DELEGATE_BOOKINGS.delegate_contact_fax%TYPE := NULL;
611: l_organization_id OTA_DELEGATE_BOOKINGS.organization_id%TYPE := NULL;
612: l_assignment_id OTA_DELEGATE_BOOKINGS.delegate_assignment_id%TYPE := NULL;
613: l_email_address OTA_DELEGATE_BOOKINGS.delegate_contact_email%TYPE := NULL;
614: l_person_address_type VARCHAR2(1);
615: l_ext_lrnr_details ota_learner_enroll_ss.csr_ext_lrnr_Details%ROWTYPE;
616: l_customer_id HZ_CUST_ACCOUNT_ROLES.cust_account_id%type := NULL;
617: l_corespondent VARCHAR2(1) := NULL;

Line 653: ,flex_field_name => 'OTA_DELEGATE_BOOKINGS'

649: -- ----------------------------------------------------------------------
650: -- RETRIEVE THE DATA REQUIRED
651: -- ----------------------------------------------------------------------
652: ota_utility.Get_Default_Value_Dff( appl_short_name => 'OTA'
653: ,flex_field_name => 'OTA_DELEGATE_BOOKINGS'
654: ,p_attribute_category => l_attribute_category
655: ,p_attribute1 => l_attribute1
656: ,p_attribute2 => l_attribute2
657: ,p_attribute3 => l_attribute3

Line 1527: FROM ota_delegate_bookings tdb, ota_booking_status_types_tl btt

1523: IS
1524:
1525: CURSOR csr_get_booking_status_id(l_booking_id NUMBER) IS
1526: SELECT btt.booking_status_type_id , btt.name booking_status
1527: FROM ota_delegate_bookings tdb, ota_booking_status_types_tl btt
1528: WHERE booking_id = l_booking_id
1529: and tdb.booking_status_type_id = btt.booking_status_type_id
1530: and btt.language = USERENV('LANG');
1531:

Line 1558: l_booking_id ota_delegate_bookings.booking_id%TYPE;

1554: l_booking_status ota_booking_status_types_tl.name%TYPE;
1555:
1556: l_request_rec csr_get_request_info%ROWTYPE;
1557: l_req_member_rec csr_get_request_members%ROWTYPE;
1558: l_booking_id ota_delegate_bookings.booking_id%TYPE;
1559:
1560: l_assignment_info csr_get_assignment_info%ROWTYPE;
1561: l_cost_center_info csr_get_cost_center_info%ROWTYPE;
1562: