信用逻辑
This post will more focus on Technical part of credit check Functionality. You can check the functional part
of credir check functionality here.
TABLES
These are the main tables used for holding Credit Check functionality.
- OE_HOLD_AUTHORIZATIONS
- OE_HOLD_DEFINITIONS
- OE_HOLD_RELEASES
- OE_HOLD_SOURCES_ALL
- OE_CREDIT_CHECK_RULES
- OE_CREDIT_SUMMARIES
- OE_EXPOSURE_INTERFACE
- HZ_CUSTOMER_PROFILES
- HZ_CUST_PROFILE_AMTS
PROFILE OPTIONS
These Profile options specially meants for controlling credit check functionality.
- OM: Modify Seeded Hold
- OM: Preserve External Credit Balances
- OM: Prevent Booking for Line Generic Hold
- OM: Schedule Line on Hold
SYSTEM PARAMETER OPTIONS
- Apply credit hold on zero value
- order Credit Hold Sequence for Order Lines
- Initiate Credit check at Cancellation
API
Credit checking in Oracle Quoting allows the user to determine the credit worthiness of a customer while working on a quote. The user can decide if the quote should be submitted for business approvals credit verification. The profile option ASO: Enable Credit
Check determines if credit checks can be performed.
There are two types of credit checks available in Oracle Quoting:
- Internal — Internal credit checking is based on transaction data in the quote, and historic transaction data in Oracle Order Management and Oracle Receivables. It pertains to quote header-level billing information. Internal credit checks
are performed by the public credit check API OE_EXTERNAL_CREDIT_PUB. - External — External credit checks are configurable by an application developer and allow users to make calls to non-Oracle applications.
You should be very clear on key differences between internal credit checking and the credit checking functionality in OM, which is as:
- Item category limits are not checked in the public credit check API provided for internal credit checks.
- Credit checking is only available at the header level in internal credit checking, while OM credit checking supports both header and line level credit checks.
- There is no Holds functionality for Internal credit check.
CONCURRENT PROGRAM
- Take a note, this program will not delete the externally imported exposure records if profile option OM: Preserve External Credit Balances is set to YES
2. Credit exposure Import (OEXCEIMP) & Purge Imported Credit exposure (OEXCEPRG)
- First program ie Credit Exposure Import program enables you to import external credit exposure details for sales orders created outside of Oracle Applications into Oracle Order Management.Those who are doing system integration can take
advatange of this. - External exposure data is imported from interface table OE_EXPOSURE_INTERFACE intoOE_CREDIT_SUMMARIES table. Once import is successful, data from OE_EXPOSURE_INTERFACE is get deleted.
- All externally imported exposure detail records will have the value 18 for the field BALANCE_TYPE column in ‘OE_CREDIT_SUMMARIES’.
- The Credit Exposure Import program can be submitted in two different modes, UPDATE and INSERT.
- Insert Mode: All credit exposure amounts previously imported will be overwritten .
- Update Mode: The credit exposure amount within ‘OE_CREDIT_SUMMARIES table will either be added (positive amount) or subtracted (negative amount) to any previously imported amount. If a corresponding exposure amount does not previously exist, a new exposure
amount record will be created.
- Interface records are processed based upon the mode, which is determined by the value of the column OPERATION_CODE within the exposure interface table OE_EXPOSURE_INTERFACE.
Purge Imported Credit Exposure
- The ‘Purge Imported Credit Exposure’ program enables you to purge imported external credit exposure records from OE_CREDIT_SUMMARIES table.
3. Credit check Processor (OEXAUCRC)
- Credit Check Processor can automatically apply OR release order or order line credit holds.
- Best use of this program when you suspect your customers credit exposure has changed and you want to re-evaluate their sales order status .
- You can also use Credit check Processor whenever you change the customer credit profile or credit check rule set up and you want these changes to immediately take affect on your booked sales orders.
- Credit check processor "always" uses Booking Credit check rule to apply/release the holds.
- There is limitation for applying the hold through credit check processor it currently only considers exposure of the order lines which are in 'Booked' status.
- When using pre-calculated exposure in credit check rule, run the ‘Initialize credit summaries’ concurrent program every time before running the credit check processor.
REPORTS
CREDIT CHECK QUERY