DBC (Database Configuration) scripts are a powerful way to customize your system, such as adding new attributes to existing objects. In this post, we’ll walk through practical examples, including creating a custom attribute in the Asset object and generating DBC scripts from an autoscript
Example 1: Adding a Custom Attribute to the Asset Object
Suppose we want to add a Maintenance Cost attribute to the ASSET object. Here’s the step-by-step process:
1. Create a DBC Folder
Create a folder to store your DBC script:
2. Create the DBC File
Create a new DBC file aq_add_cost_to_asset.dbc in the folder: