My Oracle Support Banner

Customers Workbench: Cannot Query a Customer in the Form, Due to Mismatch of Primary Flag Setting Between HZ_CUST_ACCT_SITES_ALL and HZ_CUST_SITE_USES_ALL (Doc ID 1631914.1)

Last updated on MAY 18, 2021

Applies to:

Oracle Trading Community - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

The PRIMARY_FLAG setting in HZ_CUST_SITE_USES_ALL is not carried over into the following columns in the HZ_CUST_ACCT_SITES_ALL table:

BILL_TO_FLAG
SHIP_TO_FLAG
MARKET_FLAG

These fields in HZ_CUST_ACCT_SITES_ALL should match the control table of the HZ_CUST_SITE_USES_ALL table.

The value of HZ_CUST_SITE_USES_ALL.PRIMARY_FLAG must be consistent with the corresponding flag field in HZ_CUST_ACCT_SITES_ALL.

For example:
When HZ_CUST_SITE_USES_ALL.SITE_USE_CODE = 'BILL_TO' and PRIMARY_FLAG = 'Y' then HZ_CUST_ACCT_SITES_ALL.BILL_TO_FLAG = 'P'.
When HZ_CUST_SITE_USES_ALL.SITE_USE_CODE = 'BILL_TO' and PRIMARY_FLAG = 'N' then HZ_CUST_ACCT_SITES_ALL.BILL_TO_FLAG = 'Y'.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.