16: --the insert happens privately in the ERES Fwk
17:
18: if (p_mode = G_INSERT_MODE)
19: then
20: if p_status <> EDR_CONSTANTS_GRP.g_no_ack_status
21: and p_status <> EDR_CONSTANTS_GRP.g_migration_ack_status
22: then
23: l_return_value := FALSE;
24: end if;
17:
18: if (p_mode = G_INSERT_MODE)
19: then
20: if p_status <> EDR_CONSTANTS_GRP.g_no_ack_status
21: and p_status <> EDR_CONSTANTS_GRP.g_migration_ack_status
22: then
23: l_return_value := FALSE;
24: end if;
25:
27: --the upadate happens publicly by product teams
28:
29: elsif (p_mode = G_UPDATE_MODE)
30: then
31: if p_status <> EDR_CONSTANTS_GRP.g_success_ack_status
32: and p_status <> EDR_CONSTANTS_GRP.g_error_ack_status
33: then
34: l_return_value := FALSE;
35: end if;
28:
29: elsif (p_mode = G_UPDATE_MODE)
30: then
31: if p_status <> EDR_CONSTANTS_GRP.g_success_ack_status
32: and p_status <> EDR_CONSTANTS_GRP.g_error_ack_status
33: then
34: l_return_value := FALSE;
35: end if;
36: end if;