DBA Data[Home] [Help]

APPS.MRP_VALIDATE_SOURCING_RULE dependencies on MRP_GLOBALS

Line 399: IF (p_Sourcing_Rule_rec.operation = MRP_Globals.G_OPR_UPDATE) AND

395: ( p_Sourcing_Rule_rec.Organization_Id <>
396: p_old_Sourcing_Rule_rec.Organization_Id OR
397: p_old_Sourcing_Rule_rec.Organization_Id IS NULL )
398: THEN
399: IF (p_Sourcing_Rule_rec.operation = MRP_Globals.G_OPR_UPDATE) AND
400: (p_old_Sourcing_Rule_rec.Organization_Id IS NOT NULL) THEN
401: -- organization_id changed while updating - NOT ALLOWED
402: FND_MESSAGE.SET_NAME('MRP','MRP_ATTRIBUTE_VALUE_ERROR');
403: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','Organization_Id');

Line 482: IF (p_Sourcing_Rule_rec.operation = MRP_Globals.G_OPR_UPDATE) AND

478: ( p_Sourcing_Rule_rec.Sourcing_Rule_Type <>
479: p_old_Sourcing_Rule_rec.Sourcing_Rule_Type OR
480: p_old_Sourcing_Rule_rec.Sourcing_Rule_Type IS NULL )
481: THEN
482: IF (p_Sourcing_Rule_rec.operation = MRP_Globals.G_OPR_UPDATE) AND
483: (p_old_Sourcing_Rule_rec.Sourcing_Rule_Type IS NOT NULL) THEN
484: -- sourcing_rule_type changed while updating - NOT ALLOWED
485: FND_MESSAGE.SET_NAME('MRP','MRP_ATTRIBUTE_VALUE_ERROR');
486: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','Sourcing_Rule_Type');