Results for “default_flag”

6 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

HZ_STYLE_FORMATS_B is a Receivables (AR) module table within the Oracle E-Business Suite 12.1.1 and 12.2.2 data model, residing in the AR schema. It defines the specific formats that are valid for one or more locations, forming part of the Oracle Trading Community Architecture (TCA) style and format configuration. The table stores the base ("_B") records that describe a style format, which is a granular rendering or structural variant belonging to a broader style definition. Downstream localized and variation-specific rows depend on these base definitions.

From a Data Vault modeling perspective, the metadata classifies this table as hub-leaning. This is a modeling suggestion only: the table behaves as a hub because it carries a stable business key (STYLE_FORMAT_CODE), holds no descriptive attributes of significance, and is referenced by multiple dependent tables. It sits at the center of several relationships, with satellite-style descriptive data distributed across the associated locale, variation, and translation tables.

Key Information Stored

The table contains 10 documented columns. The most significant are:

  • STYLE_FORMAT_CODE — The business key and primary key component. It uniquely identifies each style format and is the anchor referenced by all dependent tables via foreign keys.
  • STYLE_CODE — A foreign key to HZ_STYLES_B, linking each format to its parent style definition.
  • DEFAULT_FLAG — Indicates whether the format is the default format for its associated style.
  • ZD_EDITION_NAME — The editioning column introduced in the 12.2.x edition-based redefinition architecture; it participates in the unique index HZ_STYLE_FORMATS_B_U1 alongside STYLE_FORMAT_CODE.
  • OBJECT_VERSION_NUMBER — Supports optimistic locking and concurrency control during updates.
  • LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN — Standard Oracle EBS audit columns tracking who created and last modified each record and when.

The surrogate primary key is defined by HZ_STYLE_FORMATS_B_PK on STYLE_FORMAT_CODE. The unique index HZ_STYLE_FORMATS_B_U1 (STYLE_FORMAT_CODE, ZD_EDITION_NAME) serves as the business-key candidate, reflecting the editioning model introduced in 12.2.2.

Common Use Cases and Queries

Typical scenarios include resolving the format associated with a style, identifying default formats, and joining format metadata to locale or variation detail. A common query pattern retrieves all formats for a given style:

  • SELECT style_format_code, style_code, default_flag FROM hz_style_formats_b WHERE style_code = :style_code;
  • Joining to the translation table to obtain descriptive text: SELECT b.style_format_code, t.style_format_name FROM hz_style_formats_b b, hz_style_formats_tl t WHERE b.style_format_code = t.style_format_code AND t.language = USERENV('LANG');
  • Reporting on locale-specific formats via HZ_STYLE_FMT_LOCALES, and variation-specific formats via HZ_STYLE_FMT_VARIATIONS.

These queries support customer data quality, address or name formatting configuration, and interface validation during data import via TCA APIs.

Related Objects

  • HZ_STYLES_B — Parent table referenced through STYLE_CODE; defines the overarching style.
  • HZ_STYLE_FORMATS_TL — Translation table keyed by STYLE_FORMAT_CODE, supplying language-specific descriptions.
  • HZ_STYLE_FMT_LOCALES — Locale applicability rows referencing STYLE_FORMAT_CODE.
  • HZ_STYLE_FMT_VARIATIONS — Variation definitions referencing STYLE_FORMAT_CODE.
  • TCA formatting and validation APIs — Consume these format definitions when applying style-based formatting to party, location, or address data.

Together these objects form the TCA style-and-format subsystem within the Receivables schema, with HZ_STYLE_FORMATS_B acting as the central hub for format definitions.