DBA Data[Home] [Help]

APPS.BOM_VALIDATE_SUB_COMPONENT dependencies on STANDARD

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

208: ---------------------------------------------------------------------
209: -- If the Transaction Type is CREATE and the ACD_type is ADD |
210: -- then check the type of item to which a sub component is being |
211: -- added. Planning bills cannot have sub comps esgs and also |
212: -- components which are not Standard cannot have sub comps. This |
213: -- OR so even if either exists sub comp cannot be added. |
214: ---------------------------------------------------------------------
215: IF p_sub_component_rec.Transaction_Type = Bom_Globals.G_OPR_CREATE THEN
216:

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

222: l_err_text := 'BOM_SBC_NON_STD_PARENT';
223: l_return_status := FND_API.G_RET_STS_ERROR;
224: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
225: -- dbms_output.put_line
226: -- ('Expected Error. non-standard component . . . ');
227:
228: Error_Handler.Add_Error_Token
229: ( x_Mesg_Token_tbl => l_Mesg_Token_tbl
230: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl

Line 1031: l_Token_Tbl(2).Token_Value := 'BOM_STANDARD';

1027: THEN
1028: l_Token_Tbl(2).Token_Value := 'BOM_PLANNING';
1029: ELSIF SubCompType.bom_item_type = 4
1030: THEN
1031: l_Token_Tbl(2).Token_Value := 'BOM_STANDARD';
1032: END IF;
1033:
1034: Error_Handler.Add_Error_Token
1035: ( p_Message_Name => 'BOM_SUB_COMP_ACCESS_DENIED'