Saturday, 28 December 2024

AME Configuration

 

Login -> Approvals Management Administrator -> Admin Dashboard

 

 

Application: Human Resorce

Transaction Type Key: QAG_CABIN_CREW_UPGRADE_TRANS_TYPE

Transaction Type Name: QAG Cabin Crew Upgrade Transaction Process

 

 

REJECTTION_RESPONSE: Stop all Processing

WORKFLOW_ITEM_KEY =:

Pseudo Code:

select item_key from QAIR.qag_hr_cc_upgrade_batch_stg  where transaction_id = :transactionId and process_name = 'QAG_QACCUPGR_AUTOMATION' and rownum = 1

 

WORKFLOW_ITEM_TYPE: QACCUPGR

 

SSSSSS

 

 

Process name: QAG Cabin Crew Upgrade Transaction Process

Navigate to Approvals Management Business Analyst ->Business Analyst Dashboard

Select Approval Process Setup -> ‘QAG Cabin Crew Upgrade Transaction Process’ ->Select ‘Attributes’

 

 

->Use Existing Attributes 

Name : ALLOW_EMPTY_APPROVAL_GROUPS

 

 

 

->Create

Name: QAG_CCUPGRADE_PROCESS_NAME

Description: QAG CC Upgrade Process

Data Type: String

Value: QAG_QACCUPGR_AUTOMATION

 

 

 

->Navigate to Conditions Tab:

Attribute: QAG_CCUPGRADE_PROCESS_NAME

String Value: QAG_QACCUPGR_AUTOMATION

 

 

->Navigate ->Action Type (Tab) ->Use Existing Action Type

Select

1)      pre-chain-of-authority approvals

2)      Production rule

3)      approval-group chain of authority

4)      post-chain-of-authority approvals

 

 

->Navigate -> Approver Groups (Tab)

 

 

Name: QAG_HR_CC_UPGRADE_APP1

Description: QAG CC Upgrade First Approver

Order Number: 100

Usage Type: Dynamic

Query:

SELECT 'person_Id:'

  ||person_id

  FROM per_all_people_f papf,fnd_lookup_values flv

  WHERE papf.employee_number = flv.description

  and flv.enabled_flag = 'Y'

  and flv.meaning like 'FIRST_APPROVER%'

and flv.lookup_type = 'QAG_CC_UPGRADE_APPROVERS_LIST'

and trunc(sysdate) between effective_start_date and effective_end_date

and current_employee_flag = 'Y'

 


Name: QAG_HR_CC_UPGRADE_APP2

Description: QAG CC Upgrade Second Approver

Order Number: 200

Usage Type: Dynamic

SELECT 'person_Id:'

  ||person_id

  FROM per_all_people_f papf,fnd_lookup_values flv

  WHERE papf.employee_number = flv.description

  and flv.enabled_flag = 'Y'

  and flv.meaning like 'SECOND_APPROVER%'

and flv.lookup_type = 'QAG_CC_UPGRADE_APPROVERS_LIST'

and trunc(sysdate) between effective_start_date and effective_end_date

and current_employee_flag = 'Y'

 

Name: QAG_HR_CC_UPGRADE_APP3

Description: QAG CC Upgrade Third Approver

Order Number: 300

Usage Type: Dynamic

 

SELECT 'person_Id:'

  ||person_id

  FROM per_all_people_f papf,fnd_lookup_values flv

  WHERE papf.employee_number = flv.description

  and flv.enabled_flag = 'Y'

  and flv.meaning like 'THIRD_APPROVER%'

and flv.lookup_type = 'QAG_CC_UPGRADE_APPROVERS_LIST'

and trunc(sysdate) between effective_start_date and effective_end_date

and current_employee_flag = 'Y'

Name: QAG_HR_CC_UPGRADE_APP4

Description: QAG CC Upgrade Fourth Approver

Order Number: 400

Usage Type: Dynamic

 

SELECT 'person_Id:'

  ||person_id

  FROM per_all_people_f papf,fnd_lookup_values flv

  WHERE papf.employee_number = flv.description

  and flv.enabled_flag = 'Y'

  and flv.meaning like 'FOURTH_APPROVER%'

and flv.lookup_type = 'QAG_CC_UPGRADE_APPROVERS_LIST'

and trunc(sysdate) between effective_start_date and effective_end_date

and current_employee_flag = 'Y'

Name: QAG_HR_CC_UPGRADE_APP5

Description: QAG CC Upgrade Fifth Approver

Order Number: 500

Usage Type: Dynamic

 

SELECT 'person_Id:'

  ||person_id

  FROM per_all_people_f papf,fnd_lookup_values flv

  WHERE papf.employee_number = flv.description

  and flv.enabled_flag = 'Y'

  and flv.meaning like 'FIFTH_APPROVER%'

and flv.lookup_type = 'QAG_CC_UPGRADE_APPROVERS_LIST'

and trunc(sysdate) between effective_start_date and effective_end_date

and current_employee_flag = 'Y'

 

 

Name: QAG_HR_CC_UPGRADE_APP6

Description: QAG CC Upgrade Sixth Approver

Order Number: 600

Usage Type: Dynamic

 

SELECT 'person_Id:'

  ||person_id

  FROM per_all_people_f papf,fnd_lookup_values flv

  WHERE papf.employee_number = flv.description

  and flv.enabled_flag = 'Y'

  and flv.meaning like 'SIXTH_APPROVER%'

and flv.lookup_type = 'QAG_CC_UPGRADE_APPROVERS_LIST'

and trunc(sysdate) between effective_start_date and effective_end_date

and current_employee_flag = 'Y'

 

 

 

 

 

 

 

 

 

 

Navigate ->Rules -> Create

 

 

Name : QAG_HR_CC_UPGRADE_PROC_RULE