Note: This page was translated using automation resources with the purpose of providing content in your language more quickly. Consequently, it may have grammatical errors and similar situations. If the content is not useful in this state, in the page footer you can access the original material in Brazilian Portuguese and also give us opinions on this translation.
Tables / Resources / Automatic Processes / SQL

Automatic Process SQL Execution

The stored procedures and SQL commands may be run through the routine of automatic process.

The novelty implemented is the running of commands saved in a text file. This option is useful because any Stored Procedures can be registered, since they have to be frequently run on the Database. This option has been implemented specially for the Routine of Data Integration with other systems.

However, some rules must be noticed:

Process code
Report a code and description for the process.

 

Owner System
Select the abbreviation of the Human Capital Management | HCM module that will be the owner of the task. Thus, when the task is run, it will be destined to the correct system.

Location
Specify which processes are running on a specific server without these processes are executed per the other servers that use this same database.

Note

The Location code is not mandatory for running the process.

Periodicity
The system displays information referring to the periodicity of running this process. To change these settings, use the Periodicity button.

Only on Weekdays
It indicates if the Process must be also executed on Saturdays, Sundays and holidays.

Note

It is considered as being holidays all the days registered in the table of holidays.

Predecessor Process
This field allows to indicate that this process will only be run after the end of running the other process. For this, it is necessary to report the type of predecessor process (if it is a Report process, Calculation, etc.) and its code. The predecessor process is run one minute before the main process.

Process may Deactivates
Report if there is an error in the running of the automatic process. If there is, report if the process must be deactivated, or if it must continue running in the next periods.

Generates Log Message
Report if the system must generate a log message if any error occur when running the automatic process.

Email of the person responsible
Report the e-mail of the person responsible for the process, to send a log message when an error occurs in the running of automatic process.

Stored Procedure
Runs a stored procedure on the database from its name.

SQL Commands
Report the SQL command to be run on the defined date and time.

Language code
Report the code of the language in which the automatic process will be run.

 

(missing or bad snippet)