446: BEGIN
447: /* initialise BULK tables with SINGLE record values */
448: p_Rec.party_id := jtf_terr_number_list(p_terraccount_rec.party_id);
449: p_Rec.party_site_id := jtf_terr_number_list(p_terraccount_rec.party_site_id);
450: p_rec.city := jtf_terr_char_360list(p_terraccount_rec.city);
451: p_Rec.postal_code := jtf_terr_char_360list(p_terraccount_rec.postal_code);
452: p_rec.state := jtf_terr_char_360list(p_terraccount_rec.state);
453: p_rec.province := jtf_terr_char_360list(p_terraccount_rec.province);
454: p_rec.county := jtf_terr_char_360list(p_terraccount_rec.county);
447: /* initialise BULK tables with SINGLE record values */
448: p_Rec.party_id := jtf_terr_number_list(p_terraccount_rec.party_id);
449: p_Rec.party_site_id := jtf_terr_number_list(p_terraccount_rec.party_site_id);
450: p_rec.city := jtf_terr_char_360list(p_terraccount_rec.city);
451: p_Rec.postal_code := jtf_terr_char_360list(p_terraccount_rec.postal_code);
452: p_rec.state := jtf_terr_char_360list(p_terraccount_rec.state);
453: p_rec.province := jtf_terr_char_360list(p_terraccount_rec.province);
454: p_rec.county := jtf_terr_char_360list(p_terraccount_rec.county);
455: p_rec.country := jtf_terr_char_360list(p_terraccount_rec.country);
448: p_Rec.party_id := jtf_terr_number_list(p_terraccount_rec.party_id);
449: p_Rec.party_site_id := jtf_terr_number_list(p_terraccount_rec.party_site_id);
450: p_rec.city := jtf_terr_char_360list(p_terraccount_rec.city);
451: p_Rec.postal_code := jtf_terr_char_360list(p_terraccount_rec.postal_code);
452: p_rec.state := jtf_terr_char_360list(p_terraccount_rec.state);
453: p_rec.province := jtf_terr_char_360list(p_terraccount_rec.province);
454: p_rec.county := jtf_terr_char_360list(p_terraccount_rec.county);
455: p_rec.country := jtf_terr_char_360list(p_terraccount_rec.country);
456: p_rec.interest_type_id := jtf_terr_number_list(p_terraccount_rec.interest_type_id);
449: p_Rec.party_site_id := jtf_terr_number_list(p_terraccount_rec.party_site_id);
450: p_rec.city := jtf_terr_char_360list(p_terraccount_rec.city);
451: p_Rec.postal_code := jtf_terr_char_360list(p_terraccount_rec.postal_code);
452: p_rec.state := jtf_terr_char_360list(p_terraccount_rec.state);
453: p_rec.province := jtf_terr_char_360list(p_terraccount_rec.province);
454: p_rec.county := jtf_terr_char_360list(p_terraccount_rec.county);
455: p_rec.country := jtf_terr_char_360list(p_terraccount_rec.country);
456: p_rec.interest_type_id := jtf_terr_number_list(p_terraccount_rec.interest_type_id);
457: p_rec.primary_interest_id := jtf_terr_number_list(p_terraccount_rec.primary_interest_id);
450: p_rec.city := jtf_terr_char_360list(p_terraccount_rec.city);
451: p_Rec.postal_code := jtf_terr_char_360list(p_terraccount_rec.postal_code);
452: p_rec.state := jtf_terr_char_360list(p_terraccount_rec.state);
453: p_rec.province := jtf_terr_char_360list(p_terraccount_rec.province);
454: p_rec.county := jtf_terr_char_360list(p_terraccount_rec.county);
455: p_rec.country := jtf_terr_char_360list(p_terraccount_rec.country);
456: p_rec.interest_type_id := jtf_terr_number_list(p_terraccount_rec.interest_type_id);
457: p_rec.primary_interest_id := jtf_terr_number_list(p_terraccount_rec.primary_interest_id);
458: p_rec.secondary_interest_id := jtf_terr_number_list(p_terraccount_rec.secondary_interest_id);
451: p_Rec.postal_code := jtf_terr_char_360list(p_terraccount_rec.postal_code);
452: p_rec.state := jtf_terr_char_360list(p_terraccount_rec.state);
453: p_rec.province := jtf_terr_char_360list(p_terraccount_rec.province);
454: p_rec.county := jtf_terr_char_360list(p_terraccount_rec.county);
455: p_rec.country := jtf_terr_char_360list(p_terraccount_rec.country);
456: p_rec.interest_type_id := jtf_terr_number_list(p_terraccount_rec.interest_type_id);
457: p_rec.primary_interest_id := jtf_terr_number_list(p_terraccount_rec.primary_interest_id);
458: p_rec.secondary_interest_id := jtf_terr_number_list(p_terraccount_rec.secondary_interest_id);
459: p_rec.area_code := jtf_terr_char_360list(p_terraccount_rec.area_code);
455: p_rec.country := jtf_terr_char_360list(p_terraccount_rec.country);
456: p_rec.interest_type_id := jtf_terr_number_list(p_terraccount_rec.interest_type_id);
457: p_rec.primary_interest_id := jtf_terr_number_list(p_terraccount_rec.primary_interest_id);
458: p_rec.secondary_interest_id := jtf_terr_number_list(p_terraccount_rec.secondary_interest_id);
459: p_rec.area_code := jtf_terr_char_360list(p_terraccount_rec.area_code);
460: p_rec.comp_name_range := jtf_terr_char_360list(p_terraccount_rec.comp_name_range);
461: p_rec.partner_id := jtf_terr_number_list(p_terraccount_rec.partner_id);
462: p_rec.num_of_employees := jtf_terr_number_list(p_terraccount_rec.num_of_employees);
463: p_rec.category_code := jtf_terr_char_360list(p_terraccount_rec.category_code);
456: p_rec.interest_type_id := jtf_terr_number_list(p_terraccount_rec.interest_type_id);
457: p_rec.primary_interest_id := jtf_terr_number_list(p_terraccount_rec.primary_interest_id);
458: p_rec.secondary_interest_id := jtf_terr_number_list(p_terraccount_rec.secondary_interest_id);
459: p_rec.area_code := jtf_terr_char_360list(p_terraccount_rec.area_code);
460: p_rec.comp_name_range := jtf_terr_char_360list(p_terraccount_rec.comp_name_range);
461: p_rec.partner_id := jtf_terr_number_list(p_terraccount_rec.partner_id);
462: p_rec.num_of_employees := jtf_terr_number_list(p_terraccount_rec.num_of_employees);
463: p_rec.category_code := jtf_terr_char_360list(p_terraccount_rec.category_code);
464: p_rec.party_relationship_id := jtf_terr_number_list(p_terraccount_rec.party_relationship_id);
459: p_rec.area_code := jtf_terr_char_360list(p_terraccount_rec.area_code);
460: p_rec.comp_name_range := jtf_terr_char_360list(p_terraccount_rec.comp_name_range);
461: p_rec.partner_id := jtf_terr_number_list(p_terraccount_rec.partner_id);
462: p_rec.num_of_employees := jtf_terr_number_list(p_terraccount_rec.num_of_employees);
463: p_rec.category_code := jtf_terr_char_360list(p_terraccount_rec.category_code);
464: p_rec.party_relationship_id := jtf_terr_number_list(p_terraccount_rec.party_relationship_id);
465: p_rec.sic_code := jtf_terr_char_360list(p_terraccount_rec.sic_code);
466: p_rec.attribute1 := jtf_terr_char_360list(p_terraccount_rec.attribute1);
467: p_rec.attribute2 := jtf_terr_char_360list(p_terraccount_rec.attribute2);
461: p_rec.partner_id := jtf_terr_number_list(p_terraccount_rec.partner_id);
462: p_rec.num_of_employees := jtf_terr_number_list(p_terraccount_rec.num_of_employees);
463: p_rec.category_code := jtf_terr_char_360list(p_terraccount_rec.category_code);
464: p_rec.party_relationship_id := jtf_terr_number_list(p_terraccount_rec.party_relationship_id);
465: p_rec.sic_code := jtf_terr_char_360list(p_terraccount_rec.sic_code);
466: p_rec.attribute1 := jtf_terr_char_360list(p_terraccount_rec.attribute1);
467: p_rec.attribute2 := jtf_terr_char_360list(p_terraccount_rec.attribute2);
468: p_rec.attribute3 := jtf_terr_char_360list(p_terraccount_rec.attribute3);
469: p_rec.attribute4 := jtf_terr_char_360list(p_terraccount_rec.attribute4);
462: p_rec.num_of_employees := jtf_terr_number_list(p_terraccount_rec.num_of_employees);
463: p_rec.category_code := jtf_terr_char_360list(p_terraccount_rec.category_code);
464: p_rec.party_relationship_id := jtf_terr_number_list(p_terraccount_rec.party_relationship_id);
465: p_rec.sic_code := jtf_terr_char_360list(p_terraccount_rec.sic_code);
466: p_rec.attribute1 := jtf_terr_char_360list(p_terraccount_rec.attribute1);
467: p_rec.attribute2 := jtf_terr_char_360list(p_terraccount_rec.attribute2);
468: p_rec.attribute3 := jtf_terr_char_360list(p_terraccount_rec.attribute3);
469: p_rec.attribute4 := jtf_terr_char_360list(p_terraccount_rec.attribute4);
470: p_rec.attribute5 := jtf_terr_char_360list(p_terraccount_rec.attribute5);
463: p_rec.category_code := jtf_terr_char_360list(p_terraccount_rec.category_code);
464: p_rec.party_relationship_id := jtf_terr_number_list(p_terraccount_rec.party_relationship_id);
465: p_rec.sic_code := jtf_terr_char_360list(p_terraccount_rec.sic_code);
466: p_rec.attribute1 := jtf_terr_char_360list(p_terraccount_rec.attribute1);
467: p_rec.attribute2 := jtf_terr_char_360list(p_terraccount_rec.attribute2);
468: p_rec.attribute3 := jtf_terr_char_360list(p_terraccount_rec.attribute3);
469: p_rec.attribute4 := jtf_terr_char_360list(p_terraccount_rec.attribute4);
470: p_rec.attribute5 := jtf_terr_char_360list(p_terraccount_rec.attribute5);
471: p_rec.attribute6 := jtf_terr_char_360list(p_terraccount_rec.attribute6);
464: p_rec.party_relationship_id := jtf_terr_number_list(p_terraccount_rec.party_relationship_id);
465: p_rec.sic_code := jtf_terr_char_360list(p_terraccount_rec.sic_code);
466: p_rec.attribute1 := jtf_terr_char_360list(p_terraccount_rec.attribute1);
467: p_rec.attribute2 := jtf_terr_char_360list(p_terraccount_rec.attribute2);
468: p_rec.attribute3 := jtf_terr_char_360list(p_terraccount_rec.attribute3);
469: p_rec.attribute4 := jtf_terr_char_360list(p_terraccount_rec.attribute4);
470: p_rec.attribute5 := jtf_terr_char_360list(p_terraccount_rec.attribute5);
471: p_rec.attribute6 := jtf_terr_char_360list(p_terraccount_rec.attribute6);
472: p_rec.attribute7 := jtf_terr_char_360list(p_terraccount_rec.attribute7);
465: p_rec.sic_code := jtf_terr_char_360list(p_terraccount_rec.sic_code);
466: p_rec.attribute1 := jtf_terr_char_360list(p_terraccount_rec.attribute1);
467: p_rec.attribute2 := jtf_terr_char_360list(p_terraccount_rec.attribute2);
468: p_rec.attribute3 := jtf_terr_char_360list(p_terraccount_rec.attribute3);
469: p_rec.attribute4 := jtf_terr_char_360list(p_terraccount_rec.attribute4);
470: p_rec.attribute5 := jtf_terr_char_360list(p_terraccount_rec.attribute5);
471: p_rec.attribute6 := jtf_terr_char_360list(p_terraccount_rec.attribute6);
472: p_rec.attribute7 := jtf_terr_char_360list(p_terraccount_rec.attribute7);
473: p_rec.attribute8 := jtf_terr_char_360list(p_terraccount_rec.attribute8);
466: p_rec.attribute1 := jtf_terr_char_360list(p_terraccount_rec.attribute1);
467: p_rec.attribute2 := jtf_terr_char_360list(p_terraccount_rec.attribute2);
468: p_rec.attribute3 := jtf_terr_char_360list(p_terraccount_rec.attribute3);
469: p_rec.attribute4 := jtf_terr_char_360list(p_terraccount_rec.attribute4);
470: p_rec.attribute5 := jtf_terr_char_360list(p_terraccount_rec.attribute5);
471: p_rec.attribute6 := jtf_terr_char_360list(p_terraccount_rec.attribute6);
472: p_rec.attribute7 := jtf_terr_char_360list(p_terraccount_rec.attribute7);
473: p_rec.attribute8 := jtf_terr_char_360list(p_terraccount_rec.attribute8);
474: p_rec.attribute9 := jtf_terr_char_360list(p_terraccount_rec.attribute9);
467: p_rec.attribute2 := jtf_terr_char_360list(p_terraccount_rec.attribute2);
468: p_rec.attribute3 := jtf_terr_char_360list(p_terraccount_rec.attribute3);
469: p_rec.attribute4 := jtf_terr_char_360list(p_terraccount_rec.attribute4);
470: p_rec.attribute5 := jtf_terr_char_360list(p_terraccount_rec.attribute5);
471: p_rec.attribute6 := jtf_terr_char_360list(p_terraccount_rec.attribute6);
472: p_rec.attribute7 := jtf_terr_char_360list(p_terraccount_rec.attribute7);
473: p_rec.attribute8 := jtf_terr_char_360list(p_terraccount_rec.attribute8);
474: p_rec.attribute9 := jtf_terr_char_360list(p_terraccount_rec.attribute9);
475: p_rec.attribute10 := jtf_terr_char_360list(p_terraccount_rec.attribute10);
468: p_rec.attribute3 := jtf_terr_char_360list(p_terraccount_rec.attribute3);
469: p_rec.attribute4 := jtf_terr_char_360list(p_terraccount_rec.attribute4);
470: p_rec.attribute5 := jtf_terr_char_360list(p_terraccount_rec.attribute5);
471: p_rec.attribute6 := jtf_terr_char_360list(p_terraccount_rec.attribute6);
472: p_rec.attribute7 := jtf_terr_char_360list(p_terraccount_rec.attribute7);
473: p_rec.attribute8 := jtf_terr_char_360list(p_terraccount_rec.attribute8);
474: p_rec.attribute9 := jtf_terr_char_360list(p_terraccount_rec.attribute9);
475: p_rec.attribute10 := jtf_terr_char_360list(p_terraccount_rec.attribute10);
476: p_rec.attribute11 := jtf_terr_char_360list(p_terraccount_rec.attribute11);
469: p_rec.attribute4 := jtf_terr_char_360list(p_terraccount_rec.attribute4);
470: p_rec.attribute5 := jtf_terr_char_360list(p_terraccount_rec.attribute5);
471: p_rec.attribute6 := jtf_terr_char_360list(p_terraccount_rec.attribute6);
472: p_rec.attribute7 := jtf_terr_char_360list(p_terraccount_rec.attribute7);
473: p_rec.attribute8 := jtf_terr_char_360list(p_terraccount_rec.attribute8);
474: p_rec.attribute9 := jtf_terr_char_360list(p_terraccount_rec.attribute9);
475: p_rec.attribute10 := jtf_terr_char_360list(p_terraccount_rec.attribute10);
476: p_rec.attribute11 := jtf_terr_char_360list(p_terraccount_rec.attribute11);
477: p_rec.attribute12 := jtf_terr_char_360list(p_terraccount_rec.attribute12);
470: p_rec.attribute5 := jtf_terr_char_360list(p_terraccount_rec.attribute5);
471: p_rec.attribute6 := jtf_terr_char_360list(p_terraccount_rec.attribute6);
472: p_rec.attribute7 := jtf_terr_char_360list(p_terraccount_rec.attribute7);
473: p_rec.attribute8 := jtf_terr_char_360list(p_terraccount_rec.attribute8);
474: p_rec.attribute9 := jtf_terr_char_360list(p_terraccount_rec.attribute9);
475: p_rec.attribute10 := jtf_terr_char_360list(p_terraccount_rec.attribute10);
476: p_rec.attribute11 := jtf_terr_char_360list(p_terraccount_rec.attribute11);
477: p_rec.attribute12 := jtf_terr_char_360list(p_terraccount_rec.attribute12);
478: p_rec.attribute13 := jtf_terr_char_360list(p_terraccount_rec.attribute13);
471: p_rec.attribute6 := jtf_terr_char_360list(p_terraccount_rec.attribute6);
472: p_rec.attribute7 := jtf_terr_char_360list(p_terraccount_rec.attribute7);
473: p_rec.attribute8 := jtf_terr_char_360list(p_terraccount_rec.attribute8);
474: p_rec.attribute9 := jtf_terr_char_360list(p_terraccount_rec.attribute9);
475: p_rec.attribute10 := jtf_terr_char_360list(p_terraccount_rec.attribute10);
476: p_rec.attribute11 := jtf_terr_char_360list(p_terraccount_rec.attribute11);
477: p_rec.attribute12 := jtf_terr_char_360list(p_terraccount_rec.attribute12);
478: p_rec.attribute13 := jtf_terr_char_360list(p_terraccount_rec.attribute13);
479: p_rec.attribute14 := jtf_terr_char_360list(p_terraccount_rec.attribute14);
472: p_rec.attribute7 := jtf_terr_char_360list(p_terraccount_rec.attribute7);
473: p_rec.attribute8 := jtf_terr_char_360list(p_terraccount_rec.attribute8);
474: p_rec.attribute9 := jtf_terr_char_360list(p_terraccount_rec.attribute9);
475: p_rec.attribute10 := jtf_terr_char_360list(p_terraccount_rec.attribute10);
476: p_rec.attribute11 := jtf_terr_char_360list(p_terraccount_rec.attribute11);
477: p_rec.attribute12 := jtf_terr_char_360list(p_terraccount_rec.attribute12);
478: p_rec.attribute13 := jtf_terr_char_360list(p_terraccount_rec.attribute13);
479: p_rec.attribute14 := jtf_terr_char_360list(p_terraccount_rec.attribute14);
480: p_rec.attribute15 := jtf_terr_char_360list(p_terraccount_rec.attribute15);
473: p_rec.attribute8 := jtf_terr_char_360list(p_terraccount_rec.attribute8);
474: p_rec.attribute9 := jtf_terr_char_360list(p_terraccount_rec.attribute9);
475: p_rec.attribute10 := jtf_terr_char_360list(p_terraccount_rec.attribute10);
476: p_rec.attribute11 := jtf_terr_char_360list(p_terraccount_rec.attribute11);
477: p_rec.attribute12 := jtf_terr_char_360list(p_terraccount_rec.attribute12);
478: p_rec.attribute13 := jtf_terr_char_360list(p_terraccount_rec.attribute13);
479: p_rec.attribute14 := jtf_terr_char_360list(p_terraccount_rec.attribute14);
480: p_rec.attribute15 := jtf_terr_char_360list(p_terraccount_rec.attribute15);
481:
474: p_rec.attribute9 := jtf_terr_char_360list(p_terraccount_rec.attribute9);
475: p_rec.attribute10 := jtf_terr_char_360list(p_terraccount_rec.attribute10);
476: p_rec.attribute11 := jtf_terr_char_360list(p_terraccount_rec.attribute11);
477: p_rec.attribute12 := jtf_terr_char_360list(p_terraccount_rec.attribute12);
478: p_rec.attribute13 := jtf_terr_char_360list(p_terraccount_rec.attribute13);
479: p_rec.attribute14 := jtf_terr_char_360list(p_terraccount_rec.attribute14);
480: p_rec.attribute15 := jtf_terr_char_360list(p_terraccount_rec.attribute15);
481:
482:
475: p_rec.attribute10 := jtf_terr_char_360list(p_terraccount_rec.attribute10);
476: p_rec.attribute11 := jtf_terr_char_360list(p_terraccount_rec.attribute11);
477: p_rec.attribute12 := jtf_terr_char_360list(p_terraccount_rec.attribute12);
478: p_rec.attribute13 := jtf_terr_char_360list(p_terraccount_rec.attribute13);
479: p_rec.attribute14 := jtf_terr_char_360list(p_terraccount_rec.attribute14);
480: p_rec.attribute15 := jtf_terr_char_360list(p_terraccount_rec.attribute15);
481:
482:
483: JTF_TERR_SALES_PUB.Get_WinningTerrMembers(
476: p_rec.attribute11 := jtf_terr_char_360list(p_terraccount_rec.attribute11);
477: p_rec.attribute12 := jtf_terr_char_360list(p_terraccount_rec.attribute12);
478: p_rec.attribute13 := jtf_terr_char_360list(p_terraccount_rec.attribute13);
479: p_rec.attribute14 := jtf_terr_char_360list(p_terraccount_rec.attribute14);
480: p_rec.attribute15 := jtf_terr_char_360list(p_terraccount_rec.attribute15);
481:
482:
483: JTF_TERR_SALES_PUB.Get_WinningTerrMembers(
484: P_Api_Version_Number => P_Api_Version_Number,
551:
552: BEGIN
553:
554: /* initialise BULK tables with SINGLE record values */
555: p_Rec.POSTAL_CODE := jtf_terr_char_360list(p_terracct_rec.postal_code);
556: p_Rec.PARTY_ID := jtf_terr_number_list(p_terracct_rec.party_id);
557: p_Rec.PARTY_SITE_ID := jtf_terr_number_list(p_terracct_rec.party_site_id);
558: p_rec.city := jtf_terr_char_360list(p_terracct_rec.city);
559: p_Rec.postal_code := jtf_terr_char_360list(p_terracct_rec.postal_code);
554: /* initialise BULK tables with SINGLE record values */
555: p_Rec.POSTAL_CODE := jtf_terr_char_360list(p_terracct_rec.postal_code);
556: p_Rec.PARTY_ID := jtf_terr_number_list(p_terracct_rec.party_id);
557: p_Rec.PARTY_SITE_ID := jtf_terr_number_list(p_terracct_rec.party_site_id);
558: p_rec.city := jtf_terr_char_360list(p_terracct_rec.city);
559: p_Rec.postal_code := jtf_terr_char_360list(p_terracct_rec.postal_code);
560: p_rec.state := jtf_terr_char_360list(p_terracct_rec.state);
561: p_rec.province := jtf_terr_char_360list(p_terracct_rec.province);
562: p_rec.county := jtf_terr_char_360list(p_terracct_rec.county);
555: p_Rec.POSTAL_CODE := jtf_terr_char_360list(p_terracct_rec.postal_code);
556: p_Rec.PARTY_ID := jtf_terr_number_list(p_terracct_rec.party_id);
557: p_Rec.PARTY_SITE_ID := jtf_terr_number_list(p_terracct_rec.party_site_id);
558: p_rec.city := jtf_terr_char_360list(p_terracct_rec.city);
559: p_Rec.postal_code := jtf_terr_char_360list(p_terracct_rec.postal_code);
560: p_rec.state := jtf_terr_char_360list(p_terracct_rec.state);
561: p_rec.province := jtf_terr_char_360list(p_terracct_rec.province);
562: p_rec.county := jtf_terr_char_360list(p_terracct_rec.county);
563: p_rec.country := jtf_terr_char_360list(p_terracct_rec.country);
556: p_Rec.PARTY_ID := jtf_terr_number_list(p_terracct_rec.party_id);
557: p_Rec.PARTY_SITE_ID := jtf_terr_number_list(p_terracct_rec.party_site_id);
558: p_rec.city := jtf_terr_char_360list(p_terracct_rec.city);
559: p_Rec.postal_code := jtf_terr_char_360list(p_terracct_rec.postal_code);
560: p_rec.state := jtf_terr_char_360list(p_terracct_rec.state);
561: p_rec.province := jtf_terr_char_360list(p_terracct_rec.province);
562: p_rec.county := jtf_terr_char_360list(p_terracct_rec.county);
563: p_rec.country := jtf_terr_char_360list(p_terracct_rec.country);
564: p_rec.interest_type_id := jtf_terr_number_list(p_terracct_rec.interest_type_id);
557: p_Rec.PARTY_SITE_ID := jtf_terr_number_list(p_terracct_rec.party_site_id);
558: p_rec.city := jtf_terr_char_360list(p_terracct_rec.city);
559: p_Rec.postal_code := jtf_terr_char_360list(p_terracct_rec.postal_code);
560: p_rec.state := jtf_terr_char_360list(p_terracct_rec.state);
561: p_rec.province := jtf_terr_char_360list(p_terracct_rec.province);
562: p_rec.county := jtf_terr_char_360list(p_terracct_rec.county);
563: p_rec.country := jtf_terr_char_360list(p_terracct_rec.country);
564: p_rec.interest_type_id := jtf_terr_number_list(p_terracct_rec.interest_type_id);
565: p_rec.primary_interest_id := jtf_terr_number_list(p_terracct_rec.primary_interest_id);
558: p_rec.city := jtf_terr_char_360list(p_terracct_rec.city);
559: p_Rec.postal_code := jtf_terr_char_360list(p_terracct_rec.postal_code);
560: p_rec.state := jtf_terr_char_360list(p_terracct_rec.state);
561: p_rec.province := jtf_terr_char_360list(p_terracct_rec.province);
562: p_rec.county := jtf_terr_char_360list(p_terracct_rec.county);
563: p_rec.country := jtf_terr_char_360list(p_terracct_rec.country);
564: p_rec.interest_type_id := jtf_terr_number_list(p_terracct_rec.interest_type_id);
565: p_rec.primary_interest_id := jtf_terr_number_list(p_terracct_rec.primary_interest_id);
566: p_rec.secondary_interest_id := jtf_terr_number_list(p_terracct_rec.secondary_interest_id);
559: p_Rec.postal_code := jtf_terr_char_360list(p_terracct_rec.postal_code);
560: p_rec.state := jtf_terr_char_360list(p_terracct_rec.state);
561: p_rec.province := jtf_terr_char_360list(p_terracct_rec.province);
562: p_rec.county := jtf_terr_char_360list(p_terracct_rec.county);
563: p_rec.country := jtf_terr_char_360list(p_terracct_rec.country);
564: p_rec.interest_type_id := jtf_terr_number_list(p_terracct_rec.interest_type_id);
565: p_rec.primary_interest_id := jtf_terr_number_list(p_terracct_rec.primary_interest_id);
566: p_rec.secondary_interest_id := jtf_terr_number_list(p_terracct_rec.secondary_interest_id);
567: p_rec.area_code := jtf_terr_char_360list(p_terracct_rec.area_code);
563: p_rec.country := jtf_terr_char_360list(p_terracct_rec.country);
564: p_rec.interest_type_id := jtf_terr_number_list(p_terracct_rec.interest_type_id);
565: p_rec.primary_interest_id := jtf_terr_number_list(p_terracct_rec.primary_interest_id);
566: p_rec.secondary_interest_id := jtf_terr_number_list(p_terracct_rec.secondary_interest_id);
567: p_rec.area_code := jtf_terr_char_360list(p_terracct_rec.area_code);
568: p_rec.comp_name_range := jtf_terr_char_360list(p_terracct_rec.comp_name_range);
569: p_rec.partner_id := jtf_terr_number_list(p_terracct_rec.partner_id);
570: p_rec.num_of_employees := jtf_terr_number_list(p_terracct_rec.num_of_employees);
571: p_rec.category_code := jtf_terr_char_360list(p_terracct_rec.category_code);
564: p_rec.interest_type_id := jtf_terr_number_list(p_terracct_rec.interest_type_id);
565: p_rec.primary_interest_id := jtf_terr_number_list(p_terracct_rec.primary_interest_id);
566: p_rec.secondary_interest_id := jtf_terr_number_list(p_terracct_rec.secondary_interest_id);
567: p_rec.area_code := jtf_terr_char_360list(p_terracct_rec.area_code);
568: p_rec.comp_name_range := jtf_terr_char_360list(p_terracct_rec.comp_name_range);
569: p_rec.partner_id := jtf_terr_number_list(p_terracct_rec.partner_id);
570: p_rec.num_of_employees := jtf_terr_number_list(p_terracct_rec.num_of_employees);
571: p_rec.category_code := jtf_terr_char_360list(p_terracct_rec.category_code);
572: p_rec.party_relationship_id := jtf_terr_number_list(p_terracct_rec.party_relationship_id);
567: p_rec.area_code := jtf_terr_char_360list(p_terracct_rec.area_code);
568: p_rec.comp_name_range := jtf_terr_char_360list(p_terracct_rec.comp_name_range);
569: p_rec.partner_id := jtf_terr_number_list(p_terracct_rec.partner_id);
570: p_rec.num_of_employees := jtf_terr_number_list(p_terracct_rec.num_of_employees);
571: p_rec.category_code := jtf_terr_char_360list(p_terracct_rec.category_code);
572: p_rec.party_relationship_id := jtf_terr_number_list(p_terracct_rec.party_relationship_id);
573: p_rec.sic_code := jtf_terr_char_360list(p_terracct_rec.sic_code);
574: p_rec.attribute1 := jtf_terr_char_360list(p_terracct_rec.attribute1);
575: p_rec.attribute2 := jtf_terr_char_360list(p_terracct_rec.attribute2);
569: p_rec.partner_id := jtf_terr_number_list(p_terracct_rec.partner_id);
570: p_rec.num_of_employees := jtf_terr_number_list(p_terracct_rec.num_of_employees);
571: p_rec.category_code := jtf_terr_char_360list(p_terracct_rec.category_code);
572: p_rec.party_relationship_id := jtf_terr_number_list(p_terracct_rec.party_relationship_id);
573: p_rec.sic_code := jtf_terr_char_360list(p_terracct_rec.sic_code);
574: p_rec.attribute1 := jtf_terr_char_360list(p_terracct_rec.attribute1);
575: p_rec.attribute2 := jtf_terr_char_360list(p_terracct_rec.attribute2);
576: p_rec.attribute3 := jtf_terr_char_360list(p_terracct_rec.attribute3);
577: p_rec.attribute4 := jtf_terr_char_360list(p_terracct_rec.attribute4);
570: p_rec.num_of_employees := jtf_terr_number_list(p_terracct_rec.num_of_employees);
571: p_rec.category_code := jtf_terr_char_360list(p_terracct_rec.category_code);
572: p_rec.party_relationship_id := jtf_terr_number_list(p_terracct_rec.party_relationship_id);
573: p_rec.sic_code := jtf_terr_char_360list(p_terracct_rec.sic_code);
574: p_rec.attribute1 := jtf_terr_char_360list(p_terracct_rec.attribute1);
575: p_rec.attribute2 := jtf_terr_char_360list(p_terracct_rec.attribute2);
576: p_rec.attribute3 := jtf_terr_char_360list(p_terracct_rec.attribute3);
577: p_rec.attribute4 := jtf_terr_char_360list(p_terracct_rec.attribute4);
578: p_rec.attribute5 := jtf_terr_char_360list(p_terracct_rec.attribute5);
571: p_rec.category_code := jtf_terr_char_360list(p_terracct_rec.category_code);
572: p_rec.party_relationship_id := jtf_terr_number_list(p_terracct_rec.party_relationship_id);
573: p_rec.sic_code := jtf_terr_char_360list(p_terracct_rec.sic_code);
574: p_rec.attribute1 := jtf_terr_char_360list(p_terracct_rec.attribute1);
575: p_rec.attribute2 := jtf_terr_char_360list(p_terracct_rec.attribute2);
576: p_rec.attribute3 := jtf_terr_char_360list(p_terracct_rec.attribute3);
577: p_rec.attribute4 := jtf_terr_char_360list(p_terracct_rec.attribute4);
578: p_rec.attribute5 := jtf_terr_char_360list(p_terracct_rec.attribute5);
579: p_rec.attribute6 := jtf_terr_char_360list(p_terracct_rec.attribute6);
572: p_rec.party_relationship_id := jtf_terr_number_list(p_terracct_rec.party_relationship_id);
573: p_rec.sic_code := jtf_terr_char_360list(p_terracct_rec.sic_code);
574: p_rec.attribute1 := jtf_terr_char_360list(p_terracct_rec.attribute1);
575: p_rec.attribute2 := jtf_terr_char_360list(p_terracct_rec.attribute2);
576: p_rec.attribute3 := jtf_terr_char_360list(p_terracct_rec.attribute3);
577: p_rec.attribute4 := jtf_terr_char_360list(p_terracct_rec.attribute4);
578: p_rec.attribute5 := jtf_terr_char_360list(p_terracct_rec.attribute5);
579: p_rec.attribute6 := jtf_terr_char_360list(p_terracct_rec.attribute6);
580: p_rec.attribute7 := jtf_terr_char_360list(p_terracct_rec.attribute7);
573: p_rec.sic_code := jtf_terr_char_360list(p_terracct_rec.sic_code);
574: p_rec.attribute1 := jtf_terr_char_360list(p_terracct_rec.attribute1);
575: p_rec.attribute2 := jtf_terr_char_360list(p_terracct_rec.attribute2);
576: p_rec.attribute3 := jtf_terr_char_360list(p_terracct_rec.attribute3);
577: p_rec.attribute4 := jtf_terr_char_360list(p_terracct_rec.attribute4);
578: p_rec.attribute5 := jtf_terr_char_360list(p_terracct_rec.attribute5);
579: p_rec.attribute6 := jtf_terr_char_360list(p_terracct_rec.attribute6);
580: p_rec.attribute7 := jtf_terr_char_360list(p_terracct_rec.attribute7);
581: p_rec.attribute8 := jtf_terr_char_360list(p_terracct_rec.attribute8);
574: p_rec.attribute1 := jtf_terr_char_360list(p_terracct_rec.attribute1);
575: p_rec.attribute2 := jtf_terr_char_360list(p_terracct_rec.attribute2);
576: p_rec.attribute3 := jtf_terr_char_360list(p_terracct_rec.attribute3);
577: p_rec.attribute4 := jtf_terr_char_360list(p_terracct_rec.attribute4);
578: p_rec.attribute5 := jtf_terr_char_360list(p_terracct_rec.attribute5);
579: p_rec.attribute6 := jtf_terr_char_360list(p_terracct_rec.attribute6);
580: p_rec.attribute7 := jtf_terr_char_360list(p_terracct_rec.attribute7);
581: p_rec.attribute8 := jtf_terr_char_360list(p_terracct_rec.attribute8);
582: p_rec.attribute9 := jtf_terr_char_360list(p_terracct_rec.attribute9);
575: p_rec.attribute2 := jtf_terr_char_360list(p_terracct_rec.attribute2);
576: p_rec.attribute3 := jtf_terr_char_360list(p_terracct_rec.attribute3);
577: p_rec.attribute4 := jtf_terr_char_360list(p_terracct_rec.attribute4);
578: p_rec.attribute5 := jtf_terr_char_360list(p_terracct_rec.attribute5);
579: p_rec.attribute6 := jtf_terr_char_360list(p_terracct_rec.attribute6);
580: p_rec.attribute7 := jtf_terr_char_360list(p_terracct_rec.attribute7);
581: p_rec.attribute8 := jtf_terr_char_360list(p_terracct_rec.attribute8);
582: p_rec.attribute9 := jtf_terr_char_360list(p_terracct_rec.attribute9);
583: p_rec.attribute10 := jtf_terr_char_360list(p_terracct_rec.attribute10);
576: p_rec.attribute3 := jtf_terr_char_360list(p_terracct_rec.attribute3);
577: p_rec.attribute4 := jtf_terr_char_360list(p_terracct_rec.attribute4);
578: p_rec.attribute5 := jtf_terr_char_360list(p_terracct_rec.attribute5);
579: p_rec.attribute6 := jtf_terr_char_360list(p_terracct_rec.attribute6);
580: p_rec.attribute7 := jtf_terr_char_360list(p_terracct_rec.attribute7);
581: p_rec.attribute8 := jtf_terr_char_360list(p_terracct_rec.attribute8);
582: p_rec.attribute9 := jtf_terr_char_360list(p_terracct_rec.attribute9);
583: p_rec.attribute10 := jtf_terr_char_360list(p_terracct_rec.attribute10);
584: p_rec.attribute11 := jtf_terr_char_360list(p_terracct_rec.attribute11);
577: p_rec.attribute4 := jtf_terr_char_360list(p_terracct_rec.attribute4);
578: p_rec.attribute5 := jtf_terr_char_360list(p_terracct_rec.attribute5);
579: p_rec.attribute6 := jtf_terr_char_360list(p_terracct_rec.attribute6);
580: p_rec.attribute7 := jtf_terr_char_360list(p_terracct_rec.attribute7);
581: p_rec.attribute8 := jtf_terr_char_360list(p_terracct_rec.attribute8);
582: p_rec.attribute9 := jtf_terr_char_360list(p_terracct_rec.attribute9);
583: p_rec.attribute10 := jtf_terr_char_360list(p_terracct_rec.attribute10);
584: p_rec.attribute11 := jtf_terr_char_360list(p_terracct_rec.attribute11);
585: p_rec.attribute12 := jtf_terr_char_360list(p_terracct_rec.attribute12);
578: p_rec.attribute5 := jtf_terr_char_360list(p_terracct_rec.attribute5);
579: p_rec.attribute6 := jtf_terr_char_360list(p_terracct_rec.attribute6);
580: p_rec.attribute7 := jtf_terr_char_360list(p_terracct_rec.attribute7);
581: p_rec.attribute8 := jtf_terr_char_360list(p_terracct_rec.attribute8);
582: p_rec.attribute9 := jtf_terr_char_360list(p_terracct_rec.attribute9);
583: p_rec.attribute10 := jtf_terr_char_360list(p_terracct_rec.attribute10);
584: p_rec.attribute11 := jtf_terr_char_360list(p_terracct_rec.attribute11);
585: p_rec.attribute12 := jtf_terr_char_360list(p_terracct_rec.attribute12);
586: p_rec.attribute13 := jtf_terr_char_360list(p_terracct_rec.attribute13);
579: p_rec.attribute6 := jtf_terr_char_360list(p_terracct_rec.attribute6);
580: p_rec.attribute7 := jtf_terr_char_360list(p_terracct_rec.attribute7);
581: p_rec.attribute8 := jtf_terr_char_360list(p_terracct_rec.attribute8);
582: p_rec.attribute9 := jtf_terr_char_360list(p_terracct_rec.attribute9);
583: p_rec.attribute10 := jtf_terr_char_360list(p_terracct_rec.attribute10);
584: p_rec.attribute11 := jtf_terr_char_360list(p_terracct_rec.attribute11);
585: p_rec.attribute12 := jtf_terr_char_360list(p_terracct_rec.attribute12);
586: p_rec.attribute13 := jtf_terr_char_360list(p_terracct_rec.attribute13);
587: p_rec.attribute14 := jtf_terr_char_360list(p_terracct_rec.attribute14);
580: p_rec.attribute7 := jtf_terr_char_360list(p_terracct_rec.attribute7);
581: p_rec.attribute8 := jtf_terr_char_360list(p_terracct_rec.attribute8);
582: p_rec.attribute9 := jtf_terr_char_360list(p_terracct_rec.attribute9);
583: p_rec.attribute10 := jtf_terr_char_360list(p_terracct_rec.attribute10);
584: p_rec.attribute11 := jtf_terr_char_360list(p_terracct_rec.attribute11);
585: p_rec.attribute12 := jtf_terr_char_360list(p_terracct_rec.attribute12);
586: p_rec.attribute13 := jtf_terr_char_360list(p_terracct_rec.attribute13);
587: p_rec.attribute14 := jtf_terr_char_360list(p_terracct_rec.attribute14);
588: p_rec.attribute15 := jtf_terr_char_360list(p_terracct_rec.attribute15);
581: p_rec.attribute8 := jtf_terr_char_360list(p_terracct_rec.attribute8);
582: p_rec.attribute9 := jtf_terr_char_360list(p_terracct_rec.attribute9);
583: p_rec.attribute10 := jtf_terr_char_360list(p_terracct_rec.attribute10);
584: p_rec.attribute11 := jtf_terr_char_360list(p_terracct_rec.attribute11);
585: p_rec.attribute12 := jtf_terr_char_360list(p_terracct_rec.attribute12);
586: p_rec.attribute13 := jtf_terr_char_360list(p_terracct_rec.attribute13);
587: p_rec.attribute14 := jtf_terr_char_360list(p_terracct_rec.attribute14);
588: p_rec.attribute15 := jtf_terr_char_360list(p_terracct_rec.attribute15);
589:
582: p_rec.attribute9 := jtf_terr_char_360list(p_terracct_rec.attribute9);
583: p_rec.attribute10 := jtf_terr_char_360list(p_terracct_rec.attribute10);
584: p_rec.attribute11 := jtf_terr_char_360list(p_terracct_rec.attribute11);
585: p_rec.attribute12 := jtf_terr_char_360list(p_terracct_rec.attribute12);
586: p_rec.attribute13 := jtf_terr_char_360list(p_terracct_rec.attribute13);
587: p_rec.attribute14 := jtf_terr_char_360list(p_terracct_rec.attribute14);
588: p_rec.attribute15 := jtf_terr_char_360list(p_terracct_rec.attribute15);
589:
590: JTF_TERR_SALES_PUB.Get_WinningTerritories( p_api_version_number => 1.0,
583: p_rec.attribute10 := jtf_terr_char_360list(p_terracct_rec.attribute10);
584: p_rec.attribute11 := jtf_terr_char_360list(p_terracct_rec.attribute11);
585: p_rec.attribute12 := jtf_terr_char_360list(p_terracct_rec.attribute12);
586: p_rec.attribute13 := jtf_terr_char_360list(p_terracct_rec.attribute13);
587: p_rec.attribute14 := jtf_terr_char_360list(p_terracct_rec.attribute14);
588: p_rec.attribute15 := jtf_terr_char_360list(p_terracct_rec.attribute15);
589:
590: JTF_TERR_SALES_PUB.Get_WinningTerritories( p_api_version_number => 1.0,
591: p_init_msg_list => p_init_msg_list,
584: p_rec.attribute11 := jtf_terr_char_360list(p_terracct_rec.attribute11);
585: p_rec.attribute12 := jtf_terr_char_360list(p_terracct_rec.attribute12);
586: p_rec.attribute13 := jtf_terr_char_360list(p_terracct_rec.attribute13);
587: p_rec.attribute14 := jtf_terr_char_360list(p_terracct_rec.attribute14);
588: p_rec.attribute15 := jtf_terr_char_360list(p_terracct_rec.attribute15);
589:
590: JTF_TERR_SALES_PUB.Get_WinningTerritories( p_api_version_number => 1.0,
591: p_init_msg_list => p_init_msg_list,
592: x_return_status => x_return_status,
855:
856: /* initialise BULK tables with SINGLE record values */
857: p_Rec.lead_id := jtf_terr_number_list(p_terroppor_rec.lead_id);
858: p_Rec.lead_line_id := jtf_terr_number_list(p_terroppor_rec.lead_line_id);
859: p_rec.city := jtf_terr_char_360list(p_terroppor_rec.city);
860: p_Rec.postal_code := jtf_terr_char_360list(p_terroppor_rec.postal_code);
861: p_rec.state := jtf_terr_char_360list(p_terroppor_rec.state);
862: p_rec.province := jtf_terr_char_360list(p_terroppor_rec.province);
863: p_rec.county := jtf_terr_char_360list(p_terroppor_rec.county);
856: /* initialise BULK tables with SINGLE record values */
857: p_Rec.lead_id := jtf_terr_number_list(p_terroppor_rec.lead_id);
858: p_Rec.lead_line_id := jtf_terr_number_list(p_terroppor_rec.lead_line_id);
859: p_rec.city := jtf_terr_char_360list(p_terroppor_rec.city);
860: p_Rec.postal_code := jtf_terr_char_360list(p_terroppor_rec.postal_code);
861: p_rec.state := jtf_terr_char_360list(p_terroppor_rec.state);
862: p_rec.province := jtf_terr_char_360list(p_terroppor_rec.province);
863: p_rec.county := jtf_terr_char_360list(p_terroppor_rec.county);
864: p_rec.country := jtf_terr_char_360list(p_terroppor_rec.country);
857: p_Rec.lead_id := jtf_terr_number_list(p_terroppor_rec.lead_id);
858: p_Rec.lead_line_id := jtf_terr_number_list(p_terroppor_rec.lead_line_id);
859: p_rec.city := jtf_terr_char_360list(p_terroppor_rec.city);
860: p_Rec.postal_code := jtf_terr_char_360list(p_terroppor_rec.postal_code);
861: p_rec.state := jtf_terr_char_360list(p_terroppor_rec.state);
862: p_rec.province := jtf_terr_char_360list(p_terroppor_rec.province);
863: p_rec.county := jtf_terr_char_360list(p_terroppor_rec.county);
864: p_rec.country := jtf_terr_char_360list(p_terroppor_rec.country);
865: p_rec.interest_type_id := jtf_terr_number_list(p_terroppor_rec.interest_type_id);
858: p_Rec.lead_line_id := jtf_terr_number_list(p_terroppor_rec.lead_line_id);
859: p_rec.city := jtf_terr_char_360list(p_terroppor_rec.city);
860: p_Rec.postal_code := jtf_terr_char_360list(p_terroppor_rec.postal_code);
861: p_rec.state := jtf_terr_char_360list(p_terroppor_rec.state);
862: p_rec.province := jtf_terr_char_360list(p_terroppor_rec.province);
863: p_rec.county := jtf_terr_char_360list(p_terroppor_rec.county);
864: p_rec.country := jtf_terr_char_360list(p_terroppor_rec.country);
865: p_rec.interest_type_id := jtf_terr_number_list(p_terroppor_rec.interest_type_id);
866: p_rec.primary_interest_id := jtf_terr_number_list(p_terroppor_rec.primary_interest_id);
859: p_rec.city := jtf_terr_char_360list(p_terroppor_rec.city);
860: p_Rec.postal_code := jtf_terr_char_360list(p_terroppor_rec.postal_code);
861: p_rec.state := jtf_terr_char_360list(p_terroppor_rec.state);
862: p_rec.province := jtf_terr_char_360list(p_terroppor_rec.province);
863: p_rec.county := jtf_terr_char_360list(p_terroppor_rec.county);
864: p_rec.country := jtf_terr_char_360list(p_terroppor_rec.country);
865: p_rec.interest_type_id := jtf_terr_number_list(p_terroppor_rec.interest_type_id);
866: p_rec.primary_interest_id := jtf_terr_number_list(p_terroppor_rec.primary_interest_id);
867: p_rec.secondary_interest_id := jtf_terr_number_list(p_terroppor_rec.secondary_interest_id);
860: p_Rec.postal_code := jtf_terr_char_360list(p_terroppor_rec.postal_code);
861: p_rec.state := jtf_terr_char_360list(p_terroppor_rec.state);
862: p_rec.province := jtf_terr_char_360list(p_terroppor_rec.province);
863: p_rec.county := jtf_terr_char_360list(p_terroppor_rec.county);
864: p_rec.country := jtf_terr_char_360list(p_terroppor_rec.country);
865: p_rec.interest_type_id := jtf_terr_number_list(p_terroppor_rec.interest_type_id);
866: p_rec.primary_interest_id := jtf_terr_number_list(p_terroppor_rec.primary_interest_id);
867: p_rec.secondary_interest_id := jtf_terr_number_list(p_terroppor_rec.secondary_interest_id);
868: p_Rec.party_id := jtf_terr_number_list(p_terroppor_rec.party_id);
866: p_rec.primary_interest_id := jtf_terr_number_list(p_terroppor_rec.primary_interest_id);
867: p_rec.secondary_interest_id := jtf_terr_number_list(p_terroppor_rec.secondary_interest_id);
868: p_Rec.party_id := jtf_terr_number_list(p_terroppor_rec.party_id);
869: p_Rec.party_site_id := jtf_terr_number_list(p_terroppor_rec.party_site_id);
870: p_rec.area_code := jtf_terr_char_360list(p_terroppor_rec.area_code);
871: p_rec.comp_name_range := jtf_terr_char_360list(p_terroppor_rec.comp_name_range);
872: p_rec.partner_id := jtf_terr_number_list(p_terroppor_rec.partner_id);
873: p_rec.num_of_employees := jtf_terr_number_list(p_terroppor_rec.num_of_employees);
874: p_rec.category_code := jtf_terr_char_360list(p_terroppor_rec.category_code);
867: p_rec.secondary_interest_id := jtf_terr_number_list(p_terroppor_rec.secondary_interest_id);
868: p_Rec.party_id := jtf_terr_number_list(p_terroppor_rec.party_id);
869: p_Rec.party_site_id := jtf_terr_number_list(p_terroppor_rec.party_site_id);
870: p_rec.area_code := jtf_terr_char_360list(p_terroppor_rec.area_code);
871: p_rec.comp_name_range := jtf_terr_char_360list(p_terroppor_rec.comp_name_range);
872: p_rec.partner_id := jtf_terr_number_list(p_terroppor_rec.partner_id);
873: p_rec.num_of_employees := jtf_terr_number_list(p_terroppor_rec.num_of_employees);
874: p_rec.category_code := jtf_terr_char_360list(p_terroppor_rec.category_code);
875: p_rec.party_relationship_id := jtf_terr_number_list(p_terroppor_rec.party_relationship_id);
870: p_rec.area_code := jtf_terr_char_360list(p_terroppor_rec.area_code);
871: p_rec.comp_name_range := jtf_terr_char_360list(p_terroppor_rec.comp_name_range);
872: p_rec.partner_id := jtf_terr_number_list(p_terroppor_rec.partner_id);
873: p_rec.num_of_employees := jtf_terr_number_list(p_terroppor_rec.num_of_employees);
874: p_rec.category_code := jtf_terr_char_360list(p_terroppor_rec.category_code);
875: p_rec.party_relationship_id := jtf_terr_number_list(p_terroppor_rec.party_relationship_id);
876: p_rec.sic_code := jtf_terr_char_360list(p_terroppor_rec.sic_code);
877: p_rec.target_segment_current := jtf_terr_char_360list(p_terroppor_rec.target_segment_current);
878: p_rec.total_amount := jtf_terr_number_list(p_terroppor_rec.total_amount);
872: p_rec.partner_id := jtf_terr_number_list(p_terroppor_rec.partner_id);
873: p_rec.num_of_employees := jtf_terr_number_list(p_terroppor_rec.num_of_employees);
874: p_rec.category_code := jtf_terr_char_360list(p_terroppor_rec.category_code);
875: p_rec.party_relationship_id := jtf_terr_number_list(p_terroppor_rec.party_relationship_id);
876: p_rec.sic_code := jtf_terr_char_360list(p_terroppor_rec.sic_code);
877: p_rec.target_segment_current := jtf_terr_char_360list(p_terroppor_rec.target_segment_current);
878: p_rec.total_amount := jtf_terr_number_list(p_terroppor_rec.total_amount);
879: p_rec.currency_code := jtf_terr_char_360list(p_terroppor_rec.currency_code);
880: p_rec.pricing_date := jtf_terr_date_list(p_terroppor_rec.pricing_date);
873: p_rec.num_of_employees := jtf_terr_number_list(p_terroppor_rec.num_of_employees);
874: p_rec.category_code := jtf_terr_char_360list(p_terroppor_rec.category_code);
875: p_rec.party_relationship_id := jtf_terr_number_list(p_terroppor_rec.party_relationship_id);
876: p_rec.sic_code := jtf_terr_char_360list(p_terroppor_rec.sic_code);
877: p_rec.target_segment_current := jtf_terr_char_360list(p_terroppor_rec.target_segment_current);
878: p_rec.total_amount := jtf_terr_number_list(p_terroppor_rec.total_amount);
879: p_rec.currency_code := jtf_terr_char_360list(p_terroppor_rec.currency_code);
880: p_rec.pricing_date := jtf_terr_date_list(p_terroppor_rec.pricing_date);
881: p_rec.channel_code := jtf_terr_char_360list(p_terroppor_rec.channel_code);
875: p_rec.party_relationship_id := jtf_terr_number_list(p_terroppor_rec.party_relationship_id);
876: p_rec.sic_code := jtf_terr_char_360list(p_terroppor_rec.sic_code);
877: p_rec.target_segment_current := jtf_terr_char_360list(p_terroppor_rec.target_segment_current);
878: p_rec.total_amount := jtf_terr_number_list(p_terroppor_rec.total_amount);
879: p_rec.currency_code := jtf_terr_char_360list(p_terroppor_rec.currency_code);
880: p_rec.pricing_date := jtf_terr_date_list(p_terroppor_rec.pricing_date);
881: p_rec.channel_code := jtf_terr_char_360list(p_terroppor_rec.channel_code);
882: p_rec.inventory_item_id := jtf_terr_number_list(p_terroppor_rec.inventory_item_id);
883: p_rec.opp_interest_type_id := jtf_terr_number_list(p_terroppor_rec.opp_interest_type_id);
877: p_rec.target_segment_current := jtf_terr_char_360list(p_terroppor_rec.target_segment_current);
878: p_rec.total_amount := jtf_terr_number_list(p_terroppor_rec.total_amount);
879: p_rec.currency_code := jtf_terr_char_360list(p_terroppor_rec.currency_code);
880: p_rec.pricing_date := jtf_terr_date_list(p_terroppor_rec.pricing_date);
881: p_rec.channel_code := jtf_terr_char_360list(p_terroppor_rec.channel_code);
882: p_rec.inventory_item_id := jtf_terr_number_list(p_terroppor_rec.inventory_item_id);
883: p_rec.opp_interest_type_id := jtf_terr_number_list(p_terroppor_rec.opp_interest_type_id);
884: p_rec.opp_primary_interest_id := jtf_terr_number_list(p_terroppor_rec.opp_primary_interest_id);
885: p_rec.opp_secondary_interest_id := jtf_terr_number_list(p_terroppor_rec.opp_secondary_interest_id);
885: p_rec.opp_secondary_interest_id := jtf_terr_number_list(p_terroppor_rec.opp_secondary_interest_id);
886: p_rec.opclss_interest_type_id := jtf_terr_number_list(p_terroppor_rec.opclss_interest_type_id);
887: p_rec.opclss_primary_interest_id := jtf_terr_number_list(p_terroppor_rec.opclss_primary_interest_id);
888: p_rec.opclss_secondary_interest_id := jtf_terr_number_list(p_terroppor_rec.opclss_secondary_interest_id);
889: p_rec.attribute1 := jtf_terr_char_360list(p_terroppor_rec.attribute1);
890: p_rec.attribute2 := jtf_terr_char_360list(p_terroppor_rec.attribute2);
891: p_rec.attribute3 := jtf_terr_char_360list(p_terroppor_rec.attribute3);
892: p_rec.attribute4 := jtf_terr_char_360list(p_terroppor_rec.attribute4);
893: p_rec.attribute5 := jtf_terr_char_360list(p_terroppor_rec.attribute5);
886: p_rec.opclss_interest_type_id := jtf_terr_number_list(p_terroppor_rec.opclss_interest_type_id);
887: p_rec.opclss_primary_interest_id := jtf_terr_number_list(p_terroppor_rec.opclss_primary_interest_id);
888: p_rec.opclss_secondary_interest_id := jtf_terr_number_list(p_terroppor_rec.opclss_secondary_interest_id);
889: p_rec.attribute1 := jtf_terr_char_360list(p_terroppor_rec.attribute1);
890: p_rec.attribute2 := jtf_terr_char_360list(p_terroppor_rec.attribute2);
891: p_rec.attribute3 := jtf_terr_char_360list(p_terroppor_rec.attribute3);
892: p_rec.attribute4 := jtf_terr_char_360list(p_terroppor_rec.attribute4);
893: p_rec.attribute5 := jtf_terr_char_360list(p_terroppor_rec.attribute5);
894: p_rec.attribute6 := jtf_terr_char_360list(p_terroppor_rec.attribute6);
887: p_rec.opclss_primary_interest_id := jtf_terr_number_list(p_terroppor_rec.opclss_primary_interest_id);
888: p_rec.opclss_secondary_interest_id := jtf_terr_number_list(p_terroppor_rec.opclss_secondary_interest_id);
889: p_rec.attribute1 := jtf_terr_char_360list(p_terroppor_rec.attribute1);
890: p_rec.attribute2 := jtf_terr_char_360list(p_terroppor_rec.attribute2);
891: p_rec.attribute3 := jtf_terr_char_360list(p_terroppor_rec.attribute3);
892: p_rec.attribute4 := jtf_terr_char_360list(p_terroppor_rec.attribute4);
893: p_rec.attribute5 := jtf_terr_char_360list(p_terroppor_rec.attribute5);
894: p_rec.attribute6 := jtf_terr_char_360list(p_terroppor_rec.attribute6);
895: p_rec.attribute7 := jtf_terr_char_360list(p_terroppor_rec.attribute7);
888: p_rec.opclss_secondary_interest_id := jtf_terr_number_list(p_terroppor_rec.opclss_secondary_interest_id);
889: p_rec.attribute1 := jtf_terr_char_360list(p_terroppor_rec.attribute1);
890: p_rec.attribute2 := jtf_terr_char_360list(p_terroppor_rec.attribute2);
891: p_rec.attribute3 := jtf_terr_char_360list(p_terroppor_rec.attribute3);
892: p_rec.attribute4 := jtf_terr_char_360list(p_terroppor_rec.attribute4);
893: p_rec.attribute5 := jtf_terr_char_360list(p_terroppor_rec.attribute5);
894: p_rec.attribute6 := jtf_terr_char_360list(p_terroppor_rec.attribute6);
895: p_rec.attribute7 := jtf_terr_char_360list(p_terroppor_rec.attribute7);
896: p_rec.attribute8 := jtf_terr_char_360list(p_terroppor_rec.attribute8);
889: p_rec.attribute1 := jtf_terr_char_360list(p_terroppor_rec.attribute1);
890: p_rec.attribute2 := jtf_terr_char_360list(p_terroppor_rec.attribute2);
891: p_rec.attribute3 := jtf_terr_char_360list(p_terroppor_rec.attribute3);
892: p_rec.attribute4 := jtf_terr_char_360list(p_terroppor_rec.attribute4);
893: p_rec.attribute5 := jtf_terr_char_360list(p_terroppor_rec.attribute5);
894: p_rec.attribute6 := jtf_terr_char_360list(p_terroppor_rec.attribute6);
895: p_rec.attribute7 := jtf_terr_char_360list(p_terroppor_rec.attribute7);
896: p_rec.attribute8 := jtf_terr_char_360list(p_terroppor_rec.attribute8);
897: p_rec.attribute9 := jtf_terr_char_360list(p_terroppor_rec.attribute9);
890: p_rec.attribute2 := jtf_terr_char_360list(p_terroppor_rec.attribute2);
891: p_rec.attribute3 := jtf_terr_char_360list(p_terroppor_rec.attribute3);
892: p_rec.attribute4 := jtf_terr_char_360list(p_terroppor_rec.attribute4);
893: p_rec.attribute5 := jtf_terr_char_360list(p_terroppor_rec.attribute5);
894: p_rec.attribute6 := jtf_terr_char_360list(p_terroppor_rec.attribute6);
895: p_rec.attribute7 := jtf_terr_char_360list(p_terroppor_rec.attribute7);
896: p_rec.attribute8 := jtf_terr_char_360list(p_terroppor_rec.attribute8);
897: p_rec.attribute9 := jtf_terr_char_360list(p_terroppor_rec.attribute9);
898: p_rec.attribute10 := jtf_terr_char_360list(p_terroppor_rec.attribute10);
891: p_rec.attribute3 := jtf_terr_char_360list(p_terroppor_rec.attribute3);
892: p_rec.attribute4 := jtf_terr_char_360list(p_terroppor_rec.attribute4);
893: p_rec.attribute5 := jtf_terr_char_360list(p_terroppor_rec.attribute5);
894: p_rec.attribute6 := jtf_terr_char_360list(p_terroppor_rec.attribute6);
895: p_rec.attribute7 := jtf_terr_char_360list(p_terroppor_rec.attribute7);
896: p_rec.attribute8 := jtf_terr_char_360list(p_terroppor_rec.attribute8);
897: p_rec.attribute9 := jtf_terr_char_360list(p_terroppor_rec.attribute9);
898: p_rec.attribute10 := jtf_terr_char_360list(p_terroppor_rec.attribute10);
899: p_rec.attribute11 := jtf_terr_char_360list(p_terroppor_rec.attribute11);
892: p_rec.attribute4 := jtf_terr_char_360list(p_terroppor_rec.attribute4);
893: p_rec.attribute5 := jtf_terr_char_360list(p_terroppor_rec.attribute5);
894: p_rec.attribute6 := jtf_terr_char_360list(p_terroppor_rec.attribute6);
895: p_rec.attribute7 := jtf_terr_char_360list(p_terroppor_rec.attribute7);
896: p_rec.attribute8 := jtf_terr_char_360list(p_terroppor_rec.attribute8);
897: p_rec.attribute9 := jtf_terr_char_360list(p_terroppor_rec.attribute9);
898: p_rec.attribute10 := jtf_terr_char_360list(p_terroppor_rec.attribute10);
899: p_rec.attribute11 := jtf_terr_char_360list(p_terroppor_rec.attribute11);
900: p_rec.attribute12 := jtf_terr_char_360list(p_terroppor_rec.attribute12);
893: p_rec.attribute5 := jtf_terr_char_360list(p_terroppor_rec.attribute5);
894: p_rec.attribute6 := jtf_terr_char_360list(p_terroppor_rec.attribute6);
895: p_rec.attribute7 := jtf_terr_char_360list(p_terroppor_rec.attribute7);
896: p_rec.attribute8 := jtf_terr_char_360list(p_terroppor_rec.attribute8);
897: p_rec.attribute9 := jtf_terr_char_360list(p_terroppor_rec.attribute9);
898: p_rec.attribute10 := jtf_terr_char_360list(p_terroppor_rec.attribute10);
899: p_rec.attribute11 := jtf_terr_char_360list(p_terroppor_rec.attribute11);
900: p_rec.attribute12 := jtf_terr_char_360list(p_terroppor_rec.attribute12);
901: p_rec.attribute13 := jtf_terr_char_360list(p_terroppor_rec.attribute13);
894: p_rec.attribute6 := jtf_terr_char_360list(p_terroppor_rec.attribute6);
895: p_rec.attribute7 := jtf_terr_char_360list(p_terroppor_rec.attribute7);
896: p_rec.attribute8 := jtf_terr_char_360list(p_terroppor_rec.attribute8);
897: p_rec.attribute9 := jtf_terr_char_360list(p_terroppor_rec.attribute9);
898: p_rec.attribute10 := jtf_terr_char_360list(p_terroppor_rec.attribute10);
899: p_rec.attribute11 := jtf_terr_char_360list(p_terroppor_rec.attribute11);
900: p_rec.attribute12 := jtf_terr_char_360list(p_terroppor_rec.attribute12);
901: p_rec.attribute13 := jtf_terr_char_360list(p_terroppor_rec.attribute13);
902: p_rec.attribute14 := jtf_terr_char_360list(p_terroppor_rec.attribute14);
895: p_rec.attribute7 := jtf_terr_char_360list(p_terroppor_rec.attribute7);
896: p_rec.attribute8 := jtf_terr_char_360list(p_terroppor_rec.attribute8);
897: p_rec.attribute9 := jtf_terr_char_360list(p_terroppor_rec.attribute9);
898: p_rec.attribute10 := jtf_terr_char_360list(p_terroppor_rec.attribute10);
899: p_rec.attribute11 := jtf_terr_char_360list(p_terroppor_rec.attribute11);
900: p_rec.attribute12 := jtf_terr_char_360list(p_terroppor_rec.attribute12);
901: p_rec.attribute13 := jtf_terr_char_360list(p_terroppor_rec.attribute13);
902: p_rec.attribute14 := jtf_terr_char_360list(p_terroppor_rec.attribute14);
903: p_rec.attribute15 := jtf_terr_char_360list(p_terroppor_rec.attribute15);
896: p_rec.attribute8 := jtf_terr_char_360list(p_terroppor_rec.attribute8);
897: p_rec.attribute9 := jtf_terr_char_360list(p_terroppor_rec.attribute9);
898: p_rec.attribute10 := jtf_terr_char_360list(p_terroppor_rec.attribute10);
899: p_rec.attribute11 := jtf_terr_char_360list(p_terroppor_rec.attribute11);
900: p_rec.attribute12 := jtf_terr_char_360list(p_terroppor_rec.attribute12);
901: p_rec.attribute13 := jtf_terr_char_360list(p_terroppor_rec.attribute13);
902: p_rec.attribute14 := jtf_terr_char_360list(p_terroppor_rec.attribute14);
903: p_rec.attribute15 := jtf_terr_char_360list(p_terroppor_rec.attribute15);
904:
897: p_rec.attribute9 := jtf_terr_char_360list(p_terroppor_rec.attribute9);
898: p_rec.attribute10 := jtf_terr_char_360list(p_terroppor_rec.attribute10);
899: p_rec.attribute11 := jtf_terr_char_360list(p_terroppor_rec.attribute11);
900: p_rec.attribute12 := jtf_terr_char_360list(p_terroppor_rec.attribute12);
901: p_rec.attribute13 := jtf_terr_char_360list(p_terroppor_rec.attribute13);
902: p_rec.attribute14 := jtf_terr_char_360list(p_terroppor_rec.attribute14);
903: p_rec.attribute15 := jtf_terr_char_360list(p_terroppor_rec.attribute15);
904:
905:
898: p_rec.attribute10 := jtf_terr_char_360list(p_terroppor_rec.attribute10);
899: p_rec.attribute11 := jtf_terr_char_360list(p_terroppor_rec.attribute11);
900: p_rec.attribute12 := jtf_terr_char_360list(p_terroppor_rec.attribute12);
901: p_rec.attribute13 := jtf_terr_char_360list(p_terroppor_rec.attribute13);
902: p_rec.attribute14 := jtf_terr_char_360list(p_terroppor_rec.attribute14);
903: p_rec.attribute15 := jtf_terr_char_360list(p_terroppor_rec.attribute15);
904:
905:
906: JTF_TERR_SALES_PUB.Get_WinningTerrMembers(
899: p_rec.attribute11 := jtf_terr_char_360list(p_terroppor_rec.attribute11);
900: p_rec.attribute12 := jtf_terr_char_360list(p_terroppor_rec.attribute12);
901: p_rec.attribute13 := jtf_terr_char_360list(p_terroppor_rec.attribute13);
902: p_rec.attribute14 := jtf_terr_char_360list(p_terroppor_rec.attribute14);
903: p_rec.attribute15 := jtf_terr_char_360list(p_terroppor_rec.attribute15);
904:
905:
906: JTF_TERR_SALES_PUB.Get_WinningTerrMembers(
907: P_Api_Version_Number => P_Api_Version_Number,
986:
987: /* initialise BULK tables with SINGLE record values */
988: p_Rec.sales_lead_id := jtf_terr_number_list(p_terrlead_rec.sales_lead_id);
989: p_Rec.sales_lead_line_id := jtf_terr_number_list(p_terrlead_rec.sales_lead_line_id);
990: p_rec.city := jtf_terr_char_360list(p_terrlead_rec.city);
991: p_Rec.postal_code := jtf_terr_char_360list(p_terrlead_rec.postal_code);
992: p_rec.state := jtf_terr_char_360list(p_terrlead_rec.state);
993: p_rec.province := jtf_terr_char_360list(p_terrlead_rec.province);
994: p_rec.county := jtf_terr_char_360list(p_terrlead_rec.county);
987: /* initialise BULK tables with SINGLE record values */
988: p_Rec.sales_lead_id := jtf_terr_number_list(p_terrlead_rec.sales_lead_id);
989: p_Rec.sales_lead_line_id := jtf_terr_number_list(p_terrlead_rec.sales_lead_line_id);
990: p_rec.city := jtf_terr_char_360list(p_terrlead_rec.city);
991: p_Rec.postal_code := jtf_terr_char_360list(p_terrlead_rec.postal_code);
992: p_rec.state := jtf_terr_char_360list(p_terrlead_rec.state);
993: p_rec.province := jtf_terr_char_360list(p_terrlead_rec.province);
994: p_rec.county := jtf_terr_char_360list(p_terrlead_rec.county);
995: p_rec.country := jtf_terr_char_360list(p_terrlead_rec.country);
988: p_Rec.sales_lead_id := jtf_terr_number_list(p_terrlead_rec.sales_lead_id);
989: p_Rec.sales_lead_line_id := jtf_terr_number_list(p_terrlead_rec.sales_lead_line_id);
990: p_rec.city := jtf_terr_char_360list(p_terrlead_rec.city);
991: p_Rec.postal_code := jtf_terr_char_360list(p_terrlead_rec.postal_code);
992: p_rec.state := jtf_terr_char_360list(p_terrlead_rec.state);
993: p_rec.province := jtf_terr_char_360list(p_terrlead_rec.province);
994: p_rec.county := jtf_terr_char_360list(p_terrlead_rec.county);
995: p_rec.country := jtf_terr_char_360list(p_terrlead_rec.country);
996: p_rec.interest_type_id := jtf_terr_number_list(p_terrlead_rec.interest_type_id);
989: p_Rec.sales_lead_line_id := jtf_terr_number_list(p_terrlead_rec.sales_lead_line_id);
990: p_rec.city := jtf_terr_char_360list(p_terrlead_rec.city);
991: p_Rec.postal_code := jtf_terr_char_360list(p_terrlead_rec.postal_code);
992: p_rec.state := jtf_terr_char_360list(p_terrlead_rec.state);
993: p_rec.province := jtf_terr_char_360list(p_terrlead_rec.province);
994: p_rec.county := jtf_terr_char_360list(p_terrlead_rec.county);
995: p_rec.country := jtf_terr_char_360list(p_terrlead_rec.country);
996: p_rec.interest_type_id := jtf_terr_number_list(p_terrlead_rec.interest_type_id);
997: p_rec.primary_interest_id := jtf_terr_number_list(p_terrlead_rec.primary_interest_id);
990: p_rec.city := jtf_terr_char_360list(p_terrlead_rec.city);
991: p_Rec.postal_code := jtf_terr_char_360list(p_terrlead_rec.postal_code);
992: p_rec.state := jtf_terr_char_360list(p_terrlead_rec.state);
993: p_rec.province := jtf_terr_char_360list(p_terrlead_rec.province);
994: p_rec.county := jtf_terr_char_360list(p_terrlead_rec.county);
995: p_rec.country := jtf_terr_char_360list(p_terrlead_rec.country);
996: p_rec.interest_type_id := jtf_terr_number_list(p_terrlead_rec.interest_type_id);
997: p_rec.primary_interest_id := jtf_terr_number_list(p_terrlead_rec.primary_interest_id);
998: p_rec.secondary_interest_id := jtf_terr_number_list(p_terrlead_rec.secondary_interest_id);
991: p_Rec.postal_code := jtf_terr_char_360list(p_terrlead_rec.postal_code);
992: p_rec.state := jtf_terr_char_360list(p_terrlead_rec.state);
993: p_rec.province := jtf_terr_char_360list(p_terrlead_rec.province);
994: p_rec.county := jtf_terr_char_360list(p_terrlead_rec.county);
995: p_rec.country := jtf_terr_char_360list(p_terrlead_rec.country);
996: p_rec.interest_type_id := jtf_terr_number_list(p_terrlead_rec.interest_type_id);
997: p_rec.primary_interest_id := jtf_terr_number_list(p_terrlead_rec.primary_interest_id);
998: p_rec.secondary_interest_id := jtf_terr_number_list(p_terrlead_rec.secondary_interest_id);
999: p_Rec.party_id := jtf_terr_number_list(p_terrlead_rec.party_id);
997: p_rec.primary_interest_id := jtf_terr_number_list(p_terrlead_rec.primary_interest_id);
998: p_rec.secondary_interest_id := jtf_terr_number_list(p_terrlead_rec.secondary_interest_id);
999: p_Rec.party_id := jtf_terr_number_list(p_terrlead_rec.party_id);
1000: p_Rec.party_site_id := jtf_terr_number_list(p_terrlead_rec.party_site_id);
1001: p_rec.area_code := jtf_terr_char_360list(p_terrlead_rec.area_code);
1002: p_rec.comp_name_range := jtf_terr_char_360list(p_terrlead_rec.comp_name_range);
1003: p_rec.partner_id := jtf_terr_number_list(p_terrlead_rec.partner_id);
1004: p_rec.num_of_employees := jtf_terr_number_list(p_terrlead_rec.num_of_employees);
1005: p_rec.category_code := jtf_terr_char_360list(p_terrlead_rec.category_code);
998: p_rec.secondary_interest_id := jtf_terr_number_list(p_terrlead_rec.secondary_interest_id);
999: p_Rec.party_id := jtf_terr_number_list(p_terrlead_rec.party_id);
1000: p_Rec.party_site_id := jtf_terr_number_list(p_terrlead_rec.party_site_id);
1001: p_rec.area_code := jtf_terr_char_360list(p_terrlead_rec.area_code);
1002: p_rec.comp_name_range := jtf_terr_char_360list(p_terrlead_rec.comp_name_range);
1003: p_rec.partner_id := jtf_terr_number_list(p_terrlead_rec.partner_id);
1004: p_rec.num_of_employees := jtf_terr_number_list(p_terrlead_rec.num_of_employees);
1005: p_rec.category_code := jtf_terr_char_360list(p_terrlead_rec.category_code);
1006: p_rec.party_relationship_id := jtf_terr_number_list(p_terrlead_rec.party_relationship_id);
1001: p_rec.area_code := jtf_terr_char_360list(p_terrlead_rec.area_code);
1002: p_rec.comp_name_range := jtf_terr_char_360list(p_terrlead_rec.comp_name_range);
1003: p_rec.partner_id := jtf_terr_number_list(p_terrlead_rec.partner_id);
1004: p_rec.num_of_employees := jtf_terr_number_list(p_terrlead_rec.num_of_employees);
1005: p_rec.category_code := jtf_terr_char_360list(p_terrlead_rec.category_code);
1006: p_rec.party_relationship_id := jtf_terr_number_list(p_terrlead_rec.party_relationship_id);
1007: p_rec.sic_code := jtf_terr_char_360list(p_terrlead_rec.sic_code);
1008: p_rec.budget_amount := jtf_terr_number_list(p_terrlead_rec.budget_amount);
1009: p_rec.currency_code := jtf_terr_char_360list(p_terrlead_rec.currency_code);
1003: p_rec.partner_id := jtf_terr_number_list(p_terrlead_rec.partner_id);
1004: p_rec.num_of_employees := jtf_terr_number_list(p_terrlead_rec.num_of_employees);
1005: p_rec.category_code := jtf_terr_char_360list(p_terrlead_rec.category_code);
1006: p_rec.party_relationship_id := jtf_terr_number_list(p_terrlead_rec.party_relationship_id);
1007: p_rec.sic_code := jtf_terr_char_360list(p_terrlead_rec.sic_code);
1008: p_rec.budget_amount := jtf_terr_number_list(p_terrlead_rec.budget_amount);
1009: p_rec.currency_code := jtf_terr_char_360list(p_terrlead_rec.currency_code);
1010: p_rec.pricing_date := jtf_terr_date_list(p_terrlead_rec.pricing_date);
1011: p_rec.source_promotion_id := jtf_terr_number_list(p_terrlead_rec.source_promotion_id);
1005: p_rec.category_code := jtf_terr_char_360list(p_terrlead_rec.category_code);
1006: p_rec.party_relationship_id := jtf_terr_number_list(p_terrlead_rec.party_relationship_id);
1007: p_rec.sic_code := jtf_terr_char_360list(p_terrlead_rec.sic_code);
1008: p_rec.budget_amount := jtf_terr_number_list(p_terrlead_rec.budget_amount);
1009: p_rec.currency_code := jtf_terr_char_360list(p_terrlead_rec.currency_code);
1010: p_rec.pricing_date := jtf_terr_date_list(p_terrlead_rec.pricing_date);
1011: p_rec.source_promotion_id := jtf_terr_number_list(p_terrlead_rec.source_promotion_id);
1012: p_rec.inventory_item_id := jtf_terr_number_list(p_terrlead_rec.inventory_item_id);
1013: p_rec.lead_interest_type_id := jtf_terr_number_list(p_terrlead_rec.lead_interest_type_id);
1013: p_rec.lead_interest_type_id := jtf_terr_number_list(p_terrlead_rec.lead_interest_type_id);
1014: p_rec.lead_primary_interest_id := jtf_terr_number_list(p_terrlead_rec.lead_primary_interest_id);
1015: p_rec.lead_secondary_interest_id := jtf_terr_number_list(p_terrlead_rec.lead_secondary_interest_id);
1016: p_rec.purchase_amount := jtf_terr_number_list(p_terrlead_rec.purchase_amount);
1017: p_rec.attribute1 := jtf_terr_char_360list(p_terrlead_rec.attribute1);
1018: p_rec.attribute2 := jtf_terr_char_360list(p_terrlead_rec.attribute2);
1019: p_rec.attribute3 := jtf_terr_char_360list(p_terrlead_rec.attribute3);
1020: p_rec.attribute4 := jtf_terr_char_360list(p_terrlead_rec.attribute4);
1021: p_rec.attribute5 := jtf_terr_char_360list(p_terrlead_rec.attribute5);
1014: p_rec.lead_primary_interest_id := jtf_terr_number_list(p_terrlead_rec.lead_primary_interest_id);
1015: p_rec.lead_secondary_interest_id := jtf_terr_number_list(p_terrlead_rec.lead_secondary_interest_id);
1016: p_rec.purchase_amount := jtf_terr_number_list(p_terrlead_rec.purchase_amount);
1017: p_rec.attribute1 := jtf_terr_char_360list(p_terrlead_rec.attribute1);
1018: p_rec.attribute2 := jtf_terr_char_360list(p_terrlead_rec.attribute2);
1019: p_rec.attribute3 := jtf_terr_char_360list(p_terrlead_rec.attribute3);
1020: p_rec.attribute4 := jtf_terr_char_360list(p_terrlead_rec.attribute4);
1021: p_rec.attribute5 := jtf_terr_char_360list(p_terrlead_rec.attribute5);
1022: p_rec.attribute6 := jtf_terr_char_360list(p_terrlead_rec.attribute6);
1015: p_rec.lead_secondary_interest_id := jtf_terr_number_list(p_terrlead_rec.lead_secondary_interest_id);
1016: p_rec.purchase_amount := jtf_terr_number_list(p_terrlead_rec.purchase_amount);
1017: p_rec.attribute1 := jtf_terr_char_360list(p_terrlead_rec.attribute1);
1018: p_rec.attribute2 := jtf_terr_char_360list(p_terrlead_rec.attribute2);
1019: p_rec.attribute3 := jtf_terr_char_360list(p_terrlead_rec.attribute3);
1020: p_rec.attribute4 := jtf_terr_char_360list(p_terrlead_rec.attribute4);
1021: p_rec.attribute5 := jtf_terr_char_360list(p_terrlead_rec.attribute5);
1022: p_rec.attribute6 := jtf_terr_char_360list(p_terrlead_rec.attribute6);
1023: p_rec.attribute7 := jtf_terr_char_360list(p_terrlead_rec.attribute7);
1016: p_rec.purchase_amount := jtf_terr_number_list(p_terrlead_rec.purchase_amount);
1017: p_rec.attribute1 := jtf_terr_char_360list(p_terrlead_rec.attribute1);
1018: p_rec.attribute2 := jtf_terr_char_360list(p_terrlead_rec.attribute2);
1019: p_rec.attribute3 := jtf_terr_char_360list(p_terrlead_rec.attribute3);
1020: p_rec.attribute4 := jtf_terr_char_360list(p_terrlead_rec.attribute4);
1021: p_rec.attribute5 := jtf_terr_char_360list(p_terrlead_rec.attribute5);
1022: p_rec.attribute6 := jtf_terr_char_360list(p_terrlead_rec.attribute6);
1023: p_rec.attribute7 := jtf_terr_char_360list(p_terrlead_rec.attribute7);
1024: p_rec.attribute8 := jtf_terr_char_360list(p_terrlead_rec.attribute8);
1017: p_rec.attribute1 := jtf_terr_char_360list(p_terrlead_rec.attribute1);
1018: p_rec.attribute2 := jtf_terr_char_360list(p_terrlead_rec.attribute2);
1019: p_rec.attribute3 := jtf_terr_char_360list(p_terrlead_rec.attribute3);
1020: p_rec.attribute4 := jtf_terr_char_360list(p_terrlead_rec.attribute4);
1021: p_rec.attribute5 := jtf_terr_char_360list(p_terrlead_rec.attribute5);
1022: p_rec.attribute6 := jtf_terr_char_360list(p_terrlead_rec.attribute6);
1023: p_rec.attribute7 := jtf_terr_char_360list(p_terrlead_rec.attribute7);
1024: p_rec.attribute8 := jtf_terr_char_360list(p_terrlead_rec.attribute8);
1025: p_rec.attribute9 := jtf_terr_char_360list(p_terrlead_rec.attribute9);
1018: p_rec.attribute2 := jtf_terr_char_360list(p_terrlead_rec.attribute2);
1019: p_rec.attribute3 := jtf_terr_char_360list(p_terrlead_rec.attribute3);
1020: p_rec.attribute4 := jtf_terr_char_360list(p_terrlead_rec.attribute4);
1021: p_rec.attribute5 := jtf_terr_char_360list(p_terrlead_rec.attribute5);
1022: p_rec.attribute6 := jtf_terr_char_360list(p_terrlead_rec.attribute6);
1023: p_rec.attribute7 := jtf_terr_char_360list(p_terrlead_rec.attribute7);
1024: p_rec.attribute8 := jtf_terr_char_360list(p_terrlead_rec.attribute8);
1025: p_rec.attribute9 := jtf_terr_char_360list(p_terrlead_rec.attribute9);
1026: p_rec.attribute10 := jtf_terr_char_360list(p_terrlead_rec.attribute10);
1019: p_rec.attribute3 := jtf_terr_char_360list(p_terrlead_rec.attribute3);
1020: p_rec.attribute4 := jtf_terr_char_360list(p_terrlead_rec.attribute4);
1021: p_rec.attribute5 := jtf_terr_char_360list(p_terrlead_rec.attribute5);
1022: p_rec.attribute6 := jtf_terr_char_360list(p_terrlead_rec.attribute6);
1023: p_rec.attribute7 := jtf_terr_char_360list(p_terrlead_rec.attribute7);
1024: p_rec.attribute8 := jtf_terr_char_360list(p_terrlead_rec.attribute8);
1025: p_rec.attribute9 := jtf_terr_char_360list(p_terrlead_rec.attribute9);
1026: p_rec.attribute10 := jtf_terr_char_360list(p_terrlead_rec.attribute10);
1027: p_rec.attribute11 := jtf_terr_char_360list(p_terrlead_rec.attribute11);
1020: p_rec.attribute4 := jtf_terr_char_360list(p_terrlead_rec.attribute4);
1021: p_rec.attribute5 := jtf_terr_char_360list(p_terrlead_rec.attribute5);
1022: p_rec.attribute6 := jtf_terr_char_360list(p_terrlead_rec.attribute6);
1023: p_rec.attribute7 := jtf_terr_char_360list(p_terrlead_rec.attribute7);
1024: p_rec.attribute8 := jtf_terr_char_360list(p_terrlead_rec.attribute8);
1025: p_rec.attribute9 := jtf_terr_char_360list(p_terrlead_rec.attribute9);
1026: p_rec.attribute10 := jtf_terr_char_360list(p_terrlead_rec.attribute10);
1027: p_rec.attribute11 := jtf_terr_char_360list(p_terrlead_rec.attribute11);
1028: p_rec.attribute12 := jtf_terr_char_360list(p_terrlead_rec.attribute12);
1021: p_rec.attribute5 := jtf_terr_char_360list(p_terrlead_rec.attribute5);
1022: p_rec.attribute6 := jtf_terr_char_360list(p_terrlead_rec.attribute6);
1023: p_rec.attribute7 := jtf_terr_char_360list(p_terrlead_rec.attribute7);
1024: p_rec.attribute8 := jtf_terr_char_360list(p_terrlead_rec.attribute8);
1025: p_rec.attribute9 := jtf_terr_char_360list(p_terrlead_rec.attribute9);
1026: p_rec.attribute10 := jtf_terr_char_360list(p_terrlead_rec.attribute10);
1027: p_rec.attribute11 := jtf_terr_char_360list(p_terrlead_rec.attribute11);
1028: p_rec.attribute12 := jtf_terr_char_360list(p_terrlead_rec.attribute12);
1029: p_rec.attribute13 := jtf_terr_char_360list(p_terrlead_rec.attribute13);
1022: p_rec.attribute6 := jtf_terr_char_360list(p_terrlead_rec.attribute6);
1023: p_rec.attribute7 := jtf_terr_char_360list(p_terrlead_rec.attribute7);
1024: p_rec.attribute8 := jtf_terr_char_360list(p_terrlead_rec.attribute8);
1025: p_rec.attribute9 := jtf_terr_char_360list(p_terrlead_rec.attribute9);
1026: p_rec.attribute10 := jtf_terr_char_360list(p_terrlead_rec.attribute10);
1027: p_rec.attribute11 := jtf_terr_char_360list(p_terrlead_rec.attribute11);
1028: p_rec.attribute12 := jtf_terr_char_360list(p_terrlead_rec.attribute12);
1029: p_rec.attribute13 := jtf_terr_char_360list(p_terrlead_rec.attribute13);
1030: p_rec.attribute14 := jtf_terr_char_360list(p_terrlead_rec.attribute14);
1023: p_rec.attribute7 := jtf_terr_char_360list(p_terrlead_rec.attribute7);
1024: p_rec.attribute8 := jtf_terr_char_360list(p_terrlead_rec.attribute8);
1025: p_rec.attribute9 := jtf_terr_char_360list(p_terrlead_rec.attribute9);
1026: p_rec.attribute10 := jtf_terr_char_360list(p_terrlead_rec.attribute10);
1027: p_rec.attribute11 := jtf_terr_char_360list(p_terrlead_rec.attribute11);
1028: p_rec.attribute12 := jtf_terr_char_360list(p_terrlead_rec.attribute12);
1029: p_rec.attribute13 := jtf_terr_char_360list(p_terrlead_rec.attribute13);
1030: p_rec.attribute14 := jtf_terr_char_360list(p_terrlead_rec.attribute14);
1031: p_rec.attribute15 := jtf_terr_char_360list(p_terrlead_rec.attribute15);
1024: p_rec.attribute8 := jtf_terr_char_360list(p_terrlead_rec.attribute8);
1025: p_rec.attribute9 := jtf_terr_char_360list(p_terrlead_rec.attribute9);
1026: p_rec.attribute10 := jtf_terr_char_360list(p_terrlead_rec.attribute10);
1027: p_rec.attribute11 := jtf_terr_char_360list(p_terrlead_rec.attribute11);
1028: p_rec.attribute12 := jtf_terr_char_360list(p_terrlead_rec.attribute12);
1029: p_rec.attribute13 := jtf_terr_char_360list(p_terrlead_rec.attribute13);
1030: p_rec.attribute14 := jtf_terr_char_360list(p_terrlead_rec.attribute14);
1031: p_rec.attribute15 := jtf_terr_char_360list(p_terrlead_rec.attribute15);
1032:
1025: p_rec.attribute9 := jtf_terr_char_360list(p_terrlead_rec.attribute9);
1026: p_rec.attribute10 := jtf_terr_char_360list(p_terrlead_rec.attribute10);
1027: p_rec.attribute11 := jtf_terr_char_360list(p_terrlead_rec.attribute11);
1028: p_rec.attribute12 := jtf_terr_char_360list(p_terrlead_rec.attribute12);
1029: p_rec.attribute13 := jtf_terr_char_360list(p_terrlead_rec.attribute13);
1030: p_rec.attribute14 := jtf_terr_char_360list(p_terrlead_rec.attribute14);
1031: p_rec.attribute15 := jtf_terr_char_360list(p_terrlead_rec.attribute15);
1032:
1033: JTF_TERR_SALES_PUB.Get_WinningTerrMembers(
1026: p_rec.attribute10 := jtf_terr_char_360list(p_terrlead_rec.attribute10);
1027: p_rec.attribute11 := jtf_terr_char_360list(p_terrlead_rec.attribute11);
1028: p_rec.attribute12 := jtf_terr_char_360list(p_terrlead_rec.attribute12);
1029: p_rec.attribute13 := jtf_terr_char_360list(p_terrlead_rec.attribute13);
1030: p_rec.attribute14 := jtf_terr_char_360list(p_terrlead_rec.attribute14);
1031: p_rec.attribute15 := jtf_terr_char_360list(p_terrlead_rec.attribute15);
1032:
1033: JTF_TERR_SALES_PUB.Get_WinningTerrMembers(
1034: P_Api_Version_Number => P_Api_Version_Number,
1027: p_rec.attribute11 := jtf_terr_char_360list(p_terrlead_rec.attribute11);
1028: p_rec.attribute12 := jtf_terr_char_360list(p_terrlead_rec.attribute12);
1029: p_rec.attribute13 := jtf_terr_char_360list(p_terrlead_rec.attribute13);
1030: p_rec.attribute14 := jtf_terr_char_360list(p_terrlead_rec.attribute14);
1031: p_rec.attribute15 := jtf_terr_char_360list(p_terrlead_rec.attribute15);
1032:
1033: JTF_TERR_SALES_PUB.Get_WinningTerrMembers(
1034: P_Api_Version_Number => P_Api_Version_Number,
1035: P_Init_Msg_List => p_init_msg_list,