Professional Documents
Culture Documents
Custom Sources
Custom Sources
Custom Sources
Custom Sources can be used to extend the list of sources available to your Application Accounting Definitions (AAD). Using standard and system source values as parameters, you can write PL/SQL functions that create custom sources. This document describes how you can create and use custom sources. It provides two sample PL/SQL functions that you can modify for your own use.
4) On the JLD screen, decide which JLT will use this ADR to derive the account.
NOTE: if the ADR is not visible in the screen above, that means the event class INVOICES has not been assigned the Transaction Distribution GL Account source, which the Custom Source uses. All sources used in the ADR must be assigned to the event class. 4
EXAMPLE 2 In this example, the return data type is ALPHANUMERIC and there is only one input parameter of NUMBER data type, which comes from the seeded source: AMOUNT CREATE OR REPLACE FUNCTION adj_doc_flex (AMOUNT IN NUMBER) RETURN VARCHAR2 IS BEGIN IF AMOUNT > 0 THEN RETURN '50034206330'; ELSE RETURN '50034206331'; END IF; END;