DBA Data[Home] [Help]

APPS.ENG_VALIDATE_ECO_REVISION dependencies on ENG_GLOBALS

Line 36: ENG_GLOBALS.Check_Approved_For_Process

32: BEGIN
33:
34: --dbms_output.put_line('Performing ECO Revisions Entity validation . . .');
35:
36: ENG_GLOBALS.Check_Approved_For_Process
37: ( p_change_notice => p_eco_revision_rec.Eco_Name,
38: p_organization_id => p_Eco_Rev_Unexp_Rec.organization_id,
39: x_processed => l_processed,
40: x_err_text => l_err_text

Line 48: ENG_GLOBALS.Set_Request_For_Approval

44: THEN
45: -- If the above process returns true then set the ECO approval.
46:
47: BEGIN
48: ENG_GLOBALS.Set_Request_For_Approval
49: (p_change_notice => p_eco_revision_rec.Eco_Name,
50: p_organization_id => p_Eco_Rev_Unexp_Rec.organization_id,
51: x_err_text => l_err_text
52: );

Line 64: IF p_eco_revision_rec.Transaction_Type = ENG_GLOBALS.G_OPR_UPDATE AND

60:
61: --dbms_output.put_line('Return Status so far ...before checking valid revision '
62: -- || l_return_status );
63:
64: IF p_eco_revision_rec.Transaction_Type = ENG_GLOBALS.G_OPR_UPDATE AND
65: p_eco_revision_rec.new_revision IS NOT NULL
66: THEN
67: -- Verfiy that the user is not trying to change the revision to
68: -- a revision that already exists.

Line 223: IF l_return_status = Eng_Globals.G_RECORD_FOUND AND

219: , x_Eco_Revision_Rec => x_old_eco_revision_rec
220: , x_Eco_Rev_Unexp_Rec => x_old_eco_rev_unexp_rec
221: , x_Return_Status => l_return_status
222: );
223: IF l_return_status = Eng_Globals.G_RECORD_FOUND AND
224: p_eco_revision_rec.transaction_type = Eng_Globals.G_OPR_CREATE
225: THEN
226: Error_Handler.Add_Error_Token
227: ( x_Mesg_token_tbl => l_Mesg_Token_Tbl

Line 224: p_eco_revision_rec.transaction_type = Eng_Globals.G_OPR_CREATE

220: , x_Eco_Rev_Unexp_Rec => x_old_eco_rev_unexp_rec
221: , x_Return_Status => l_return_status
222: );
223: IF l_return_status = Eng_Globals.G_RECORD_FOUND AND
224: p_eco_revision_rec.transaction_type = Eng_Globals.G_OPR_CREATE
225: THEN
226: Error_Handler.Add_Error_Token
227: ( x_Mesg_token_tbl => l_Mesg_Token_Tbl
228: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl

Line 233: ELSIF l_return_status = Eng_Globals.G_RECORD_NOT_FOUND AND

229: , p_message_name => 'ENG_ECO_REV_ALREADY_EXISTS'
230: , p_token_tbl => l_token_tbl
231: );
232: l_return_status := FND_API.G_RET_STS_ERROR;
233: ELSIF l_return_status = Eng_Globals.G_RECORD_NOT_FOUND AND
234: p_eco_revision_rec.transaction_type IN
235: (Eng_Globals.G_OPR_UPDATE, Eng_Globals.G_OPR_DELETE)
236: THEN
237: Error_Handler.Add_Error_Token

Line 235: (Eng_Globals.G_OPR_UPDATE, Eng_Globals.G_OPR_DELETE)

231: );
232: l_return_status := FND_API.G_RET_STS_ERROR;
233: ELSIF l_return_status = Eng_Globals.G_RECORD_NOT_FOUND AND
234: p_eco_revision_rec.transaction_type IN
235: (Eng_Globals.G_OPR_UPDATE, Eng_Globals.G_OPR_DELETE)
236: THEN
237: Error_Handler.Add_Error_Token
238: ( x_Mesg_token_tbl => l_Mesg_Token_Tbl
239: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl