AR_CUSTOMER_PROFILES_ALL — CREDIT_LIMIT, DUNNING_LETTERS (Customer ID: 22184)
AR_PAYMENT_SCHEDULES_ALL — AMOUNT_DUE_REMAINING (14 open invoices)
Customer master health check — active status, site uses, payment terms, credit limits, dunning configuration, duplicate detection via TCA, and open debit/credit analysis.
The Oracle EBS customer master is a three-layer structure: the TCA party model in HZ_PARTIES stores the legal entity, HZ_CUST_ACCOUNTS stores the Oracle customer account, and HZ_CUST_SITE_USES_ALL stores the individual site uses — bill-to, ship-to, and statements. Each layer can have independent active/inactive flags, and a customer transaction can fail at any layer. An invoice entry failure that presents as 'customer not found' may have its root cause in an inactive HZ_PARTIES record, an inactive HZ_CUST_ACCOUNTS record, a missing bill-to site use, or a bill-to site use that exists but is inactive. Each of these requires a different fix in a different form.
Credit limit management is operationally critical in AR. When a customer's AR_CUSTOMER_PROFILES_ALL credit limit is set, Oracle AR tracks the total outstanding balance in AR_PAYMENT_SCHEDULES_ALL and blocks new order entry when the exposure reaches the limit — but only if credit checking is enabled on the order management side. When credit checking is disabled or the limit is set incorrectly — too high because the profile was never updated after a customer's payment behavior changed, or too low because the limit was set conservatively at account opening — the result is either uncollectable receivables building up against a customer who should have been on credit hold, or blocked orders for a customer who is a good payer.
Duplicate customer records in Oracle EBS carry the same consequences as duplicate vendor records in AP, with an additional complication: the TCA architecture means that a customer can be duplicated at the party level (two HZ_PARTIES records for the same legal entity), at the customer account level (two HZ_CUST_ACCOUNTS records under the same party), or at both levels. A duplicate at the party level is the most serious because TCA party data is shared across AR, AP (supplier), and PO — merging a party-level duplicate requires the Merge Parties concurrent program and affects records across all three modules.
AR-04 runs a complete customer account health diagnostic — party and account active status, all site uses across operating units with active status, credit limit versus current exposure analysis, dunning letter and payment terms configuration, duplicate detection at both party and account levels by name similarity and tax ID, and transaction history summary showing the customer's payment behavior pattern across the last 12 months.
AR-04 systematically investigates every major condition that can cause the issue this diagnostic targets. Below is the complete coverage breakdown.
Representative output showing the diagnostic running against a real-world scenario. The script identifies every condition, states the root cause, and generates the fix.
════════════════════════════════════════════════════════════
ORACLE EBS R12 — CUSTOMER ACCOUNT HEALTH DIAGNOSTIC
════════════════════════════════════════════════════════════
Customer Account : 22184 — Hawthorne Industrial Group
Party ID : HZ-88412
Operating Unit : US Operations OU
Case Number : AR-324100
Report Date : 23-FEB-2026 11:30:40
════════════════════════════════════════════════════════════
[ SECTION 1 — PARTY AND ACCOUNT STATUS ] STATUS: ✓ PASS
────────────────────────────────────────────────────────────
HZ_PARTIES Status : ACTIVE ✓
CUST_ACCOUNT Status: ACTIVE ✓
[ SECTION 2 — SITE USES ] STATUS: ✗ FAIL
────────────────────────────────────────────────────────────
Bill-to Primary : ACTIVE ✓
Bill-to Secondary : INACTIVE — 14 open invoices reference this site ✗
Ship-to : ACTIVE ✓
✗ FAIL: INACTIVE bill-to site referenced by 14 open invoices
Fix : Customers > Standard > Business Purposes: reactivate or transfer
[ SECTION 3 — CREDIT LIMIT ] STATUS: ⚠ WARNING
────────────────────────────────────────────────────────────
Credit Limit : $500,000
Current Exposure : $488,200 — 97.6% utilized
AR > 90 days : $84,200 — 17.2% of exposure
⚠ WARNING: Near credit limit — new orders may be blocked soon
[ SECTION 4 — DUNNING ] STATUS: ✗ FAIL
────────────────────────────────────────────────────────────
✗ No dunning letter set assigned to this customer profile
✗ $84,200 AR balance over 90 days — no collection letters sent
[ SECTION 5 — DUPLICATE DETECTION ] STATUS: ✓ PASS
════════════════════════════════════════════════════════════
DIAGNOSTIC SUMMARY
════════════════════════════════════════════════════════════
3 conditions: inactive site (14 invoices), credit limit risk, missing dunning
════════════════════════════════════════════════════════════
Every table touched by AR-04 data fixes is backed up before the first UPDATE fires. Backup is verified by row count. One script restores the original state if needed.
Backup happens before any DML. Script aborts if backup creation fails.
This article is produced automatically at the end of every AR-04 execution — written from actual run output. No manual documentation required.
Current credit exposure exceeds credit limit. AR-04 calculates exact exposure, outstanding invoices, and unapplied receipts, and shows the limit increase navigation path.
Customer has no active bill-to site use — blocking invoice creation. AR-04 identifies the inactive site and provides the Create Site Use navigation path.
Multiple HZ_PARTIES records for the same real-world customer. AR-04 identifies duplicates by name similarity and tax ID for Customer Merge evaluation.
Customer account missing dunning letter set assignment — bypassing collections process. AR-04 identifies unconfigured accounts with open past-due balances.
| Table / View | Schema | Purpose in Diagnostic |
|---|---|---|
| HZ_PARTIES | HZ | Party records for customer active status |
| HZ_CUST_ACCOUNTS | HZ | Customer account configuration |
| HZ_CUST_SITE_USES_ALL | HZ | Bill-to and ship-to site uses |
| HZ_LOCATIONS | HZ | Customer address for duplicate detection |
| AR_CUSTOMER_PROFILES_ALL | AR | Credit limits and dunning setup |
| HZ_PARTY_RELATIONSHIPS | HZ | Customer account hierarchy |
| RA_CUST_TRX_TYPES_ALL | AR | Default transaction types per customer |
| AR_PAYMENT_SCHEDULES_ALL | AR | Open balance for credit exposure |
Before any data is modified in a production Oracle database, AP-01 walks through a four-stage decision process. Every condition identified by the diagnostic maps to exactly one resolution path.
Oracle's own forms and concurrent programs are always the first option. If the condition can be corrected through Oracle's standard UI — a form, a concurrent program, a setup screen — that path is taken first. No consultant SQL required, no database risk, and the fix is fully supported by Oracle. The diagnostic identifies these conditions explicitly and states the exact front-end navigation path.
When the front-end path is unavailable or would require an unacceptable volume of manual steps, a direct fix is evaluated against explicit criteria. All of the following must be true before proceeding:
Certain table areas are never touched directly, regardless of how well the underlying structure is understood. The diagnostic flags these conditions and generates the Service Request documentation:
XLA_EVENTS, XLA_AE_HEADERS — incorrect changes corrupt the subledger audit trail in ways undetectable until period close fails or an auditor requests a reconciliationWF_ITEMS, WF_ITEM_ACTIVITY_STATUSES — ad-hoc DML can corrupt the workflow engine state instance-wideA timestamped backup table is created and row-count verified before the first UPDATE fires. Explicit parameter confirmation is required — the script will not self-execute. After execution, a verification query confirms the expected state. A complete change record — rows affected, before and after values, database username, timestamp — is written to the FIX_BACKUP_REGISTRY and becomes the primary artifact in the knowledge base entry for this incident.
| Condition Identified | Resolution Path | Notes |
|---|---|---|
| Inactive bill-to site with open invoices or orders | Functional First | Reactivate via Customers > Standard > Business Purposes, or transfer open invoices to the active site via Transactions workbench. AR-04 identifies all transactions referencing the inactive site for pre-reactivation review. |
| Customer on credit hold — exposure at or over limit | Functional First | Credit limit review and update via Customers > Standard > Credit Profile. AR-04 provides the exact exposure amount, AR aging breakdown, and 12-month payment history for the credit review decision. |
| Missing dunning letter set — past-due accounts not dunned | Functional First | Assign a dunning letter set via Customers > Standard > Payment Profile. AR-04 identifies the customer's overdue balance and the number of days since last dunning contact. |
| Duplicate customer at account level | Functional First | Customer account merge via TCA > Customers > Merge. AR-04 identifies all transactions, receipts, and open balances referencing both account IDs for pre-merge validation. |
| Duplicate customer at party level | Oracle Support | Party-level merge requires the Merge Parties concurrent program and affects AP, PO, and AR simultaneously. AR-04 identifies all cross-module references for the SR documentation. |
| Payment terms not assigned or inactive payment terms | Functional First | Assign active payment terms via Customers > Standard > Payment Profile or the site use payment terms override. AR-04 identifies the current terms value and the active terms options. |
| HZ_PARTIES inactive — transaction entry blocked | Direct Fix | AR-04 reactivates the HZ_PARTIES record (STATUS from INACTIVE to ACTIVE) with full backup where the party should clearly be active based on open transaction history. Requires business confirmation before execution. |
| No bill-to site in the required operating unit | Functional First | Create the bill-to site use for the OU via Customers > Standard > Business Purposes. AR-04 identifies which OUs are missing the bill-to assignment based on open invoice references. |
Before any data fix runs, the script verifies pre-flight conditions and creates a complete verified backup. If any check fails, the script aborts. There is no partial execution path.
Before the first UPDATE fires, the script creates a complete copy of every row to be modified. Tables are named CONS_BACKUP.<TABLE>_<CASE#> and persist permanently after execution.
INSERT from the backup table. No reconstruction required.The knowledge base article is generated automatically from the script's execution output. No manual documentation required. It becomes the institutional record — for the team, for auditors, and for every future engagement in the same environment.
| R12 Guide (PDF) | Title & Chapter | Detail |
|---|---|---|
| 120arig.pdf | Oracle Receivables Implementation Guide — Ch. 3: Customer Profile Classes | pp. 3-6 to 3-16: Customer profile classes, credit limits, and payment term defaults |
| 120arig.pdf | Oracle Receivables Implementation Guide — Ch. 2: Organizations | pp. 2-22 to 2-24: Multiple organization support for customer account partitioning |
| 120funmo.pdf | Oracle Applications Multiple Organizations Implementation Guide | Operating unit and business group configuration for TCA party and customer access |
AR-04 is one of 65 diagnostic scripts covering every major Oracle EBS and Fusion module. William A. Green Consulting runs the script in your environment, applies guided data fixes, and builds the knowledge base that prevents the same issues from recurring.
See this script run autonomously — Oracle AI Platform →