55: --
56: l_proc varchar2(72) := g_package||'update_dml';
57: --
58: Begin
59: hr_utility.set_location('Entering:'||l_proc, 5);
60: --
61: -- Increment the object version
62: --
63: p_rec.object_version_number := p_rec.object_version_number + 1;
77: where account_id = p_rec.account_id;
78: --
79: pay_pwa_shd.g_api_dml := false; -- Unset the api dml status
80: --
81: hr_utility.set_location(' Leaving:'||l_proc, 10);
82: --
83: Exception
84: When hr_api.check_integrity_violated Then
85: -- A check constraint has been violated
137: --
138: l_proc varchar2(72) := g_package||'pre_update';
139: --
140: Begin
141: hr_utility.set_location('Entering:'||l_proc, 5);
142: --
143: hr_utility.set_location(' Leaving:'||l_proc, 10);
144: End pre_update;
145: --
139: --
140: Begin
141: hr_utility.set_location('Entering:'||l_proc, 5);
142: --
143: hr_utility.set_location(' Leaving:'||l_proc, 10);
144: End pre_update;
145: --
146: -- ----------------------------------------------------------------------------
147: -- |-----------------------------< post_update >------------------------------|
179: --
180: l_proc varchar2(72) := g_package||'post_update';
181: --
182: Begin
183: hr_utility.set_location('Entering:'||l_proc, 5);
184: --
185: --
186: -- Start of API User Hook for post_update.
187: --
218: --
219: -- End of API User Hook for post_update.
220: --
221: --
222: hr_utility.set_location(' Leaving:'||l_proc, 10);
223: End post_update;
224: --
225: -- ----------------------------------------------------------------------------
226: -- |-----------------------------< convert_defs >-----------------------------|
270: l_proc varchar2(72) := g_package||'convert_defs';
271: --
272: Begin
273: --
274: hr_utility.set_location('Entering:'||l_proc, 5);
275: --
276: -- We must now examine each argument value in the
277: -- p_rec plsql record structure
278: -- to see if a system default is being used. If a system default
303: pay_pwa_shd.g_old_rec.comments;
304: End If;
305:
306: --
307: hr_utility.set_location(' Leaving:'||l_proc, 10);
308: --
309: End convert_defs;
310: --
311: -- ----------------------------------------------------------------------------
318: --
319: l_proc varchar2(72) := g_package||'upd';
320: --
321: Begin
322: hr_utility.set_location('Entering:'||l_proc, 5);
323: --
324: -- We must lock the row which we need to update.
325: --
326: pay_pwa_shd.lck
367: l_rec pay_pwa_shd.g_rec_type;
368: l_proc varchar2(72) := g_package||'upd';
369: --
370: Begin
371: hr_utility.set_location('Entering:'||l_proc, 5);
372: --
373: -- Call conversion function to turn arguments into the
374: -- l_rec structure.
375: --
392: --
393: upd(l_rec);
394: p_object_version_number := l_rec.object_version_number;
395: --
396: hr_utility.set_location(' Leaving:'||l_proc, 10);
397: End upd;
398: --
399: end pay_pwa_upd;