DBA Data[Home] [Help]

APPS.OE_LINE_UTIL dependencies on OE_CODE_CONTROL

Line 957: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110509' THEN

953: /*sdatti*/
954: if l_debug_level > 0 then
955: oe_debug_pub.ADD('OE_GLOBALS.G_PRICING_RECURSION:'||oe_globals.g_pricing_recursion,1);
956: end if;
957: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110509' THEN
958: IF Nvl(oe_globals.g_pricing_recursion,'N') = 'N' THEN
959: update_adjustment_flags(p_old_line_rec,p_x_line_rec);
960: END IF;
961: END IF;

Line 1710: IF (OE_CODE_CONTROL.CODE_RELEASE_LEVEL <= '110507') OR NOT(OE_GLOBALS.G_UI_FLAG) THEN

1706: oe_line_util.Calculate_Ordered_Quantity2(p_x_line_rec);
1707: */
1708: /* OPM - NC 3/8/02 Bug#2046641
1709: Commented the above call and added the call to calculate_dual_quantity */
1710: IF (OE_CODE_CONTROL.CODE_RELEASE_LEVEL <= '110507') OR NOT(OE_GLOBALS.G_UI_FLAG) THEN
1711:
1712: if l_debug_level > 0 then
1713: oe_debug_pub.add('about to call calculate_dual_quantity 1' );
1714: end if;

Line 1757: IF (OE_CODE_CONTROL.CODE_RELEASE_LEVEL <= '110507') OR NOT(OE_GLOBALS.G_UI_FLAG) THEN

1753: oe_line_util.Calculate_Ordered_Quantity2(p_x_line_rec);
1754: */
1755: /* OPM - NC 3/8/02 Bug#2046641
1756: Commented the above call and added the call to calculate_dual_quantity */
1757: IF (OE_CODE_CONTROL.CODE_RELEASE_LEVEL <= '110507') OR NOT(OE_GLOBALS.G_UI_FLAG) THEN
1758: if l_debug_level > 0 then
1759: oe_debug_pub.add('about to call calculate_dual_quantity 2' );
1760: end if;
1761:

Line 1901: IF OE_CODE_CONTROL.Get_Code_Release_Level >= '110510' THEN

1897: END IF;
1898:
1899: End If; -- Pricing Quantity
1900: -- Pack J catchweight
1901: IF OE_CODE_CONTROL.Get_Code_Release_Level >= '110510' THEN
1902: null; -- INVCONV COMMENTED OUT FOR NOW
1903: -- Calc_Catchweight_Return_qty2(p_x_line_rec => p_x_line_rec INVCONV COMMENTED OUT FOR NOW
1904: -- , p_old_line_rec => p_old_line_rec); INVCONV COMMENTED OUT FOR NOW
1905: END IF;

Line 2904: IF OE_CODE_CONTROL.Get_Code_Release_Level >= '110510' THEN

2900: oe_debug_pub.add('old ship_from_org_id:'|| p_old_line_rec.ship_from_org_id );
2901: oe_debug_pub.add('New ship_from_org_id :'|| p_x_line_rec.ship_from_org_id );
2902: END IF;
2903:
2904: IF OE_CODE_CONTROL.Get_Code_Release_Level >= '110510' THEN
2905: IF p_x_line_rec.ship_from_org_id IS NOT NULL AND
2906: p_x_line_rec.ship_from_org_id <> FND_API.G_MISS_NUM THEN
2907: SELECT wms_enabled_flag
2908: INTO l_wms_org_flag_new

Line 4002: AND oe_code_control.code_release_level >= '110510'

3998: END IF;
3999:
4000: IF NOT OE_GLOBALS.Equal(p_x_line_rec.commitment_applied_amount,p_old_line_rec.commitment_applied_amount)
4001: AND OE_Commitment_Pvt.Do_Commitment_Sequencing
4002: AND oe_code_control.code_release_level >= '110510'
4003: AND p_x_line_rec.commitment_id IS NOT NULL
4004: THEN
4005: if l_debug_level > 0 then
4006: oe_debug_pub.add('Log verify payment delayed request for change in commitment_applied_amount.',3);

Line 4317: AND oe_code_control.code_release_level >= '110510'

4313: p_x_line_rec.original_list_price <> FND_API.G_MISS_NUM AND
4314: p_x_line_rec.Ordered_Quantity <> fnd_api.g_miss_num and
4315: p_x_line_rec.order_quantity_uom is not null and
4316: p_x_line_rec.order_quantity_uom <> fnd_api.g_miss_char
4317: AND oe_code_control.code_release_level >= '110510'
4318: -- bug 3491752
4319: --AND /*nvl(fnd_profile.value('ONT_LIST_PRICE_OVERRIDE_PRIV'), 'NONE')*/ --G_LIST_PRICE_OVERRIDE = 'UNLIMITED' --bug4080363
4320: AND OE_GLOBALS.G_UI_FLAG
4321: AND OE_Globals.G_PRICING_RECURSION = 'N' THEN

Line 5199: IF OE_CODE_CONTROL.GET_CODE_RELEASE_LEVEL >='110510' THEN

5195: END IF;
5196: /* Fix # 3147694 End */
5197:
5198:
5199: IF OE_CODE_CONTROL.GET_CODE_RELEASE_LEVEL >='110510' THEN
5200: IF p_x_line_rec.operation = OE_GLOBALS.G_OPR_CREATE OR
5201: (p_x_line_rec.operation = OE_GLOBALS.G_OPR_UPDATE AND
5202: ( ( NOT OE_GLOBALS.EQUAL(p_x_line_rec.ship_from_org_id
5203: ,p_old_line_rec.ship_from_org_id)

Line 5249: AND OE_Code_Control.code_release_level >= '110510'

5245: END IF;
5246:
5247: -- Moved to OE_ACKNOWLEDGMENT_PUB as part of 3417899 and 3412458
5248: /* IF l_3a7_attribute_change = FND_API.G_TRUE
5249: AND OE_Code_Control.code_release_level >= '110510'
5250: AND NVL(FND_PROFILE.VALUE('ONT_3A7_RESPONSE_REQUIRED'), 'N') = 'Y'
5251: AND p_x_line_rec.order_source_id= OE_Acknowledgment_Pub.G_XML_ORDER_SOURCE_ID
5252: AND nvl(p_x_line_rec.xml_transaction_type_code, OE_Acknowledgment_Pub.G_TRANSACTION_CSO) = OE_Acknowledgment_Pub.G_TRANSACTION_CSO
5253: AND p_x_line_rec.booked_flag = 'Y'

Line 6021: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN

6017: p_x_line_rec.orig_sys_shipment_ref := p_old_line_rec.orig_sys_shipment_ref;
6018: END IF;
6019:
6020: -- Override List Price
6021: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN
6022: IF p_x_line_rec.original_list_price = FND_API.G_MISS_NUM THEN
6023: p_x_line_rec.original_list_price:= p_old_line_rec.original_list_price;
6024: END IF;
6025: END IF;

Line 7471: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN

7467: p_x_line_rec.orig_sys_shipment_ref := NULL;
7468: END IF;
7469:
7470: -- Override List Price
7471: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN
7472: IF p_x_line_rec.original_list_price = FND_API.G_MISS_NUM THEN
7473: p_x_line_rec.original_list_price:= NULL;
7474: END IF;
7475: END IF;

Line 8171: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN

8167: l_lock_control := l_lock_control + 1;
8168:
8169: -- calling notification framework to update global picture
8170: --check code release level first. Notification framework is at Pack H level
8171: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
8172: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,
8173: p_Line_rec =>p_line_rec,
8174: p_line_id => p_line_rec.line_id,
8175: x_index => l_index,

Line 9405: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN

9401: p_line_rec.lock_control := l_lock_control;
9402:
9403: -- calling notification framework to update global picture
9404: -- check code release level first. Notification framework is at Pack H level
9405: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
9406: OE_ORDER_UTIL.Update_Global_Picture(p_Upd_New_Rec_If_Exists => True,
9407: p_Line_rec =>p_line_rec,
9408: p_old_line_rec => NULL,
9409: p_line_id => p_line_rec.line_id,

Line 9527: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN

9523: LOOP
9524:
9525: --added for notification framework
9526: --check code release level first. Notification framework is at Pack H level
9527: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
9528: oe_debug_pub.add('JFC: in delete row, l_line_id'|| l_line.line_id , 1);
9529: /* Set the operation on the record so that globals are updated as well */
9530: l_new_line_rec.operation := OE_GLOBALS.G_OPR_DELETE;
9531: l_new_line_rec.line_id :=l_line.line_id;

Line 9821: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN

9817:
9818: --added for notification framework to update global picture for standard line
9819: --check code release level first. Notification framework is at Pack H level
9820: oe_debug_pub.add('JPN: Delete all lines now');
9821: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
9822: /* Set the operation on the record so that globals are updated as well */
9823: l_new_line_rec.operation := OE_GLOBALS.G_OPR_DELETE;
9824: l_new_line_rec.line_id :=l_line_rec.line_id;
9825: l_new_line_rec.last_update_date :=l_line_rec.last_update_date;

Line 9853: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN

9849:
9850:
9851: --added for notification framework to update global picture for service line
9852: --check code release level first. Notification framework is at Pack H level
9853: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110508' THEN
9854: FOR l_svc IN svc_line
9855: LOOP
9856: oe_debug_pub.add('JFC: in delete row, service line_id= '|| l_svc.line_id , 1);
9857: /* Set the operation on the record so that globals are updated as well */

Line 16110: and OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110509' THEN

16106:
16107: /*sdatti*/
16108: IF (p_x_line_rec.operation = OE_GLOBALS.G_OPR_DELETE OR
16109: p_x_line_rec.ordered_quantity = 0)
16110: and OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110509' THEN
16111:
16112: IF Nvl(oe_globals.g_pricing_recursion,'N') = 'N' THEN
16113: update_adjustment_flags(p_old_line_rec,p_x_line_rec);
16114: END IF;

Line 16406: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110509' THEN

16402: p_old_line_rec.shipping_method_code)) THEN
16403: IF (p_x_line_rec.shipping_method_code IS NOT NULL AND
16404: p_x_line_rec.ship_from_org_id IS NOT NULL) THEN
16405:
16406: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110509' THEN
16407: SELECT count(*)
16408: INTO l_count
16409: FROM wsh_carrier_services wsh,
16410: wsh_org_carrier_services wsh_org

Line 16891: OE_CODE_CONTROL.Code_Release_Level >= '110510' THEN

16887: p_x_line_rec.split_by = 'SYSTEM' AND
16888: NVL(p_x_line_rec.split_action_code,'X') = 'SPLIT') AND
16889: (PO_CODE_RELEASE_GRP.Current_Release >=
16890: PO_CODE_RELEASE_GRP.PRC_11i_Family_Pack_J) AND
16891: OE_CODE_CONTROL.Code_Release_Level >= '110510' THEN
16892:
16893: Log_Dropship_CMS_Request
16894: (p_x_line_rec => p_x_line_rec
16895: ,p_old_line_rec => p_old_line_rec

Line 16911: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN

16907: -- Pack J
16908: -- Promise Date setup with Request date
16909: -- 'FR' - With First Request date
16910: -- 'R' -- For all change in Request date
16911: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN
16912: l_promise_date_flag := OE_SYS_PARAMETERS.value('PROMISE_DATE_FLAG');
16913:
16914: IF l_promise_date_flag = 'FR'
16915: AND (p_old_line_rec.request_date = FND_API.G_MISS_DATE

Line 16952: l_code_level varchar2(6) := OE_CODE_CONTROL.GET_CODE_RELEASE_LEVEL;

16948: )
16949: IS
16950:
16951: l_ind NUMBER;
16952: l_code_level varchar2(6) := OE_CODE_CONTROL.GET_CODE_RELEASE_LEVEL;
16953: l_audit_trail_enabled VARCHAR2(1) := OE_SYS_PARAMETERS.VALUE('AUDIT_TRAIL_ENABLE_FLAG');
16954:
16955: l_return_status VARCHAR2(30);
16956: l_reason_code VARCHAR2(30);

Line 16986: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN

16982: IF (p_x_line_rec.change_reason IS NULL OR
16983: p_x_line_rec.change_reason = FND_API.G_MISS_CHAR OR
16984: NOT OE_Validate.Change_Reason_Code(p_x_line_rec.change_reason)) THEN
16985:
16986: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN
16987: IF OE_Versioning_Util.Captured_Reason IS NULL THEN
16988: OE_Versioning_Util.Get_Reason_Info(l_reason_code, l_reason_comments);
16989: IF l_reason_code IS NULL THEN
16990: -- bug 3636884, defaulting reason from group API

Line 17032: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN

17028: IF (p_x_line_rec.operation=OE_GLOBALS.G_OPR_UPDATE) AND
17029: (p_x_line_rec.split_action_code = 'SPLIT') THEN
17030:
17031: --11.5.10 Versioning/Audit Trail updates
17032: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN
17033: OE_Versioning_Util.Capture_Audit_Info(p_entity_code => OE_GLOBALS.G_ENTITY_LINE,
17034: p_entity_id => p_x_line_rec.line_id,
17035: p_hist_type_code => 'SPLIT');
17036: --log delayed request

Line 17074: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510'

17070:
17071: END IF;
17072:
17073: --11.5.10 Versioning/Audit Trail updates
17074: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510'
17075: AND OE_GLOBALS.G_ROLL_VERSION <> 'N' THEN
17076: IF OE_GLOBALS.G_REASON_CODE IS NULL AND
17077: OE_GLOBALS.G_CAPTURED_REASON IN ('V','A') THEN
17078: IF p_x_line_rec.change_reason <> FND_API.G_MISS_CHAR THEN

Line 17119: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN

17115: OE_DEBUG_PUB.add('OEXULINB:calling oe_order_chg_pvt.recordlinehist', 5);
17116: end if;
17117:
17118: --11.5.10 Versioning/Audit Trail updates
17119: IF OE_CODE_CONTROL.CODE_RELEASE_LEVEL >= '110510' THEN
17120: OE_Versioning_Util.Capture_Audit_Info(p_entity_code => OE_GLOBALS.G_ENTITY_LINE,
17121: p_entity_id => p_x_line_rec.line_id,
17122: p_hist_type_code => 'UPDATE');
17123: --log delayed request

Line 18001: IF ((OE_CODE_CONTROL.Get_Code_Release_Level >= '110510'

17997: -- BLANKETS: Log requests to validate and update release qty/amount
17998: -- Not needed for returns, returned qty on blanket would
17999: -- be updated when return is fulfilled!
18000: -- Changed to enable to accept CONFIG and SERVICE items for Pack -J onwards.
18001: IF ((OE_CODE_CONTROL.Get_Code_Release_Level >= '110510'
18002: AND p_x_line_rec.item_type_code <> 'INCLUDED')
18003: -- Blanket reference can only be specified for standard items
18004: -- and kit items
18005: OR (OE_CODE_CONTROL.Get_Code_Release_Level >= '110509'

Line 18005: OR (OE_CODE_CONTROL.Get_Code_Release_Level >= '110509'

18001: IF ((OE_CODE_CONTROL.Get_Code_Release_Level >= '110510'
18002: AND p_x_line_rec.item_type_code <> 'INCLUDED')
18003: -- Blanket reference can only be specified for standard items
18004: -- and kit items
18005: OR (OE_CODE_CONTROL.Get_Code_Release_Level >= '110509'
18006: AND p_x_line_rec.item_type_code IN ('STANDARD','KIT')))
18007: AND (p_x_line_rec.blanket_number IS NOT NULL
18008: OR p_old_line_rec.blanket_number IS NOT NULL)
18009: AND p_x_line_rec.line_category_code = 'ORDER'

Line 19506: OE_Code_Control.Code_Release_Level >= '110510')

19502: (p_x_line_rec.schedule_ship_date is NOT NULL)) AND
19503: ((nvl(p_x_line_rec.split_action_code, 'X') <> 'SPLIT' OR
19504: (p_x_line_rec.split_action_code = FND_API.G_MISS_CHAR AND
19505: NOT (p_x_line_rec.split_from_line_id is NOT NULL))) OR
19506: OE_Code_Control.Code_Release_Level >= '110510')
19507: THEN
19508:
19509: if l_debug_level > 0 then
19510: oe_debug_pub.add('configuration scheduled', 5);

Line 19513: IF OE_Code_Control.Code_release_Level < '110510' THEN

19509: if l_debug_level > 0 then
19510: oe_debug_pub.add('configuration scheduled', 5);
19511: end if;
19512:
19513: IF OE_Code_Control.Code_release_Level < '110510' THEN
19514:
19515: BEGIN
19516: SELECT line_id
19517: INTO l_num

Line 19804: OE_Code_Control.Code_Release_Level >= '110510' AND

19800: -- INVCONV END
19801:
19802:
19803: ELSIF p_x_line_rec.ato_line_id = p_x_line_rec.line_id AND
19804: OE_Code_Control.Code_Release_Level >= '110510' AND
19805: p_x_line_rec.schedule_status_code is NULL AND
19806: p_x_line_rec.schedule_ship_date is NULL AND
19807: p_old_line_rec.schedule_ship_date is NOT NULL THEN
19808:

Line 19891: OE_Code_Control.Code_Release_Level >= '110510' THEN

19887: p_param3 => p_x_line_rec.ato_line_id,
19888: x_return_status => x_return_status);
19889:
19890: IF p_x_line_rec.operation <> OE_GLOBALS.G_OPR_DELETE AND
19891: OE_Code_Control.Code_Release_Level >= '110510' THEN
19892:
19893: if l_debug_level > 0 then
19894: oe_debug_pub.add('cto_change logged for decimal change', 3);
19895: end if;

Line 19923: OE_Code_Control.Code_Release_Level >= '110510' THEN

19919: l_num := 0;
19920:
19921: IF p_x_line_rec.split_from_line_id is NOT NULL AND
19922: p_x_line_rec.operation = 'CREATE' AND
19923: OE_Code_Control.Code_Release_Level >= '110510' THEN
19924:
19925: IF p_x_line_rec.ato_line_id = p_x_line_rec.line_id AND
19926: (p_x_line_rec.item_type_code = OE_GLOBALS.G_ITEM_MODEL OR
19927: p_x_line_rec.item_type_code = OE_GLOBALS.G_ITEM_STANDARD OR

Line 19997: IF OE_Code_Control.Code_Release_Level < '110510' THEN

19993: ((p_x_line_rec.schedule_status_code is NULL AND
19994: p_x_line_rec.operation = 'CREATE' ) OR
19995: (p_x_line_rec.schedule_ship_date is NOT NULL)) THEN
19996:
19997: IF OE_Code_Control.Code_Release_Level < '110510' THEN
19998: BEGIN
19999: SELECT line_id
20000: INTO l_num
20001: FROM oe_order_lines