Professional Documents
Culture Documents
BR100 AP APINV Approval Hierarchy
BR100 AP APINV Approval Hierarchy
Attributes:
TOP_SUPERVISOR_PERSON_ID attribute settings:
select person_Id
from per_all_people_f
where last_name like 'Ravikumar J'
TRANSACTION_REQUESTOR_PERSON_ID attribute
select EMPLOYEE_Id
from AP_INVOICES_ALL AIA,
FND_USER FU
where AIA.CREATED_BY=FU.USER_ID
and AIA.INVOICE_ID=:transactionId
Conditions:
Action Types:
Approval Group:
Add approval group:
select 'person_id:'||sup_id from
(select supervisor_id sup_id
from per_all_assignments_f
where
per_all_assignments_f.primary_flag = 'Y'
and per_all_assignments_f.assignment_type = 'E'
and Trunc(sysdate) between per_all_assignments_f.effective_start_date
and
per_all_assignments_f.effective_end_date
and per_all_assignments_f.person_id =
(select EMPLOYEE_Id
from AP_INVOICES_ALL AIA,
FND_USER FU
where AIA.CREATED_BY=FU.USER_ID
and AIA.INVOICE_ID=:transactionId))
Rule: