Append user defined code after table definition
- On the Data Source tab, expand the tree view to locate the object.
 - Right-click the source object and select.
 - Under Code Generation, click Edit User defined code.
 - From the Type drop-down field, select After Table Definition.
 - Specify the code to be appended.
 - Click Save.
 - Compile the object.