for beginning of the line, Find and Replace as below:
^p
^p+"
for End of the line, Find and Replace as below:
^p
"^p
for beginning of the line, Find and Replace as below:
^p
^p+"
for End of the line, Find and Replace as below:
^p
"^p
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
Suppose we want to add a Maintenance Cost attribute to the ASSET object. Here’s the step-by-step process:
Create a folder to store your DBC script:
mkdir D:\IBM\SMP\maximo\tools\maximo\en\aq
Create a new DBC file aq_add_cost_to_asset.dbc in the folder:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script SYSTEM "script.dtd">
<script author="aq" scriptname="aq_add_cost_to_asset">
<description>Adds Maintenance Cost to the Asset</description>
<statements>
<add_attributes object="ASSET">
<attrdef
attribute="ZZMAINTCOST"
title="Maintenance Cost"
maxtype="AMOUNT"
remarks="Maintenance Cost for the Asset"
persistent="true"
required="false"/>
</add_attributes>
</statements>
</script>