Results for “okc_k_seq_lines”

50+ results




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

Overview

OKC_K_SEQ_LINES is a Contracts Core (OKC) transactional configuration table in Oracle E-Business Suite 12.1.1 and 12.2.2. It holds the detail records used by the Autonumbering feature for contracts. Where the header-level autonumbering setup defines the overall numbering scheme for a class or subclass of contract, OKC_K_SEQ_LINES stores the individual sequence lines that control how contract numbers are generated — including prefix and suffix text, numeric length, and the starting and ending sequence values. Because autonumbering is evaluated at contract creation time, this table is central to determining the contract number assigned to each new contract document.

Based on the heuristic Data Vault classification mined from its foreign key structure, this object is best modeled as a link. It resolves relationships between contract classification entities and the underlying document sequence generator, rather than acting as a pure hub of a single business concept or a satellite of descriptive attributes.

Key Information Stored

The table contains 20 documented columns in the OKC schema. The most significant are:

Common Use Cases and Queries

Typical scenarios include diagnosing why a contract received an unexpected number, reporting on numbering schemes by operating unit, and validating sequence ranges across classes. A representative query joins the lines to the class and subclass reference tables and to the document sequence definition:

  • Retrieve active autonumbering lines for a class: SELECT l.id, l.line_code, l.cls_code, l.scs_code, l.contract_number_prefix, l.number_format_length, l.start_seq_no, l.end_seq_no FROM okc.okc_k_seq_lines l WHERE l.cls_code = :class_code;
  • Join to document sequences: SELECT l.id, l.line_code, s.name, l.manual_override_yn FROM okc.okc_k_seq_lines l, fnd_document_sequences s WHERE l.doc_sequence_id = s.document_sequence_id;
  • Join to class definitions: SELECT l.line_code, c.name AS class_name, l.contract_number_prefix FROM okc.okc_k_seq_lines l, okc.okc_classes_b c WHERE l.scs_code = c.code;

These patterns support contract administration reports, number-gap audits, and post-implementation verification of numbering configuration.

Related Objects

  • OKC_CLASSES_B — joined via SCS_CODE; provides the contract class definition.
  • OKC_SUBCLASSES_B — joined via SCS_CODE; provides the subclass definition.
  • FND_DOCUMENT_SEQUENCES — joined via DOC_SEQUENCE_ID; supplies the underlying sequence generator.
  • FND_SECURITY_GROUPS — joined via SECURITY_GROUP_ID; enforces security grouping.
  • OKC_K_SEQ_HEADERS (or equivalent header configuration) — the parent autonumbering setup that these detail lines extend, where used.
  • OKC_K_HEADERS / OKC_K_LINES — the contract header and line tables whose numbers are ultimately derived from these lines.