DBA Data[Home] [Help]

APPS.CTO_CONFIG_ITEM_PK dependencies on CTO_CONFIG_ITEM_PK

Line 1: package body CTO_CONFIG_ITEM_PK as

1: package body CTO_CONFIG_ITEM_PK as
2: /* $Header: CTOCITMB.pls 120.27.12020000.3 2012/08/09 15:16:20 ntungare ship $ */
3:
4: /*----------------------------------------------------------------------------+
5: | Copyright (c) 1993 Oracle Corporation Belmont, California, USA

Line 5482: oe_debug_pub.add ('Create_Item: ' || 'gWtStatus = '||CTO_CONFIG_ITEM_PK.gWtStatus|| ' and gVolStatus = '||CTO_CONFIG_ITEM_PK.gVolStatus,1);

5478:
5479: --Bugfix 9223554: Will not use these global variables.
5480: /*
5481: IF PG_DEBUG <> 0 THEN
5482: oe_debug_pub.add ('Create_Item: ' || 'gWtStatus = '||CTO_CONFIG_ITEM_PK.gWtStatus|| ' and gVolStatus = '||CTO_CONFIG_ITEM_PK.gVolStatus,1);
5483: END IF;
5484:
5485: if CTO_CONFIG_ITEM_PK.gWtStatus = 0 or -- 0 means success
5486: CTO_CONFIG_ITEM_PK.gVolStatus = 0

Line 5485: if CTO_CONFIG_ITEM_PK.gWtStatus = 0 or -- 0 means success

5481: IF PG_DEBUG <> 0 THEN
5482: oe_debug_pub.add ('Create_Item: ' || 'gWtStatus = '||CTO_CONFIG_ITEM_PK.gWtStatus|| ' and gVolStatus = '||CTO_CONFIG_ITEM_PK.gVolStatus,1);
5483: END IF;
5484:
5485: if CTO_CONFIG_ITEM_PK.gWtStatus = 0 or -- 0 means success
5486: CTO_CONFIG_ITEM_PK.gVolStatus = 0
5487: then
5488: */
5489:

Line 5486: CTO_CONFIG_ITEM_PK.gVolStatus = 0

5482: oe_debug_pub.add ('Create_Item: ' || 'gWtStatus = '||CTO_CONFIG_ITEM_PK.gWtStatus|| ' and gVolStatus = '||CTO_CONFIG_ITEM_PK.gVolStatus,1);
5483: END IF;
5484:
5485: if CTO_CONFIG_ITEM_PK.gWtStatus = 0 or -- 0 means success
5486: CTO_CONFIG_ITEM_PK.gVolStatus = 0
5487: then
5488: */
5489:
5490: if ( not g_wt_tbl.exists(pLineId)

Line 5686: end if; /* end check CTO_CONFIG_ITEM_PK.gWtStatus */

5682:
5683: -- end bugfix 2905835
5684:
5685: END;
5686: end if; /* end check CTO_CONFIG_ITEM_PK.gWtStatus */
5687:
5688: -- end bugfix 1811007
5689:
5690:

Line 6060: --if CTO_CONFIG_ITEM_PK.gWtStatus = 0 then

6056: -- bugfix 2301167: Calculate the config's wt if the previous calculation of lower level config was
6057: -- successful. gWtStatus would be set to -1 if calculation was not successful.
6058:
6059: --Bugfix 9223554: Changed the logic.
6060: --if CTO_CONFIG_ITEM_PK.gWtStatus = 0 then
6061: if not g_wt_tbl.exists(p_ato_line_id) then
6062:
6063: IF PG_DEBUG <> 0 THEN
6064: oe_debug_pub.add ('Create_Item: ' || '===>weight_uom = '||weight_uom,1);

Line 6096: --CTO_CONFIG_ITEM_PK.gWtStatus := -1; -- -1 means error

6092: -- Also, we shouldn't calculate the wt for the top config since the lower level's config
6093: -- weight has been updated to 0
6094:
6095: --Bugfix 9223554
6096: --CTO_CONFIG_ITEM_PK.gWtStatus := -1; -- -1 means error
6097: update_wt_vol_tbl(p_tbl_type => 1,
6098: p_line_id => p_ato_line_id);
6099:
6100: exit;

Line 6118: --if CTO_CONFIG_ITEM_PK.gVolStatus = 0 then

6114: -- bugfix 2301167: Calculate the config's wt if the previous calculation of lower level config was
6115: -- successful. gWtStatus would be set to -1 if calculation was not successful.
6116:
6117: --Bugfix 9223554: Changed the logic.
6118: --if CTO_CONFIG_ITEM_PK.gVolStatus = 0 then
6119: if not g_vol_tbl.exists(p_ato_line_id) then
6120:
6121: IF PG_DEBUG <> 0 THEN
6122: oe_debug_pub.add ('Create_Item: ' || '===>volume_uom = '||volume_uom,1);

Line 6153: --CTO_CONFIG_ITEM_PK.gVolStatus := -1; -- -1 means error

6149: -- Also, we shouldn't calculate the vol for the top config since the lower level's config
6150: -- volume has been updated to 0
6151:
6152: --Bugfix 9223554
6153: --CTO_CONFIG_ITEM_PK.gVolStatus := -1; -- -1 means error
6154: update_wt_vol_tbl(p_tbl_type => 2,
6155: p_line_id => p_ato_line_id);
6156:
6157: exit;

Line 10215: end CTO_CONFIG_ITEM_PK;

10211:
10212:
10213:
10214:
10215: end CTO_CONFIG_ITEM_PK;
10216: