Results for “submit_to_email”
14 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
CN_PAY_APPROVAL_FLOW_ALL is a transactional table in the Oracle E-Business Suite Incentive Compensation (CN) module, owned by the CN schema. It records the approval routing and status of payment worksheets submitted by an analyst to one or more reporting managers for review and approval. In an incentive compensation cycle, once a pay run has calculated payments and a payment worksheet has been generated, the worksheet must be routed through an internal approval hierarchy before the payment can be released. This table captures each leg of that routing: who submitted the worksheet, to whom it was submitted, the delivery mechanism (user or e-mail), and the resulting approval decision.
Within the broader EBS data model, the table behaves as a workflow and audit record rather than a master entity. The heuristic Data Vault classification supplied in the metadata is standalone, meaning the FK-mining process found no unambiguous link or parent saturated by referencing relationships. As a modeling suggestion, the table is best treated as a transaction-level satellite keyed by its surrogate identifier, with the pay run and payment worksheet acting as the natural business context rather than strict hubs. It is multi-org aware through ORG_ID and is secured through SECURITY_GROUP_ID pointing to FND_SECURITY_GROUPS.
Key Information Stored
The 35 documented columns fall into three groups: identity and foreign keys, routing/approval attributes, and standard EBS audit and descriptive-flex columns.
- PAY_APPROVAL_FLOW_ID — the surrogate primary key, enforced by unique index CN_PAY_APPROVAL_FLOW_U1. This is the single business-key candidate documented for the table and is the recommended join key for downstream references.
- PAYRUN_ID — FK to CN_PAYRUNS_ALL; identifies the incentive compensation pay run under which the worksheet was produced.
- PAYMENT_WORKSHEET_ID — identifies the specific payment worksheet being submitted for approval.
- SUBMIT_BY_RESOURCE_ID / SUBMIT_BY_USER_ID / SUBMIT_BY_EMAIL — the submitting analyst, captured both as an incentive compensation resource and as an EBS application user, with the e-mail address used for notification.
- SUBMIT_TO_RESOURCE_ID / SUBMIT_TO_USER_ID / SUBMIT_TO_EMAIL — the receiving manager or approver for this routing leg, again captured as resource, user, and e-mail.
- APPROVAL_STATUS — the current disposition of the routing entry (for example pending, approved, or rejected), and the primary filter column for approval reporting.
- UPDATED_BY_RESOURCE_ID — the resource responsible for the most recent approval action.
- ORG_ID — operating unit context, enabling multi-org reporting and access control.
- SECURITY_GROUP_ID — FK to FND_SECURITY_GROUPS, governing which users may see the record.
- ATTRIBUTE_CATEGORY / ATTRIBUTE1–15 — the standard EBS descriptive flexfield segment columns for client-specific extensions.
- CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, OBJECT_VERSION_NUMBER — the standard who-columns and optimistic-locking version number used by the Oracle Applications framework.
Because SUBMIT_BY_* and SUBMIT_TO_* are stored per row, a single worksheet typically produces multiple rows forming an ordered chain of approvers.
Common Use Cases and Queries
Typical usage centers on approval cycle-time reporting, pending-approval worklists, and audit trails for incentive compensation payments.
- Worklist queries listing worksheets awaiting a specific manager, joining SUBMIT_TO_USER_ID to FND_USER.
- Cycle-time analysis comparing CREATION_DATE of the first routing row to LAST_UPDATE_DATE of the APPROVAL_STATUS = approved row.
- Audit reporting that reconstructs the full routing chain for a pay run ordered by PAY_APPROVAL_FLOW_ID.
- Exception reporting for submissions routed to e-mail rather than to an in-system user, where SUBMIT_TO_USER_ID is null and SUBMIT_TO_EMAIL is populated.
A representative pattern joins the table to the pay run and worksheet and filters by status:
SELECT f.PAY_APPROVAL_FLOW_ID, f.PAYRUN_ID, f.PAYMENT_WORKSHEET_ID, f.APPROVAL_STATUS, f.SUBMIT_BY_USER_ID, f.SUBMIT_TO_USER_ID FROM CN_PAY_APPROVAL_FLOW_ALL f WHERE f.ORG_ID = :org AND f.APPROVAL_STATUS = 'PENDING' ORDER BY f.PAYRUN_ID, f.PAY_APPROVAL_FLOW_ID;
When reporting across operating units, always constrain ORG_ID; when reproducing user-visible lists, additionally constrain SECURITY_GROUP_ID through the user's security profile.
Related Objects
- CN_PAYRUNS_ALL — parent pay run; join on PAYRUN_ID = CN_PAYRUNS_ALL.PAYRUN_ID. Provides pay period, plan, and run status context.
- FND_SECURITY_GROUPS — security group definition; join on SECURITY_GROUP_ID to resolve the group name and enforce row-level visibility.
- CN_PAYMENT_WORKSHEETS_ALL — the worksheet being approved; join on PAYMENT_WORKSHEET_ID to obtain worksheet totals and period.
- CN_RESOURCES_ALL — incentive compensation resource master; join SUBMIT_BY_RESOURCE_ID or SUBMIT_TO_RESOURCE_ID to resolve the analyst or manager name.
- FND_USER — EBS application user; join SUBMIT_BY_USER_ID or SUBMIT_TO_USER_ID for login-based worklists and notifications.
- FND_USER_RESP_GROUPS — supporting join for responsibility and security context when building approver worklists.
- CN_PAYMENT_WORKSHEET_DETAILS — line-level worksheet amounts, typically joined through the worksheet header for approval-value reporting.
- CN_WORKFLOW_PROCESSES and the Incentive Compensation payment approval workflow APIs — the PL/SQL and workflow components that insert into and transition rows in this table.
Because the table is classified as standalone with only two documented foreign keys, additional relationships are best confirmed against the module's workflow definitions and the payment worksheet header rather than assumed from naming conventions.
-
CN_PAY_APPROVAL_FLOW contains informatiom of an analyst submits the payment worksheet to his/her reporting managers to approve.
-
CN_PAY_APPROVAL_FLOW contains informatiom of an analyst submits the payment worksheet to his/her reporting managers to approve.
-
eTRM - CN Tables and Views 12.1.1
-
eTRM - CN Tables and Views 12.2.2