DBA Data[Home] [Help]

APPS.ENG_VALIDATE_SUB_COMPONENT dependencies on STANDARD

Line 138: -- components which are not Standard cannot have sub comps. This |

134: ---------------------------------------------------------------------
135: -- If the Transaction Type is CREATE and the ACD_type is ADD |
136: -- then check the type of item to which a sub component is being |
137: -- added. Planning bills cannot have sub comps esgs and also |
138: -- components which are not Standard cannot have sub comps. This |
139: -- OR so even if either exists sub comp cannot be added. |
140: ---------------------------------------------------------------------
141: IF p_sub_component_rec.Transaction_Type = Bom_Globals.G_OPR_CREATE THEN
142:

Line 152: -- ('Expected Error. non-standard component . . . ');

148: l_err_text := 'ENG_SBC_NON_STD_PARENT';
149: l_return_status := FND_API.G_RET_STS_ERROR;
150: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
151: --dbms_output.put_line
152: -- ('Expected Error. non-standard component . . . ');
153:
154: Error_Handler.Add_Error_Token
155: ( x_Mesg_Token_tbl => l_Mesg_Token_tbl
156: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl

Line 827: l_Token_Tbl(2).Token_Value := 'ENG_STANDARD';

823: THEN
824: l_Token_Tbl(2).Token_Value := 'ENG_PLANNING';
825: ELSIF SubCompType.bom_item_type = 4
826: THEN
827: l_Token_Tbl(2).Token_Value := 'ENG_STANDARD';
828: END IF;
829:
830: Error_Handler.Add_Error_Token
831: ( p_Message_Name => 'ENG_SUB_COMP_ACCESS_DENIED'