DBA Data[Home] [Help]

PACKAGE BODY: APPS.CTO_CUSTOM_PURCHASE_PRICE_PK

Source


1 package body CTO_CUSTOM_PURCHASE_PRICE_PK as
2 /* $Header: CTOCUPPB.pls 115.0 2002/03/26 21:22:25 pkm ship        $ */
3 
4 
5 
6 /*---------------------------------------------------------------------------+
7     This function tries to get the price list for the given model based ion the
8     configurations selected in the oe_order_lines. The price list can be
9     Org dependent. So this fucntion will take organization_id in the in parameteres.
10     Note:By the time this function is called the config item is not yet created.
11     So all the reference needs to go with the model item and the options selected
12     in the sales order. If it returns null the models list price will be defaulted
13     to Config item also.
14 +----------------------------------------------------------------------------*/
15 
16 function Get_Purchase_price(
17         p_item_id        in      number,
18         p_vendor_id      in      Number,
19         p_vendor_site_id in      Number)
20 Return Boolean IS
21 
22 begin
23 	/*----------------------------------------------------------------+
24 	   This function can be replaced by custom code that will calculate
25            the price list for this configuration.
26         +-----------------------------------------------------------------*/
27 
28 	return FALSE;
29 end Get_purchase_price;
30 
31 end CTO_CUSTOM_PURCHASE_PRICE_PK;