Search Results ar_deposit_lib_pvt
Overview
AR_DEPOSIT_API_PUB is a public PL/SQL API package owned by the APPS schema in Oracle E-Business Suite Receivables. It provides the supported, programmatic entry point for creating and maintaining deposit transactions — customer prepayments applied against future orders or commitments — without requiring direct inserts into the underlying Receivables transaction tables. The package encapsulates the business logic required to build a deposit in RA_CUSTOMER_TRX, populate its lines in RA_CUSTOMER_TRX_LINES, associate sales credits, and attach payment-related attributes such as bank accounts, receipt classes, and receipt methods. By exposing a single, validated interface, it shields callers from the internal structure of the transactional model and ensures that deposits conform to Receivables setup and validation rules.
The package is classified as PUB (public), meaning that Oracle supports it as an integration point for customer extensions and third-party systems. It is implemented alongside a library layer, AR_DEPOSIT_LIB_PVT, which contains the private subprograms that the public package delegates to. The dependency metadata shows AR_DEPOSIT_API_PUB both references and is referenced by AR_DEPOSIT_LIB_PVT, confirming a layered design in which the public API is a thin, stable façade over internal logic. The package also depends on FND_API, the Oracle Application Object Library foundation package, which supplies the standard API return-status conventions (success, unexpected error, error) and message stack handling used across EBS product APIs.
Key Procedures and Functions
- CREATE_DEPOSIT — The primary creation routine. It builds a new deposit transaction based on the supplied customer, transaction type, and amount information, writing the header and lines and returning the resulting transaction identifier to the caller.
- INSERT_NON_REV_SALESCREDIT — Inserts non-revenue sales credit assignments for the deposit transaction, enabling salesperson credit to be recorded against the deposit lines.
- SET_PROFILE_FOR_TESTING — A diagnostic helper that establishes the profile option context required to exercise the deposit API in test or development environments.
- COPY_TRXN_EXTENSION — Copies transaction extension data (the IBY_FNDCPT_TX_EXTENSIONS records associated with payment instrument data) onto the deposit transaction, ensuring extended payment attributes are preserved.
The exact parameter lists are not reproduced here; callers should consult the package specification in the EBS instance for the accepted arguments.
Tables Accessed
The API touches both transactional and reference tables. Core transaction storage is in RA_CUSTOMER_TRX, RA_CUSTOMER_TRX_ALL, and RA_CUSTOMER_TRX_LINES, where the deposit header and its lines are written. RA_CUST_TRX_TYPES and RA_BATCH_SOURCES supply the transaction type and batch source context required during creation, while RA_CUST_TRX_LINE_SALESREPS stores the sales credit records inserted by INSERT_NON_REV_SALESCREDIT. Payment scheduling is handled through AR_PAYMENT_SCHEDULES, and payment setup is validated against AP_BANK_ACCOUNTS, AR_RECEIPT_CLASSES, and AR_RECEIPT_METHODS. Customer and party validation uses HZ_CUST_ACCOUNTS, HZ_CUST_ACCT_SITES, HZ_CUST_SITE_USES, and HZ_PARTIES. Extended payment instrument data resides in IBY_FNDCPT_TX_EXTENSIONS.
Usage Notes
AR_DEPOSIT_API_PUB is typically invoked from custom PL/SQL programs, concurrent program wrappers, or third-party integrations that need to create deposits in Receivables. It is not normally called interactively from a standard Oracle Forms screen; the forms-based deposit workflow uses its own underlying logic. Because it is a PUB API under the APPS schema, custom code should call it through the APPS synonym and honor the FND_API return status and message stack rather than inspecting the tables directly. Callers should commit after a successful call and use SET_PROFILE_FOR_TESTING only in non-production environments.
-
PACKAGE: APPS.AR_DEPOSIT_API_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AR_DEPOSIT_API_PUB, status:VALID,
-
PACKAGE: APPS.AR_DEPOSIT_LIB_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AR_DEPOSIT_LIB_PVT, status:VALID,
-
PACKAGE: APPS.AR_DEPOSIT_API_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AR_DEPOSIT_API_PUB, status:VALID,
-
PACKAGE: APPS.AR_DEPOSIT_LIB_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AR_DEPOSIT_LIB_PVT, status:VALID,
-
PACKAGE BODY: APPS.AR_DEPOSIT_LIB_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_DEPOSIT_LIB_PVT, status:VALID,
-
PACKAGE BODY: APPS.AR_DEPOSIT_LIB_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_DEPOSIT_LIB_PVT, status:VALID,
-
PACKAGE: APPS.GL_EURO_USER_RATE_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GL_EURO_USER_RATE_API, status:VALID,
-
PACKAGE BODY: APPS.AR_DEPOSIT_VAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_DEPOSIT_VAL_PVT, status:VALID,
-
PACKAGE: APPS.GL_EURO_USER_RATE_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GL_EURO_USER_RATE_API, status:VALID,
-
SYNONYM: APPS.RA_SALESREP_TERRITORIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_SALESREP_TERRITORIES, status:VALID,
-
SYNONYM: APPS.RA_SALESREP_TERRITORIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_SALESREP_TERRITORIES, status:VALID,
-
PACKAGE BODY: APPS.AR_DEPOSIT_VAL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_DEPOSIT_VAL_PVT, status:VALID,
-
SYNONYM: APPS.RA_BATCH_SOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_BATCH_SOURCES, status:VALID,
-
SYNONYM: APPS.RA_BATCH_SOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_BATCH_SOURCES, status:VALID,
-
PACKAGE: APPS.ARP_TRX_DEFAULTS_3
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_TRX_DEFAULTS_3, status:VALID,
-
PACKAGE BODY: APPS.AR_DEPOSIT_API_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_DEPOSIT_API_PUB, status:VALID,
-
PACKAGE: APPS.ARP_TRX_DEFAULTS_3
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_TRX_DEFAULTS_3, status:VALID,
-
PACKAGE BODY: APPS.AR_DEPOSIT_API_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_DEPOSIT_API_PUB, status:VALID,
-
SYNONYM: APPS.AR_MEMO_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_MEMO_LINES, status:VALID,
-
VIEW: APPS.AR_ACTIVE_REMIT_TO_ADDRESSES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_ACTIVE_REMIT_TO_ADDRESSES_V, object_name:AR_ACTIVE_REMIT_TO_ADDRESSES_V, status:VALID,
-
VIEW: APPS.AR_ACTIVE_REMIT_TO_ADDRESSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_ACTIVE_REMIT_TO_ADDRESSES_V, object_name:AR_ACTIVE_REMIT_TO_ADDRESSES_V, status:VALID,
-
SYNONYM: APPS.AR_MEMO_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_MEMO_LINES, status:VALID,
-
SYNONYM: APPS.GL_DAILY_CONVERSION_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_DAILY_CONVERSION_TYPES, status:VALID,
-
PACKAGE: APPS.OE_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_PROFILE, status:VALID,
-
PACKAGE: APPS.AR_DEPOSIT_LIB_PVT
12.1.1
-
PACKAGE: APPS.OE_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_PROFILE, status:VALID,
-
SYNONYM: APPS.GL_DAILY_CONVERSION_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_DAILY_CONVERSION_TYPES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_SEQNUM
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_SEQNUM, status:VALID,
-
PACKAGE: APPS.FND_SEQNUM
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_SEQNUM, status:VALID,
-
SYNONYM: APPS.AR_CASH_RECEIPTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_RECEIPTS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.AR_DEPOSIT_LIB_PVT
12.2.2
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES, status:VALID,
-
SYNONYM: APPS.FND_DESCRIPTIVE_FLEXS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_DESCRIPTIVE_FLEXS, status:VALID,
-
SYNONYM: APPS.FND_DESCRIPTIVE_FLEXS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_DESCRIPTIVE_FLEXS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.AR_CASH_RECEIPTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_RECEIPTS, status:VALID,
-
PACKAGE: APPS.FND_FLEX_DESCVAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_FLEX_DESCVAL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES, status:VALID,
-
PACKAGE: APPS.FND_FLEX_DESCVAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FLEX_DESCVAL, status:VALID,
-
SYNONYM: APPS.RA_TERMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_TERMS, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES, status:VALID,
-
VIEW: APPS.FND_DESCRIPTIVE_FLEXS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_DESCRIPTIVE_FLEXS_VL, object_name:FND_DESCRIPTIVE_FLEXS_VL, status:VALID,
-
SYNONYM: APPS.RA_TERMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_TERMS, status:VALID,
-
VIEW: APPS.FND_DESCRIPTIVE_FLEXS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_DESCRIPTIVE_FLEXS_VL, object_name:FND_DESCRIPTIVE_FLEXS_VL, status:VALID,
-
VIEW: APPS.RA_SALESREPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_SALESREPS, object_name:RA_SALESREPS, status:VALID,
-
SYNONYM: APPS.AR_RECEIPT_METHODS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_RECEIPT_METHODS, status:VALID,