443: and organization_id = p_organization_id
444: and standard_operation_id is not null
445: and standard_operation_id <> fnd_api.g_miss_num
446: and not exists (select 1
447: from bom_standard_operations
448: where standard_operation_id = wjdi.standard_operation_id
449: and organization_id = wjdi.organization_id);
450:
451: l_error_exists boolean := false;
479: and organization_id = p_organization_id
480: and standard_operation_id is not null
481: and standard_operation_id <> fnd_api.g_miss_num
482: and not exists (select 1
483: from bom_standard_operations
484: where standard_operation_id = wjdi.standard_operation_id
485: and organization_id = wjdi.organization_id);
486: end if;
487: end val_std_op;