319: x_return_status := FND_API.G_RET_STS_SUCCESS;
320:
321: -- Set this global so that pricing integration will not fire security
322: -- checks for update of pricing fields back on order lines.
323: OE_GLOBALS.G_HEADER_CREATED := TRUE;
324:
325: -- Set EDI installed status to 'N' so that acknowledgment records are
326: -- not created in the pricing call. These will be created via the
327: -- bulk acknowledgments API (OEBVACKB.pls) later during bulk import.
324:
325: -- Set EDI installed status to 'N' so that acknowledgment records are
326: -- not created in the pricing call. These will be created via the
327: -- bulk acknowledgments API (OEBVACKB.pls) later during bulk import.
328: l_ec_installed := OE_GLOBALS.G_EC_INSTALLED;
329: OE_GLOBALS.G_EC_INSTALLED := 'N';
330:
331: -- added for HVOP Tax project
332: IF p_process_tax = 'N' THEN
325: -- Set EDI installed status to 'N' so that acknowledgment records are
326: -- not created in the pricing call. These will be created via the
327: -- bulk acknowledgments API (OEBVACKB.pls) later during bulk import.
328: l_ec_installed := OE_GLOBALS.G_EC_INSTALLED;
329: OE_GLOBALS.G_EC_INSTALLED := 'N';
330:
331: -- added for HVOP Tax project
332: IF p_process_tax = 'N' THEN
333: FOR I IN 1..l_header_count LOOP
754: END IF; -- if p_process_tax...
755:
756:
757:
758: OE_GLOBALS.G_EC_INSTALLED := l_ec_installed;
759:
760: EXCEPTION
761: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
762: OE_GLOBALS.G_EC_INSTALLED := l_ec_installed;
758: OE_GLOBALS.G_EC_INSTALLED := l_ec_installed;
759:
760: EXCEPTION
761: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
762: OE_GLOBALS.G_EC_INSTALLED := l_ec_installed;
763: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
764: WHEN OTHERS THEN
765: OE_GLOBALS.G_EC_INSTALLED := l_ec_installed;
766: OE_BULK_MSG_PUB.Add_Exc_Msg
761: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
762: OE_GLOBALS.G_EC_INSTALLED := l_ec_installed;
763: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
764: WHEN OTHERS THEN
765: OE_GLOBALS.G_EC_INSTALLED := l_ec_installed;
766: OE_BULK_MSG_PUB.Add_Exc_Msg
767: (G_PKG_NAME
768: ,'Price_Orders');
769: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;