DBA Data[Home] [Help]

APPS.PER_PEM_INS SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 75

Procedure insert_dml
  (p_rec in out nocopy per_pem_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72) := g_package||'insert_dml';
Line: 89

  insert into per_previous_employers
      (previous_employer_id
      ,business_group_id
      ,person_id
      ,party_id
      ,start_date
      ,end_date
      ,period_years
      ,period_days
      ,employer_name
      ,employer_country
      ,employer_address
      ,employer_type
      ,employer_subtype
      ,description
      ,pem_attribute_category
      ,pem_attribute1
      ,pem_attribute2
      ,pem_attribute3
      ,pem_attribute4
      ,pem_attribute5
      ,pem_attribute6
      ,pem_attribute7
      ,pem_attribute8
      ,pem_attribute9
      ,pem_attribute10
      ,pem_attribute11
      ,pem_attribute12
      ,pem_attribute13
      ,pem_attribute14
      ,pem_attribute15
      ,pem_attribute16
      ,pem_attribute17
      ,pem_attribute18
      ,pem_attribute19
      ,pem_attribute20
      ,pem_attribute21
      ,pem_attribute22
      ,pem_attribute23
      ,pem_attribute24
      ,pem_attribute25
      ,pem_attribute26
      ,pem_attribute27
      ,pem_attribute28
      ,pem_attribute29
      ,pem_attribute30
      ,pem_information_category
      ,pem_information1
      ,pem_information2
      ,pem_information3
      ,pem_information4
      ,pem_information5
      ,pem_information6
      ,pem_information7
      ,pem_information8
      ,pem_information9
      ,pem_information10
      ,pem_information11
      ,pem_information12
      ,pem_information13
      ,pem_information14
      ,pem_information15
      ,pem_information16
      ,pem_information17
      ,pem_information18
      ,pem_information19
      ,pem_information20
      ,pem_information21
      ,pem_information22
      ,pem_information23
      ,pem_information24
      ,pem_information25
      ,pem_information26
      ,pem_information27
      ,pem_information28
      ,pem_information29
      ,pem_information30
      ,object_version_number
      ,all_assignments
      ,period_months
      )
  Values
    (p_rec.previous_employer_id
    ,p_rec.business_group_id
    ,p_rec.person_id
    ,p_rec.party_id
    ,p_rec.start_date
    ,p_rec.end_date
    ,p_rec.period_years
    ,p_rec.period_days
    ,p_rec.employer_name
    ,p_rec.employer_country
    ,p_rec.employer_address
    ,p_rec.employer_type
    ,p_rec.employer_subtype
    ,p_rec.description
    ,p_rec.pem_attribute_category
    ,p_rec.pem_attribute1
    ,p_rec.pem_attribute2
    ,p_rec.pem_attribute3
    ,p_rec.pem_attribute4
    ,p_rec.pem_attribute5
    ,p_rec.pem_attribute6
    ,p_rec.pem_attribute7
    ,p_rec.pem_attribute8
    ,p_rec.pem_attribute9
    ,p_rec.pem_attribute10
    ,p_rec.pem_attribute11
    ,p_rec.pem_attribute12
    ,p_rec.pem_attribute13
    ,p_rec.pem_attribute14
    ,p_rec.pem_attribute15
    ,p_rec.pem_attribute16
    ,p_rec.pem_attribute17
    ,p_rec.pem_attribute18
    ,p_rec.pem_attribute19
    ,p_rec.pem_attribute20
    ,p_rec.pem_attribute21
    ,p_rec.pem_attribute22
    ,p_rec.pem_attribute23
    ,p_rec.pem_attribute24
    ,p_rec.pem_attribute25
    ,p_rec.pem_attribute26
    ,p_rec.pem_attribute27
    ,p_rec.pem_attribute28
    ,p_rec.pem_attribute29
    ,p_rec.pem_attribute30
    ,p_rec.pem_information_category
    ,p_rec.pem_information1
    ,p_rec.pem_information2
    ,p_rec.pem_information3
    ,p_rec.pem_information4
    ,p_rec.pem_information5
    ,p_rec.pem_information6
    ,p_rec.pem_information7
    ,p_rec.pem_information8
    ,p_rec.pem_information9
    ,p_rec.pem_information10
    ,p_rec.pem_information11
    ,p_rec.pem_information12
    ,p_rec.pem_information13
    ,p_rec.pem_information14
    ,p_rec.pem_information15
    ,p_rec.pem_information16
    ,p_rec.pem_information17
    ,p_rec.pem_information18
    ,p_rec.pem_information19
    ,p_rec.pem_information20
    ,p_rec.pem_information21
    ,p_rec.pem_information22
    ,p_rec.pem_information23
    ,p_rec.pem_information24
    ,p_rec.pem_information25
    ,p_rec.pem_information26
    ,p_rec.pem_information27
    ,p_rec.pem_information28
    ,p_rec.pem_information29
    ,p_rec.pem_information30
    ,p_rec.object_version_number
    ,p_rec.all_assignments
    ,p_rec.period_months
    );
Line: 274

End insert_dml;
Line: 313

Procedure pre_insert
  (p_rec  in out nocopy per_pem_shd.g_rec_type
  ) is
--
  Cursor C_Sel1 is select per_previous_employers_s.nextval from sys.dual;
Line: 320

    Select null
      from per_previous_employers
     where previous_employer_id =
             per_pem_ins.g_previous_employer_id_i;
Line: 325

  l_proc   varchar2(72) := g_package||'pre_insert';
Line: 366

End pre_insert;
Line: 400

Procedure post_insert
  (p_effective_date               in date
  ,p_rec                          in per_pem_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72) := g_package||'post_insert';
Line: 411

    per_pem_rki.after_insert
      (p_effective_date              => p_effective_date
      ,p_previous_employer_id
      => p_rec.previous_employer_id
      ,p_business_group_id
      => p_rec.business_group_id
      ,p_person_id
      => p_rec.person_id
      ,p_party_id
      => p_rec.party_id
      ,p_start_date
      => p_rec.start_date
      ,p_end_date
      => p_rec.end_date
      ,p_period_years
      => p_rec.period_years
      ,p_period_days
      => p_rec.period_days
      ,p_employer_name
      => p_rec.employer_name
      ,p_employer_country
      => p_rec.employer_country
      ,p_employer_address
      => p_rec.employer_address
      ,p_employer_type
      => p_rec.employer_type
      ,p_employer_subtype
      => p_rec.employer_subtype
      ,p_description
      => p_rec.description
      ,p_pem_attribute_category
      => p_rec.pem_attribute_category
      ,p_pem_attribute1
      => p_rec.pem_attribute1
      ,p_pem_attribute2
      => p_rec.pem_attribute2
      ,p_pem_attribute3
      => p_rec.pem_attribute3
      ,p_pem_attribute4
      => p_rec.pem_attribute4
      ,p_pem_attribute5
      => p_rec.pem_attribute5
      ,p_pem_attribute6
      => p_rec.pem_attribute6
      ,p_pem_attribute7
      => p_rec.pem_attribute7
      ,p_pem_attribute8
      => p_rec.pem_attribute8
      ,p_pem_attribute9
      => p_rec.pem_attribute9
      ,p_pem_attribute10
      => p_rec.pem_attribute10
      ,p_pem_attribute11
      => p_rec.pem_attribute11
      ,p_pem_attribute12
      => p_rec.pem_attribute12
      ,p_pem_attribute13
      => p_rec.pem_attribute13
      ,p_pem_attribute14
      => p_rec.pem_attribute14
      ,p_pem_attribute15
      => p_rec.pem_attribute15
      ,p_pem_attribute16
      => p_rec.pem_attribute16
      ,p_pem_attribute17
      => p_rec.pem_attribute17
      ,p_pem_attribute18
      => p_rec.pem_attribute18
      ,p_pem_attribute19
      => p_rec.pem_attribute19
      ,p_pem_attribute20
      => p_rec.pem_attribute20
      ,p_pem_attribute21
      => p_rec.pem_attribute21
      ,p_pem_attribute22
      => p_rec.pem_attribute22
      ,p_pem_attribute23
      => p_rec.pem_attribute23
      ,p_pem_attribute24
      => p_rec.pem_attribute24
      ,p_pem_attribute25
      => p_rec.pem_attribute25
      ,p_pem_attribute26
      => p_rec.pem_attribute26
      ,p_pem_attribute27
      => p_rec.pem_attribute27
      ,p_pem_attribute28
      => p_rec.pem_attribute28
      ,p_pem_attribute29
      => p_rec.pem_attribute29
      ,p_pem_attribute30
      => p_rec.pem_attribute30
      ,p_pem_information_category
      => p_rec.pem_information_category
      ,p_pem_information1
      => p_rec.pem_information1
      ,p_pem_information2
      => p_rec.pem_information2
      ,p_pem_information3
      => p_rec.pem_information3
      ,p_pem_information4
      => p_rec.pem_information4
      ,p_pem_information5
      => p_rec.pem_information5
      ,p_pem_information6
      => p_rec.pem_information6
      ,p_pem_information7
      => p_rec.pem_information7
      ,p_pem_information8
      => p_rec.pem_information8
      ,p_pem_information9
      => p_rec.pem_information9
      ,p_pem_information10
      => p_rec.pem_information10
      ,p_pem_information11
      => p_rec.pem_information11
      ,p_pem_information12
      => p_rec.pem_information12
      ,p_pem_information13
      => p_rec.pem_information13
      ,p_pem_information14
      => p_rec.pem_information14
      ,p_pem_information15
      => p_rec.pem_information15
      ,p_pem_information16
      => p_rec.pem_information16
      ,p_pem_information17
      => p_rec.pem_information17
      ,p_pem_information18
      => p_rec.pem_information18
      ,p_pem_information19
      => p_rec.pem_information19
      ,p_pem_information20
      => p_rec.pem_information20
      ,p_pem_information21
      => p_rec.pem_information21
      ,p_pem_information22
      => p_rec.pem_information22
      ,p_pem_information23
      => p_rec.pem_information23
      ,p_pem_information24
      => p_rec.pem_information24
      ,p_pem_information25
      => p_rec.pem_information25
      ,p_pem_information26
      => p_rec.pem_information26
      ,p_pem_information27
      => p_rec.pem_information27
      ,p_pem_information28
      => p_rec.pem_information28
      ,p_pem_information29
      => p_rec.pem_information29
      ,p_pem_information30
      => p_rec.pem_information30
      ,p_object_version_number
      => p_rec.object_version_number
      ,p_all_assignments
      => p_rec.all_assignments
      ,p_period_months
      => p_rec.period_months
      );
Line: 584

End post_insert;
Line: 601

  per_pem_bus.insert_validate
     (p_effective_date
     ,p_rec
     );
Line: 611

  per_pem_ins.pre_insert(p_rec);
Line: 615

  per_pem_ins.insert_dml(p_rec);
Line: 619

  per_pem_ins.post_insert
     (p_effective_date
     ,p_rec
     );
Line: 718

  select party_id
  from    per_all_people_f per
    where   per.person_id = p_person_id
    and     trunc(p_effective_date)
    between per.effective_start_date
    and     per.effective_end_date;