Search Results coin_anal_element_id
Overview
The PAY_COIN_ANAL_ELEMENTS table is a core transactional table within the Oracle E-Business Suite (EBS) Payroll module (PAY). It serves a specific and critical function in the cash payment process. As indicated by its description, this table stores the detailed monetary unit quantities required for the automatic make-up of cash payments. In essence, it acts as a supporting ledger that breaks down a cash payment into its constituent physical denominations (e.g., number of specific banknote and coin types) to facilitate accurate cash handling and disbursement. Its role is integral to payroll operations in regions or scenarios where physical cash payments are processed through the system.
Key Information Stored
The table's primary purpose is to link a cash payment instruction to the specific monetary units that compose it. While the full column list is not provided in the excerpt, the documented foreign keys and primary key reveal its essential structure. The COIN_ANAL_ELEMENT_ID column is the table's unique primary key. The PRE_PAYMENT_ID column is a foreign key that links each row back to a parent record in the PAY_PRE_PAYMENTS table, identifying the specific cash payment being analyzed. The MONETARY_UNIT_ID column is a foreign key linking to the PAY_MONETARY_UNITS table, which defines the currency denomination (e.g., a $20 bill, a 1€ coin). It is logical to infer the existence of a QUANTITY or similar column (not explicitly listed but implied by the description "quantities") that stores the count of each specific monetary unit required to fulfill the total cash amount of the linked pre-payment.
Common Use Cases and Queries
The primary use case is generating detailed cash breakdown reports for payroll officers or cashiers responsible for preparing pay packets. A typical query would join this table to its related masters to produce a payment instruction summary. For example, to list all monetary units required for a specific pre-payment, one might use:
- SELECT pmu.unit_value, pcae.quantity FROM pay_coin_anal_elements pcae JOIN pay_monetary_units pmu ON pcae.monetary_unit_id = pmu.monetary_unit_id WHERE pcae.pre_payment_id = :p_prepay_id ORDER BY pmu.unit_value DESC;
This data is also crucial for reconciliation and audit trails, verifying that the system's calculated cash composition matches the physical cash disbursed. Integration with banking or cash management systems may also utilize this data to generate precise withdrawal orders.
Related Objects
PAY_COIN_ANAL_ELEMENTS has defined relationships with two key tables, as per the provided metadata:
- PAY_PRE_PAYMENTS: This is the parent table. The relationship is established via the foreign key column PAY_COIN_ANAL_ELEMENTS.PRE_PAYMENT_ID referencing PAY_PRE_PAYMENTS. A single pre-payment record will have one or more corresponding detail records in PAY_COIN_ANAL_ELEMENTS.
- PAY_MONETARY_UNITS: This is a reference table for valid currency denominations. The relationship is via PAY_COIN_ANAL_ELEMENTS.MONETARY_UNIT_ID referencing PAY_MONETARY_UNITS. This join provides the description and value of each monetary unit type stored in the analysis.
These relationships form a logical hierarchy: PAY_PRE_PAYMENTS (the payment header) -> PAY_COIN_ANAL_ELEMENTS (the cash breakdown lines) -> PAY_MONETARY_UNITS (the unit definition).
-
Table: PAY_COIN_ANAL_ELEMENTS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_COIN_ANAL_ELEMENTS, object_name:PAY_COIN_ANAL_ELEMENTS, status:VALID, product: PAY - Payroll , description: Monetary unit quantities for automatic make-up of cash payments. , implementation_dba_data: HR.PAY_COIN_ANAL_ELEMENTS ,
-
Table: PAY_COIN_ANAL_ELEMENTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_COIN_ANAL_ELEMENTS, object_name:PAY_COIN_ANAL_ELEMENTS, status:VALID, product: PAY - Payroll , description: Monetary unit quantities for automatic make-up of cash payments. , implementation_dba_data: HR.PAY_COIN_ANAL_ELEMENTS ,