Search Results inv_serial_number
Overview
APPS.USER_PKG_SERIAL is a user-defined serial generation API delivered as part of the Oracle Inventory (INV) product. Within Oracle E-Business Suite 12.1.1 and 12.2.2, it provides a mechanism by which organizations can override the standard Oracle serial number generation logic with their own custom numbering scheme. The package is classified under the ETRM category BUSINESS_ENTITY INV_SERIAL_NUMBER, is scoped as public, and carries an active lifecycle status. Its source header (INVUDSGS.pls) indicates a copyright/version stamp dating to 2005, reflecting a long-standing and stable interface within the Inventory module.
The business purpose is straightforward: when an organization configures the serial generation level as "User Defined," the system delegates serial number creation to the logic contained in this package rather than applying Oracle's seeded generation routines. This allows enterprises to enforce site-specific formats, ranges, or sequencing rules where standard generation proves insufficient.
The user's search term "inv_serial_number" aligns directly with the package's domain — the INV_SERIAL_NUMBER business entity and the serial number output variable produced by its generation procedure.
Key Procedures and Functions
The ETRM documentation records a single documented procedure for this package: GENERATE_SERIAL_NUMBER.
- GENERATE_SERIAL_NUMBER — This procedure encapsulates the user-defined logic invoked by the system when generating a serial number. It accepts the organization and inventory item as inputs and returns the newly created serial number through an output variable. The returned serial number must not exceed 30 characters. It also returns a status indicator; on successful generation the procedure must assign the value FND_API.G_RET_STS_SUCCESS, while any other returned value is interpreted by the calling program as an error. Additional output parameters convey error message data and a message count from the error stack in the event of failure.
The documentation explicitly describes this procedure as a stub: implementers fill in the generation logic and apply the package to the database. No other procedures or functions are documented in the ETRM metadata, and the package is not listed as referenced by any other package.
Tables Accessed
The provided ETRM metadata does not document any tables referenced through APPS synonyms by this package. This is consistent with the package's design as a stub: the seeded body contains placeholder logic and does not, in its delivered form, read from or write to Inventory tables. Any table access that occurs is introduced by the customer or implementer when populating the stub with a real generation algorithm. Typical custom implementations might query item or organization data to derive a number, but such access is not part of the documented package behavior.
Usage Notes
USER_PKG_SERIAL is invoked by the Inventory application when the serial generation level for a given organization is configured as User Defined. In that configuration, the standard Oracle generation path is replaced by a call to GENERATE_SERIAL_NUMBER, which supplies the organization and item context and expects a valid serial number and success status in return.
The procedure is not intended for direct invocation from forms or concurrent programs by end users. Instead, it is called internally by the serial entry and generation flows, including those reached through the Inventory serial number entry forms and related transaction processes. Implementation and deployment of the package body are performed by a technical consultant or developer, who fills in the stub logic and applies it to the APPS schema. Because it is a public API, the interface contract — parameter semantics and the requirement to return FND_API.G_RET_STS_SUCCESS on success — must be honored to avoid interrupting the calling serial generation process.
-
PACKAGE: APPS.USER_PKG_SERIAL
12.1.1
-
PACKAGE: APPS.USER_PKG_SERIAL
12.2.2
-
PACKAGE: APPS.INV_SERIAL_NUMBER_PUB
12.2.2
-
PACKAGE: APPS.INV_SERIAL_NUMBER_PUB
12.1.1
-
Lookup Type: BUSINESS_ENTITY
12.1.1
product: FND - Application Object Library , meaning: Business Entity(1) ,
-
Lookup Type: BUSINESS_ENTITY
12.2.2
product: FND - Application Object Library , meaning: Business Entity(1) ,