PO Approval Hierarchy

Description

Categories
Enginatics
Repository
GitHub
Purchasing approval hierarchy: for each employee, the approvers above them level by level, with each approver's approval groups and document total limit for the selected document type.

The operating unit's Use Approval Hierarchies option (Financials Options) decides the hierarchy: the position hierarchy, which defaults to the document type's default approval hierarchy, or else the supervisor chain of the primary assignments. Both are read as of the As of Date. The approval workflow reads the position hierarchy from the copy built by the Fill Employee Hierarchy program, so run that program when routing differs from this report.

One row per employee, level, approver and approval group. Level 0 is the employee's own approval authority. A position held by several people shows one row per holder, a vacant position shows the position without an approver. Employees at the top of the hierarchy appear only as approvers.

Approval Amount From is the highest document total limit below that level in the employee's chain, so each approver row shows the amount band it approves. Template By Position shows the approval chain per initiator position instead of per employee.

Approval groups are those assigned to the approver's position (position hierarchy) or job (supervisor hierarchy) for the document type in Approval Assignments. Document Total Limit is the amount limit of the group's Document Total rule; account, item and location rules are listed by PO Approval Assignments with Show Approval Group Amounts.

Use the Approver parameter to list everyone a person approves for.

SQL 213 lines

Parameters 8

ParameterTypeList of values SQL
Operating UnitLOV
Document TypeLOV
HierarchyLOV
HR OrganizationLOV
haouv_i.name=:hr_organization
EmployeeLOV
papf_i.full_name=:employee
ApproverLOV
papf_a.full_name=:approver
As of DateDate
Maximum LevelsNumber