DBA Data[Home] [Help]

PACKAGE BODY: APPS.AR_CMGT_CREDIT_HOOK_API

Source


1 PACKAGE BODY AR_CMGT_CREDIT_HOOK_API AS
2 /*$Header: ARCMHOKB.pls 120.1 2011/02/23 00:54:23 rravikir noship $  */
3 
4 FUNCTION credit_check_operating_unit(p_source_org_id     IN NUMBER,
5                                      p_source_object_id  IN NUMBER) RETURN  VARCHAR2  IS
6 l_op_enabled   VARCHAR2(1) := 'Y';
7 
8 BEGIN
9   -- The following are the custom code to disable OCM credit check for a specific operation unit.
10   -- Based on customer requirement, customer can disable as shown in the following example
11   -- Example : Customer can disable credit checking for org_id 101 and 102 as follows.
12   --  IF p_source_org_id IN (101,102) THEN
13   --    l_op_enabled := 'N';
14   --  END IF;
15 
16   RETURN l_op_enabled;
17 
18 END credit_check_operating_unit;
19 
20 
21 END AR_CMGT_CREDIT_HOOK_API;