DBA Data[Home] [Help]

APPS.OE_EDI_PVT dependencies on OE_GLOBALS

Line 167: IF l_header_rec.operation IN (OE_Globals.G_OPR_CREATE,

163: IF l_debug_level > 0 THEN
164: oe_debug_pub.add( 'FORCE APPLY FLAG IS SET, NOT CHECKING EXISTENCE OF CHANGE_SEQUENCE' ) ;
165: END IF;
166: ELSE
167: IF l_header_rec.operation IN (OE_Globals.G_OPR_CREATE,
168: OE_Globals.G_OPR_INSERT)
169: THEN
170: IF nvl(l_header_rec.change_sequence, ' ') <> ' ' THEN
171: IF l_debug_level > 0 THEN

Line 168: OE_Globals.G_OPR_INSERT)

164: oe_debug_pub.add( 'FORCE APPLY FLAG IS SET, NOT CHECKING EXISTENCE OF CHANGE_SEQUENCE' ) ;
165: END IF;
166: ELSE
167: IF l_header_rec.operation IN (OE_Globals.G_OPR_CREATE,
168: OE_Globals.G_OPR_INSERT)
169: THEN
170: IF nvl(l_header_rec.change_sequence, ' ') <> ' ' THEN
171: IF l_debug_level > 0 THEN
172: oe_debug_pub.add( 'CHANGE SEQUENCE NOT REQUIRED FOR NEW ORDERS... ' ) ;

Line 179: ELSIF l_header_rec.operation = OE_Globals.G_OPR_DELETE THEN

175: OE_MSG_PUB.Add;
176: p_return_status := FND_API.G_RET_STS_ERROR;
177: END IF;
178:
179: ELSIF l_header_rec.operation = OE_Globals.G_OPR_DELETE THEN
180: IF nvl(l_header_rec.change_sequence, ' ') <> ' ' THEN
181: IF l_debug_level > 0 THEN
182: oe_debug_pub.add( 'CHANGE SEQUENCE NOT REQUIRED FOR DELETING EXISTING ORDERS... ' ) ;
183: END IF;

Line 189: ELSIF l_header_rec.operation = OE_Globals.G_OPR_UPDATE THEN

185: OE_MSG_PUB.Add;
186: p_return_status := FND_API.G_RET_STS_ERROR;
187: END IF;
188:
189: ELSIF l_header_rec.operation = OE_Globals.G_OPR_UPDATE THEN
190: IF nvl(l_header_rec.change_sequence,' ') = ' ' THEN
191: IF l_debug_level > 0 THEN
192: oe_debug_pub.add( 'CHANGE SEQUENCE REQUIRED FOR CHANGES TO AN EXISTING ORDER... ' ) ;
193: END IF;

Line 245: IF l_header_rec.operation = OE_Globals.G_OPR_UPDATE AND -- update operation

241: IF l_debug_level > 0 THEN
242: oe_debug_pub.add( 'BEFORE DEFAULTING SHIP-TO-LOCATION FOR ALL OPEN SHIPMENTS' ) ;
243: END IF;
244:
245: IF l_header_rec.operation = OE_Globals.G_OPR_UPDATE AND -- update operation
246: nvl(l_header_rec.change_sequence,' ') <> ' ' AND -- new code not null
247: l_header_rec.ship_to_org_id <> FND_API.G_MISS_NUM AND
248: nvl(l_header_rec.ship_to_org_id, FND_API.G_MISS_NUM) <>
249: nvl(l_header_ship_to_org_id, FND_API.G_MISS_NUM) -- new code not same as old

Line 278: If l_line_tbl(I).operation = OE_Globals.G_OPR_UPDATE AND

274: G_IMPORT_SHIPMENTS = 'YES' Then
275: If l_line_tbl(I).orig_sys_line_ref = l_orig_sys_line_ref AND
276: l_line_tbl(I).orig_sys_shipment_ref = l_orig_sys_shipment_ref Then
277: l_line_exists := 'Y';
278: If l_line_tbl(I).operation = OE_Globals.G_OPR_UPDATE AND
279: nvl(l_line_tbl(I).ship_to_org_id, FND_API.G_MISS_NUM) <>
280: nvl(l_header_rec.ship_to_org_id, FND_API.G_MISS_NUM) Then
281:
282: l_line_tbl(I).ship_to_org_id := l_header_rec.ship_to_org_id;

Line 290: If l_line_tbl(I).operation = OE_Globals.G_OPR_UPDATE AND

286: G_IMPORT_SHIPMENTS = 'NO') OR
287: OE_CODE_CONTROL.GET_CODE_RELEASE_LEVEL < '110508' Then
288: If l_line_tbl(I).orig_sys_line_ref = l_orig_sys_line_ref Then
289: l_line_exists := 'Y';
290: If l_line_tbl(I).operation = OE_Globals.G_OPR_UPDATE AND
291: nvl(l_line_tbl(I).ship_to_org_id, FND_API.G_MISS_NUM) <>
292: nvl(l_header_rec.ship_to_org_id, FND_API.G_MISS_NUM) Then
293:
294: l_line_tbl(I).ship_to_org_id := l_header_rec.ship_to_org_id;

Line 307: l_line_tbl(l_line_count).operation:= OE_Globals.G_OPR_UPDATE;

303: oe_debug_pub.add( 'LINE DOES NOT EXIST. CREATING A NEW LINE...' ) ;
304: END IF;
305:
306: l_line_count := l_line_tbl.count + 1;
307: l_line_tbl(l_line_count).operation:= OE_Globals.G_OPR_UPDATE;
308: l_line_tbl(l_line_count).order_source_id := l_header_rec.order_source_id;
309: l_line_tbl(l_line_count).orig_sys_document_ref := l_header_rec.orig_sys_document_ref;
310: l_line_tbl(l_line_count).orig_sys_line_ref := l_orig_sys_line_ref;
311: l_line_tbl(l_line_count).orig_sys_shipment_ref := l_orig_sys_shipment_ref;