1 package body CTO_CUSTOM_LIST_PRICE_PK as
2 /* $Header: CTOCULPB.pls 115.3 2002/05/08 11:47:55 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_list_price(
17 pModelLineId in number, -- Model Line Id in oe_order_lines_all
18 pInventory_item_id in Number,
19 pOrganization_id in Number)
20 Return Number 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 NULL;
29 end Get_list_price;
30
31 end CTO_CUSTOM_LIST_PRICE_PK;