plsql - Need an autonomous transaction procedure for below scenario -


on report generation screen (front-end), after filling form desired data, on submit, call procedure generates report. before data sent report generation, have table in entered form data has inserted. , has done using autonomous transaction procedure. consider below example tables , suggest.

example: table in logs inserted : rep_log_tabl  (user_id, app_id, cur_date, param1, param2, param3,.... param10) table has app_id details: rep_app_tabl (app_id, field_name, x,x,x,x) table has user_details : rep_user_detl (user_id,x,x,x,x,x)  example form: date: 1/1/2016 (text) date: 1/15/2016 (text) type: actual / latest (drop down field)  , table rep_log_tabl holds data below: user_id |   app_id  |   cur_date    |   param1  |   param2  |   param3  |   param4  | . . . . | param10 | --------------------------------------------------------------------------------------------------------- u1234   |   axx-01  |   1/27/2016   |   1/1/2016|   1/15/2016|  actual  |   null    | . . . . | null    |  app_id , user_id dependent on parnt group user logs in. 


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -