DBA Data[Home] [Help]

APPS.PQH_ATT_BUS dependencies on PQH_ATTRIBUTES

Line 56: pqh_att_shd.constraint_error('PQH_ATTRIBUTES_PK');

52: <> pqh_att_shd.g_old_rec.attribute_id) then
53: --
54: -- raise error as PK has changed
55: --
56: pqh_att_shd.constraint_error('PQH_ATTRIBUTES_PK');
57: --
58: elsif not l_api_updating then
59: --
60: -- check if PK is null

Line 66: pqh_att_shd.constraint_error('PQH_ATTRIBUTES_PK');

62: if p_attribute_id is not null then
63: --
64: -- raise error as PK is not null
65: --
66: pqh_att_shd.constraint_error('PQH_ATTRIBUTES_PK');
67: --
68: end if;
69: --
70: end if;

Line 111: from pqh_attributes a

107: l_dummy varchar2(1);
108: --
109: cursor c1 is
110: select null
111: from pqh_attributes a
112: where a.attribute_id = p_master_attribute_id;
113: --
114: Begin
115: --

Line 128: -- check if master_attribute_id value exists in pqh_attributes table

124: <> nvl(pqh_att_shd.g_old_rec.master_attribute_id,hr_api.g_number)
125: or not l_api_updating) and
126: p_master_attribute_id is not null then
127: --
128: -- check if master_attribute_id value exists in pqh_attributes table
129: --
130: open c1;
131: --
132: fetch c1 into l_dummy;

Line 137: -- raise error as FK does not relate to PK in pqh_attributes

133: if c1%notfound then
134: --
135: close c1;
136: --
137: -- raise error as FK does not relate to PK in pqh_attributes
138: -- table.
139: --
140: pqh_att_shd.constraint_error('PQH_ATTRIBUTES_FK2');
141: --

Line 140: pqh_att_shd.constraint_error('PQH_ATTRIBUTES_FK2');

136: --
137: -- raise error as FK does not relate to PK in pqh_attributes
138: -- table.
139: --
140: pqh_att_shd.constraint_error('PQH_ATTRIBUTES_FK2');
141: --
142: end if;
143: --
144: close c1;