You have now defined fields for the Project entity, and specified the properties of those fields. You have also defined functionality for the Project entity, providing a basic user interface and the ability to write to and read from a database. Now, you are ready to generate and build the Project entity. This is the process in which CA Plex turns your model into source code (generating), and then turns your source code into executable objects (building).
After you have generated and built the objects in your model, you will be able to run the program to see what you created.
To generate and build the Project entity
The Generate and Build window appears. The Message Log pops up when you open the window. You can ignore its messages for now, and minimize it.
The Generate and Build window now shows only the Project entity:
![]()

![]()
Note: Generating these objects causes warnings; one indicates that the length of a field on a panel differs from its length in the program, and the other indicates that no event was found for a grid subfile selector value *Blank. Disregard these warnings, as they do not affect your compiled application.
CA Plex then sends the generated code to the System i you specified previously (For more information, see Specifying Build System Settings). The window shows the progress of transferring the source code on the Remote Compile dialog.


The Remote Job Status dialog appears.

Note: Building the message file generates an error, indicating there was no text for "Format ODBC time value." Do not worry about this error; it will not keep your generated application from running properly.

Your generated application starts, and should look like this:

| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |