Search Results set_producttrxnrec_flags




Overview

CSD_LOGISTICS_UTIL is a utility PL/SQL package owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It belongs to the Enterprise Territory and Resource Management (ETRM) / Service (CSD) product family and is classified as a UTIL-type API. Its business function is to provide shared, low-level validation, record-building, and transaction-posting services consumed by the higher-level Service Logistics and Product Transaction APIs. The package centralizes reusable logic that would otherwise be duplicated across CSD_LOGISTICS_PUB, CSD_LOGISTICS_PVT, and CSD_PROCESS_PVT, ensuring consistent rules for item validation, serial and lot control, unit-of-measure checking, and product transaction construction. Because it is a utility layer rather than an end-user API, it is not typically called directly from forms or concurrent programs; instead it supports the public and private logistics processing flows that drive field service returns, repairs, and billing-related product transactions.

Key Procedures and Functions

The package exposes twenty-seven documented procedures and functions, organized into validation, construction, and processing groups.

  • VALIDATE_* routines — A family of validation procedures covering inventory item ID, transaction billing type ID, revision, instance ID, lot number, serial number, reason code, unit of measure, party site ID, and source serial number. These confirm that referenced master data exists and is valid before a product transaction is built or booked.
  • BUILD_PRODUCTTXNREC — Constructs the in-memory product transaction record from supplied inputs.
  • GET_CONCATENATED_SEGMENTS — Resolves key flexfield concatenated segment values, commonly for accounting or item-related segment display.
  • SET_PRODUCTTRXNREC_FLAGS — Sets status and control flags on the product transaction record.
  • VALIDATE_PRODUCTTRXNREC and COMPARE_PRODUCTTRXNREC — Validate a built transaction record and compare two records, respectively, supporting change detection and integrity checks.
  • GET_PRODTRXNSTATUS_MEANING — Returns the user-facing meaning for a product transaction status code.
  • GET_ITEMATTRIBUTES — Retrieves item attribute values used in downstream processing.
  • INTERFACE_PRODTXN, BOOK_PRODTXN, and UPD_PRODTXN_N_CHRGLINE — Handle transaction interfacing, booking/posting, and updating of the product transaction and its associated charge line.

The metadata records no parameter lists, so signatures are intentionally not enumerated here.

Tables Accessed

The package reads and writes through APPS synonyms covering the primary Service and Inventory tables:

Usage Notes

CSD_LOGISTICS_UTIL is referenced by CSD_LOGISTICS_PVT, CSD_PROCESS_PVT, and by itself, confirming its role as a shared internal utility. Custom development should generally invoke the public logistics APIs (CSD_LOGISTICS_PUB) rather than calling this package directly. When direct use is required, callers must supply validated identifiers from the tables above and should treat the validation routines as preconditions to booking. As with all APPS utility packages, dependencies on FND_API and STANDARD should be respected, and any extension logic should avoid modifying the package body in place.