DBA Data[Home] [Help]

APPS.OE_VALIDATE_LINE_SCREDIT dependencies on OE_GLOBALS

Line 436: if OE_GLOBALS.g_validate_desc_flex ='Y' then --bug 4343612

432: IF NOT OE_Validate.Wh_Update_Date(p_Line_Scredit_rec.wh_update_date) THEN
433: x_return_status := FND_API.G_RET_STS_ERROR;
434: END IF;
435: END IF;
436: if OE_GLOBALS.g_validate_desc_flex ='Y' then --bug 4343612
437: oe_debug_pub.add('Validation of desc flex is set to Y in OE_Validate_Line_Scredit.attributes ',1);
438: IF (p_Line_Scredit_rec.attribute1 IS NOT NULL AND
439: ( p_Line_Scredit_rec.attribute1 <>
440: p_old_Line_Scredit_rec.attribute1 OR

Line 618: end if ; /*if OE_GLOBALS.g_validate_desc_flex ='Y' then bug 4343612*/

614: END IF;
615:
616: OE_DEBUG_PUB.Add('Exiting OE_VALIDATE_LINE_SCREDIT.Attributes',1);
617: -- Done validating attributes
618: end if ; /*if OE_GLOBALS.g_validate_desc_flex ='Y' then bug 4343612*/
619: EXCEPTION
620:
621: WHEN FND_API.G_EXC_ERROR THEN
622:

Line 659: (p_entity_code =>OE_GLOBALS.G_ENTITY_Line_Scredit

655:
656: OE_DEBUG_PUB.Add('Entering OE_VALIDATE_LINE_SCREDIT.Entity_Delete',1);
657: NULL;
658: OE_Delayed_Requests_Pvt.Log_Request
659: (p_entity_code =>OE_GLOBALS.G_ENTITY_Line_Scredit
660: ,p_entity_id =>p_Line_Scredit_rec.sales_credit_id
661: ,p_requesting_entity_code =>OE_GLOBALS.G_ENTITY_Line_Scredit
662: ,p_requesting_entity_id =>p_Line_Scredit_rec.sales_credit_id
663: ,p_request_type =>OE_GLOBALS.G_CHECK_LSC_QUOTA_TOTAL

Line 661: ,p_requesting_entity_code =>OE_GLOBALS.G_ENTITY_Line_Scredit

657: NULL;
658: OE_Delayed_Requests_Pvt.Log_Request
659: (p_entity_code =>OE_GLOBALS.G_ENTITY_Line_Scredit
660: ,p_entity_id =>p_Line_Scredit_rec.sales_credit_id
661: ,p_requesting_entity_code =>OE_GLOBALS.G_ENTITY_Line_Scredit
662: ,p_requesting_entity_id =>p_Line_Scredit_rec.sales_credit_id
663: ,p_request_type =>OE_GLOBALS.G_CHECK_LSC_QUOTA_TOTAL
664: ,p_param1 => to_char(p_Line_Scredit_rec.Line_id)
665: ,x_return_status =>l_return_status);

Line 663: ,p_request_type =>OE_GLOBALS.G_CHECK_LSC_QUOTA_TOTAL

659: (p_entity_code =>OE_GLOBALS.G_ENTITY_Line_Scredit
660: ,p_entity_id =>p_Line_Scredit_rec.sales_credit_id
661: ,p_requesting_entity_code =>OE_GLOBALS.G_ENTITY_Line_Scredit
662: ,p_requesting_entity_id =>p_Line_Scredit_rec.sales_credit_id
663: ,p_request_type =>OE_GLOBALS.G_CHECK_LSC_QUOTA_TOTAL
664: ,p_param1 => to_char(p_Line_Scredit_rec.Line_id)
665: ,x_return_status =>l_return_status);
666:
667: IF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN

Line 678: IF OE_GLOBALS.G_RECURSION_MODE <> 'Y' THEN

674: -- Adding service sales credit delayed request
675: -- Here we are executing the delayed request procedure which will
676: -- cascade the sc delete.
677:
678: IF OE_GLOBALS.G_RECURSION_MODE <> 'Y' THEN
679: -- Preparing request_rec.
680: l_request_rec.entity_code := OE_GLOBALS.G_ENTITY_line_Scredit;
681: l_request_rec.entity_id := p_Line_Scredit_rec.sales_credit_id;
682: l_request_rec.request_type := OE_GLOBALS.G_CASCADE_SERVICE_SCREDIT;

Line 680: l_request_rec.entity_code := OE_GLOBALS.G_ENTITY_line_Scredit;

676: -- cascade the sc delete.
677:
678: IF OE_GLOBALS.G_RECURSION_MODE <> 'Y' THEN
679: -- Preparing request_rec.
680: l_request_rec.entity_code := OE_GLOBALS.G_ENTITY_line_Scredit;
681: l_request_rec.entity_id := p_Line_Scredit_rec.sales_credit_id;
682: l_request_rec.request_type := OE_GLOBALS.G_CASCADE_SERVICE_SCREDIT;
683: l_request_rec.param8 := to_char(p_Line_Scredit_rec.Line_id);
684: l_request_rec.param1 := to_char(p_Line_Scredit_rec.salesrep_id);

Line 682: l_request_rec.request_type := OE_GLOBALS.G_CASCADE_SERVICE_SCREDIT;

678: IF OE_GLOBALS.G_RECURSION_MODE <> 'Y' THEN
679: -- Preparing request_rec.
680: l_request_rec.entity_code := OE_GLOBALS.G_ENTITY_line_Scredit;
681: l_request_rec.entity_id := p_Line_Scredit_rec.sales_credit_id;
682: l_request_rec.request_type := OE_GLOBALS.G_CASCADE_SERVICE_SCREDIT;
683: l_request_rec.param8 := to_char(p_Line_Scredit_rec.Line_id);
684: l_request_rec.param1 := to_char(p_Line_Scredit_rec.salesrep_id);
685: l_request_rec.param2 := to_char(p_Line_Scredit_rec.salesrep_id);
686: l_request_rec.param3 := to_char(p_Line_Scredit_rec.Sales_credit_type_id);