Dynasys is daily refreshed from BW and SalesForce.
A global and unique process (common to all instances of one company) allows to manage files provided by those two applications. The goal is to :
Results of import flows are centralized into DYS_GLOBAL_IO_FLOWS table, filtered on Flow_type = 'DYN_IN' and Flow_Sub_Type = 'Import_Files' and Activated = '1'

NB : Flow_Table = name of the inbouf file without its extension
Here's the algorithm dedicated to inbound csv files :

If current day = Monday, the file must have been generated on Day-1 at the latest
Otherwise, the creation date of the file must be Day 0.
The setting file D:\DynaSys\Batchs\Settings\dscp_settings.ini on the backend server contains a list of files to exclude.
If the file is part of this list, it won't be processed.

Once the file is uploaded into its TEMP table, then the related line of DYS_GLOBAL_IO_FLOWS table is updated :
If the file is defined in the list of excluded files, then the related line of DYS_GLOBAL_IO_FLOWS table is updated :
This process allows to force some values in TEMP tables or remove lines that are not consistent.
For example :
Integrity controls are defined into DYS_GLOBAL_IO_FLOWS table, filtered on Flow_type = 'DYN_IN_IC' and Activated = '1'
Several types of integrity controls exist.
