Search Results ap_card_codes_all
Overview
The AP_CARD_CODES_ALL table is a core data repository within the Oracle E-Business Suite Payables (AP) module. It stores the master definition of credit card codes, which are used to categorize and control corporate credit card transactions. These codes are essential for implementing corporate card programs, enabling organizations to define and enforce spending policies, streamline expense reporting, and facilitate the reconciliation of card transactions imported via expense feed files. As an "ALL" table, it is a multi-organization structure, meaning it can store data for multiple operating units within a single installation, supporting the architectural principle of a shared service center in Oracle EBS.
Key Information Stored
The table's primary purpose is to maintain a unique list of valid card codes. While the provided metadata does not list all columns, the structure centers on the primary key, CODE_ID, which uniquely identifies each code record. A critical foreign key column is CODE_SET_ID, which links each code to its parent code set defined in the AP_CARD_CODE_SETS_ALL table. This relationship allows for logical grouping of codes. Other inferred columns would typically include the actual CODE value (a number or alphanumeric string), an ENABLED_FLAG, and descriptive fields like DESCRIPTION. The START_DATE and END_DATE columns are standard in EBS to control the active period of the code definition.
Common Use Cases and Queries
This table is central to configuring and querying corporate card setups. A common use case is validating card transactions during an expense feed import, where the system checks if the transaction's code exists and is active in AP_CARD_CODES_ALL. Administrators frequently query this table to audit or report on defined codes. A typical SQL pattern retrieves all active codes for a specific code set:
- SELECT code, description FROM ap_card_codes_all WHERE code_set_id = &code_set_id AND SYSDATE BETWEEN start_date_active AND NVL(end_date_active, SYSDATE) AND enabled_flag = 'Y';
Another critical use is in conjunction with the AP_CARD_PROFILE_LIMITS_ALL table, where code ranges (defined by START_CODE_ID and END_CODE_ID foreign keys) are used to establish spending limits and controls for card programs.
Related Objects
As indicated by the foreign key relationships, AP_CARD_CODES_ALL is integral to several other Payables objects. AP_CARD_CODE_SETS_ALL is its parent table, defining the code set to which individual codes belong. AP_CARD_PROFILE_LIMITS_ALL references it twice, using START_CODE_ID and END_CODE_ID to define inclusive ranges of codes for profile limits. AP_EXPENSE_FEED_LINES_ALL holds the imported transaction lines and references the CODE_ID to categorize each expense. For application development, related APIs and public views (such as AP_CARD_CODES) may exist to provide a secure and stable interface for accessing this data.
-
Table: AP_CARD_CODES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CARD_CODES_ALL, object_name:AP_CARD_CODES_ALL, status:VALID, product: AP - Payables , description: Information for credit card codes that you define , implementation_dba_data: AP.AP_CARD_CODES_ALL ,
-
Table: AP_CARD_CODES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CARD_CODES_ALL, object_name:AP_CARD_CODES_ALL, status:VALID, product: AP - Payables , description: Information for credit card codes that you define , implementation_dba_data: AP.AP_CARD_CODES_ALL ,
-
VIEW: AP.AP_CARD_CODES_ALL#
12.2.2
owner:AP, object_type:VIEW, object_name:AP_CARD_CODES_ALL#, status:VALID,
-
Table: AP_CARD_PROFILE_LIMITS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CARD_PROFILE_LIMITS_ALL, object_name:AP_CARD_PROFILE_LIMITS_ALL, status:VALID, product: AP - Payables , description: Reserved for a future feature , implementation_dba_data: AP.AP_CARD_PROFILE_LIMITS_ALL ,
-
Table: AP_CARD_PROFILE_LIMITS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CARD_PROFILE_LIMITS_ALL, object_name:AP_CARD_PROFILE_LIMITS_ALL, status:VALID, product: AP - Payables , description: Reserved for a future feature , implementation_dba_data: AP.AP_CARD_PROFILE_LIMITS_ALL ,
-
SYNONYM: APPS.AP_CARD_CODES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_CARD_CODES_ALL, status:VALID,
-
SYNONYM: APPS.AP_CARD_CODES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_CARD_CODES_ALL, status:VALID,
-
VIEW: AP.AP_CARD_CODES_ALL#
12.2.2
-
Table: AP_CARD_CODE_SETS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CARD_CODE_SETS_ALL, object_name:AP_CARD_CODE_SETS_ALL, status:VALID, product: AP - Payables , description: Descriptive information about credit card code sets assigned to and used by card programs , implementation_dba_data: AP.AP_CARD_CODE_SETS_ALL ,
-
TABLE: AP.AP_CARD_CODES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CARD_CODES_ALL, object_name:AP_CARD_CODES_ALL, status:VALID,
-
TABLE: AP.AP_CARD_CODES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CARD_CODES_ALL, object_name:AP_CARD_CODES_ALL, status:VALID,
-
SYNONYM: APPS.AP_CARD_CODES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_CARD_CODES, status:VALID,
-
Table: AP_CARD_CODE_SETS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CARD_CODE_SETS_ALL, object_name:AP_CARD_CODE_SETS_ALL, status:VALID, product: AP - Payables , description: Descriptive information about credit card code sets assigned to and used by card programs , implementation_dba_data: AP.AP_CARD_CODE_SETS_ALL ,
-
SYNONYM: APPS.AP_CARD_CODES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_CARD_CODES, status:VALID,
-
Table: AP_EXPENSE_FEED_LINES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXPENSE_FEED_LINES_ALL, object_name:AP_EXPENSE_FEED_LINES_ALL, status:VALID, product: AP - Payables , description: Detailed information about credit card transactions imported from the credit card issuer , implementation_dba_data: AP.AP_EXPENSE_FEED_LINES_ALL ,
-
Table: AP_EXPENSE_FEED_LINES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXPENSE_FEED_LINES_ALL, object_name:AP_EXPENSE_FEED_LINES_ALL, status:VALID, product: AP - Payables , description: Detailed information about credit card transactions imported from the credit card issuer , implementation_dba_data: AP.AP_EXPENSE_FEED_LINES_ALL ,
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
PACKAGE BODY: APPS.AD_MORG
12.1.1
-
PACKAGE BODY: APPS.AD_MORG
12.2.2
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1