Search Results ams_mkt_segments_pub
Overview
The APPS.AMS_MKT_SEGMENTS_PUB package body is a public API wrapper within the Oracle E-Business Suite Marketing (AMS) module. Its business function is to expose party-level marketing segment information to external callers in a controlled, encapsulated form. The package belongs to the Oracle Marketing foundation schema and is classified as a PUBLIC (PUB) API, meaning it is intended for invocation from outside the AMS application boundary. The package body is intentionally thin: rather than embedding query logic directly, it delegates all substantive work to the companion private package AMS_MKT_SEGMENTS_PVT, which holds the implementation and returns a strongly typed PL/SQL collection. This separation of interface from implementation is a recurring pattern in EBS public APIs, allowing Oracle to change underlying query mechanics without altering the published signature.
Key Procedures and Functions
The package exposes exactly one documented function, GET_MKT_SEGMENTS.
- GET_MKT_SEGMENTS — Returns a PL/SQL associative-array collection of type
AMS_MKT_SEGMENTS_PVT.PartyMktSegTabTyp, representing the marketing segments associated with a party. The function accepts optional filtering by party and by target market segment, both defaulting to NULL, which allows callers to retrieve all segments for a given party, a specific segment, or the full working set. Its implementation simply forwards the arguments toAMS_MKT_SEGMENTS_PVT.Get_Mkt_Segmentsand returns the resulting collection unchanged.
No other procedures or functions are documented in this package body.
Tables Accessed
The package operates against the base table AMS_PARTY_MARKET_SEGMENTS, accessed through its APPS synonym. This table stores the association between parties (customers, prospects, and other entities) and the market segments to which they have been assigned. The function reads from this table — there is no documented insert, update, or delete behavior in this package — to populate the returned collection of party market segment records. The columns referenced in the procedure signature, namely PARTY_ID and MARKET_SEGMENT_ID, correspond directly to key columns of that table and serve as the primary selection criteria.
Usage Notes
Because AMS_MKT_SEGMENTS_PUB is a public API, it is the correct entry point for custom code that needs to resolve marketing segment membership for a party. Typical invocations include:
- Custom PL/SQL routines that must evaluate which segments a customer belongs to in order to drive targeting, personalization, or eligibility logic.
- Concurrent programs or batch processes that bulk-load or analyze segment membership across a population of parties.
- Workflow or form-based extensions that need segment data at runtime without directly querying the base table, thereby respecting Oracle's supported API boundary.
Callers must be prepared to handle the returned PL/SQL collection type and should note that passing NULL for both parameters returns the broadest result set. One other package in the instance references this API, indicating it is consumed within the AMS dependency chain as well as by external code. Direct SQL against AMS_PARTY_MARKET_SEGMENTS should be avoided where this published function can be used, since the underlying PVT implementation may apply business rules or filtering not visible in the base table.
-
PACKAGE BODY: APPS.AMS_MKT_SEGMENTS_PUB
12.1.1
-
PACKAGE BODY: APPS.AMS_MKT_SEGMENTS_PUB
12.2.2
-
PACKAGE: APPS.AMS_MKT_SEGMENTS_PUB
12.1.1
-
PACKAGE: APPS.AMS_MKT_SEGMENTS_PUB
12.2.2
-
PACKAGE BODY: APPS.AMS_MKT_SEGMENTS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_MKT_SEGMENTS_PUB, status:VALID,
-
PACKAGE: APPS.AMS_MKT_SEGMENTS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_MKT_SEGMENTS_PUB, status:VALID,
-
PACKAGE: APPS.AMS_MKT_SEGMENTS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_MKT_SEGMENTS_PUB, status:VALID,
-
PACKAGE: APPS.AMS_MKT_SEGMENTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_MKT_SEGMENTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_MKT_SEGMENTS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_MKT_SEGMENTS_PUB, status:VALID,
-
PACKAGE: APPS.AMS_MKT_SEGMENTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_MKT_SEGMENTS_PVT, status:VALID,
-
SYNONYM: APPS.AMS_PARTY_MARKET_SEGMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_PARTY_MARKET_SEGMENTS, status:VALID,
-
SYNONYM: APPS.AMS_PARTY_MARKET_SEGMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_PARTY_MARKET_SEGMENTS, status:VALID,
-
PACKAGE BODY: APPS.AMS_IBA_SEGMENTS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_IBA_SEGMENTS_PUB, status:VALID,
-
PACKAGE BODY: APPS.AMS_IBA_SEGMENTS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_IBA_SEGMENTS_PUB, status:VALID,
-
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
-
APPS.AMS_MKT_SEGMENTS_PUB dependencies on AMS_MKT_SEGMENTS_PUB
12.1.1
-
APPS.AMS_MKT_SEGMENTS_PUB dependencies on AMS_MKT_SEGMENTS_PUB
12.2.2
-
APPS.AMS_IBA_SEGMENTS_PUB dependencies on AMS_MKT_SEGMENTS_PUB
12.1.1
-
APPS.AMS_IBA_SEGMENTS_PUB dependencies on AMS_MKT_SEGMENTS_PUB
12.2.2
-
APPS.AMS_MKT_SEGMENTS_PUB dependencies on AMS_PARTY_MARKET_SEGMENTS
12.2.2
-
APPS.AMS_MKT_SEGMENTS_PUB dependencies on AMS_PARTY_MARKET_SEGMENTS
12.1.1
-
APPS.AMS_MKT_SEGMENTS_PUB dependencies on AMS_MKT_SEGMENTS_PVT
12.1.1
-
APPS.AMS_MKT_SEGMENTS_PUB dependencies on AMS_MKT_SEGMENTS_PVT
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,