Search Results amw_load_constraint_data
Overview
AMW_LOAD_CONSTRAINT_DATA is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite and is a component of the Applications Management Workbench (AMW) constraint management framework. Its principal business function is to load constraint definitions from staging interface tables into the AMW constraint base and translation tables, and to update those interface records with processing errors when validation or loading fails. The package header confirms this dual role: one procedure, CREATE_CONSTRAINTS, moves data from the interface into AMW_CONSTRAINTS_B and AMW_CONSTRAINTS_TL, while the second procedure, UPDATE_INTERFACE_WITH_ERROR, is the error-handling counterpart that writes failure diagnostics back to the interface. The package was created on 01-Oct-2004 and carries the version marker amwcstls.pls 120.0.12000000.1 (2007/01/16), identifying it as a long-standing, relatively stable component of the AMW data-loading toolkit. It follows the standard Oracle EBS API conventions, declaring FND_API global constants and capturing the runtime user and login identifiers through FND_GLOBAL.
Key Procedures and Functions
The ETRM metadata documents two procedures for this package:
- CREATE_CONSTRAINTS — Imports constraint data from the AMW interface table into the AMW_CONSTRAINTS_B and AMW_CONSTRAINTS_TL tables. The header notes that this procedure is intended to be called from a Concurrent Executable, and it exposes the standard concurrent return parameters ERRBUF and RETCODE along with a batch identifier used to scope the set of rows processed in a given run. Its logic is responsible for validation, insertion into the base and translation tables, and coordination with the error-recording routine.
- UPDATE_INTERFACE_WITH_ERROR — Records error information against the corresponding interface rows when a constraint record cannot be validated or loaded. This is the object the user searched for under the term "update_interface_with_error," and it provides the mechanism by which CREATE_CONSTRAINTS communicates row-level failures back to the staging table so that operators can review, correct, and resubmit rejected data.
No parameter lists are published beyond those declared in the source excerpt, and none are assumed here.
Tables Accessed
The package operates across the following documented tables, referenced through APPS synonyms:
- AMW_CONSTRAINT_INTERFACE — the staging interface table from which records are read, and to which error status is written by UPDATE_INTERFACE_WITH_ERROR.
- AMW_CONSTRAINTS_B, AMW_CONSTRAINTS_TL, AMW_CONSTRAINT_ENTRIES, AMW_CONSTRAINT_REV_S, AMW_CONSTRAINT_WAIVERS, AMW_VIOLATIONS — the constraint definition, translation, revision, waiver, and violation structures that constitute the AMW constraint model.
- AMW_AP_INTERFACE, AMW_WORK_TYPES_B — supporting interface and work-type reference data used during loading.
- FND_OBJECTS, FND_FORM_FUNCTIONS, FND_COMPILED_MENU_FUNCTIONS, FND_RESPONSIBILITY, FND_RESP_FUNCTIONS, FND_CONCURRENT_PROGRAMS — application object, menu, responsibility, function, and concurrent program metadata used to validate or resolve constraint targets and to support the concurrent-executable invocation path.
Usage Notes
AMW_LOAD_CONSTRAINT_DATA is principally invoked from a concurrent executable, as stated in the package header comment above CREATE_CONSTRAINTS. In practice the concurrent program is registered in FND_CONCURRENT_PROGRAMS and submits a batch of interface rows for processing; the ERRBUF and RETCODE out parameters carry the completion status back to the concurrent manager, while the batch identifier limits the scope of each run. The package is referenced by one other package in the ETRM metadata, indicating that it also participates in a broader AMW load or setup flow rather than being called exclusively by end users. Direct invocation from Oracle Forms is not indicated; custom code should generally emulate the concurrent pattern by supplying a batch identifier and handling ERRBUF/RETCODE conventions. Because UPDATE_INTERFACE_WITH_ERROR is exposed in the package specification, it can be called independently to mark interface rows with error text, which is useful when building custom diagnostics or reprocessing scripts.
-
PACKAGE: APPS.AMW_LOAD_CONSTRAINT_DATA
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_LOAD_CONSTRAINT_DATA, status:VALID,
-
PACKAGE BODY: APPS.AMW_LOAD_CONSTRAINT_DATA
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMW_LOAD_CONSTRAINT_DATA, status:VALID,
-
PACKAGE: APPS.AMW_LOAD_CONSTRAINT_DATA
12.1.1
-
SYNONYM: APPS.AMW_CONSTRAINTS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_CONSTRAINTS_TL, status:VALID,
-
PACKAGE: APPS.AMW_CONSTRAINTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_CONSTRAINTS_PKG, status:VALID,
-
SYNONYM: APPS.AMW_CONSTRAINT_REV_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_CONSTRAINT_REV_S, status:VALID,
-
SYNONYM: APPS.AMW_CONSTRAINT_INTERFACE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_CONSTRAINT_INTERFACE, status:VALID,
-
SYNONYM: APPS.AMW_CONSTRAINT_WAIVERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_CONSTRAINT_WAIVERS, status:VALID,
-
SYNONYM: APPS.AMW_AP_INTERFACE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_AP_INTERFACE, status:VALID,
-
SYNONYM: APPS.AMW_CONSTRAINT_ENTRIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_CONSTRAINT_ENTRIES, status:VALID,
-
SYNONYM: APPS.AMW_VIOLATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_VIOLATIONS, status:VALID,
-
PACKAGE BODY: APPS.AMW_LOAD_SOD_DATA
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMW_LOAD_SOD_DATA, status:VALID,
-
SYNONYM: APPS.AMW_CONSTRAINTS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_CONSTRAINTS_B, status:VALID,
-
SYNONYM: APPS.AMW_WORK_TYPES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_WORK_TYPES_B, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.FND_RESP_FUNCTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_RESP_FUNCTIONS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.FND_COMPILED_MENU_FUNCTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_COMPILED_MENU_FUNCTIONS, status:VALID,
-
PACKAGE: APPS.AMW_UTILITY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_UTILITY_PVT, status:VALID,
-
VIEW: APPS.AMW_CONSTRAINTS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_CONSTRAINTS_VL, object_name:AMW_CONSTRAINTS_VL, status:VALID,
-
SYNONYM: APPS.FND_OBJECTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_OBJECTS, status:VALID,
-
SYNONYM: APPS.FND_CONCURRENT_PROGRAMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_CONCURRENT_PROGRAMS, status:VALID,
-
SYNONYM: APPS.FND_FORM_FUNCTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_FORM_FUNCTIONS, status:VALID,
-
SYNONYM: APPS.FND_RESPONSIBILITY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_RESPONSIBILITY, status:VALID,
-
APPS.AMW_LOAD_CONSTRAINT_DATA dependencies on AMW_LOAD_CONSTRAINT_DATA
12.1.1
-
APPS.AMW_LOAD_SOD_DATA dependencies on AMW_LOAD_CONSTRAINT_DATA
12.1.1
-
PACKAGE BODY: APPS.AMW_LOAD_CONSTRAINT_DATA
12.1.1
-
PACKAGE: APPS.FND_FILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
eTRM - AMW Tables and Views
12.1.1
description: This fact table stores the summary data related to the Significant Account Evaluation report ,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
APPS.AMW_LOAD_CONSTRAINT_DATA dependencies on FND_FILE
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
eTRM - AMW Tables and Views
12.1.1
description: This fact table stores the summary data related to the Significant Account Evaluation report ,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,