Use Dynamic Actions To Update Data

preview_player
Показать описание
This tutorial will create a dynamic action named 'CALCULATE COMMISSION'. This fires whenever the 'Job' or 'Salary' page items change. Upon change, it does two things. Firstly an AJAX call is fired that retrieves the calculated commission (based on the current values for 'Job' and 'Salary') from calling a PL SQL function. The 'Commission' page item is then set to the calculated commission. It is based on one native action ('Set Value' with a 'Set Type' of 'PL SQL Function Body').

And one dynamic action called 'GET DEPT INFORMATION'. This fires whenever the 'Department' page item changes and invokes an AJAX call that retrieves the 'Location' and 'Number of Employees' information for the selected department from the database. It uses one native action ('Set Value' with a 'Set Type' of 'SQL Statement').

And one dynamic action called 'UPDATE SALARY' is associated with the button on the page. This uses the 'Execute PL SQL Code' event type to update the employee salaries and then uses the 'Refresh' event type to show the updated values in the report.

Source Code Link
===============================================

00:00 - Introduction
01:30 - Update Salary
04:49 - Get Dept Information
08:00 - List Of Value (LOV) Calc Commission
09:01 - Calculate Commission
Рекомендации по теме
Комментарии
Автор

i love your videos, and i am waiting for it every day

tamtamatube
Автор

I am beginner in oracle Apex and learn from your videos Thanks brother keep it up

MuhammadAkif-ck
Автор

Hi can you please help me with a problem... I have an Interactive grid with few selected rows... I want to disable unselection/selection for those selected rows.. once a button is clicked

vijayalaxmianchanala
welcome to shbcf.ru