The data processing that we will show as an example here is the one done at the Application level, to execute this example we will take certain parameters from the Database. On the other hand the user will enter some parameters and then complete the calculation and insert the result into the Database. In terms of Database structure, we have two tables which are shown below: We will use the following Scriptcase Macros to make our work easier: The table “Parameter” in a PostgreSQL database. The process that we will do will calculate the percentage of interest that the user will have to pay based on the amount desired and the number of installments (months) that he needs to pay back. Within the table “Parameter” we have the percentage of interest that the user will pay based on the number of months that he chooses in our application. Once inside our project in the Scriptcase, we create the connections that we will need to consult the table in PostgreSQL (conn_Parameter) and then insert into the MySQL table (conn Sales).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |