In IFS Applications a code generator is responsible for generating deployable database files from application models and source code files.
The code generator builds the base layer of the code from models and the code generation template. The base layer is affected by the different characteristics which are set on the entity and the attributes. Also, there are a lot of code generation properties to use in order to achieve the desired results.
The generated base code can be changed dependent on the following:
Core code is written in source code files, i.e. plsql, views and storage files. These files will also contribute with input to the generation of deployable files.
If you carry out any changes to the source code you will need to carry out a new code generation and deploy the generated code. It is not possible to deploy the source code files themselves.
Code extensions in different layers are included automatically in the code generation process (as long as they follow the file naming and code standards); it does not matter if the layered code is in the model or the source code.
The .api file holds the deployable code of the package specification and any public views.
The .apy file holds the deployable code of the package body as well as the base view and any extra views.
The .cre file holds the deployable database objects. These database objects can be tables, indexes, sequences, object types and so on. These files are only used during a new installation.
The .ins file inserts data for the build process. The filename is either suffixed with SD (for Search Domains) or LANG (for all other model types)