Complete this procedure to add text box controls to the
Assets application and to the Work Order Tracking application. The
text box in the Assets application lets you input or edit a comment
value for an asset. You can view these comments in the text box in
the Work Order Tracking application.
Before you begin
Before you start, verify that you have added the assetcomment
attribute to the Asset object.
Procedure
- In the main tab of the Assets application in the Application
Designer, click the section that holds the Asset field.
- Click Control Palette and drag a text
box control into the Asset section.
- Open the Control Properties window
for the text box control.
- Specify the following information to bind the control to
the assetcomment attribute:
Field input |
Value |
Description |
Default Label |
Defaults to Comment |
When you specify assetcomment in the Attribute field,
this field defaults to the default label value of the attribute (if
available). You can assign your own label value for this attribute
that is specific to the application in the Label field. For example,
you might enter Asset Comments. |
Label |
Comments |
The value you enter here, for example, Comments,
overrides the Default Label setting within the application. The value
you enter for Label is specific to the application and not stored
in an object. |
Attribute |
assetcomment |
The name of the asset comment attribute in the
Asset object. |
Input Mode |
DEFAULT |
The Default option configures the Input Mode
for the Comment field to be Read/Write or Edit
mode. |
- Click Save.
- In the Application Designer, open the Work Order Tracking
application and then select the Asset section
of the application.
- Drag a text box control from the Control Palette to
the workspace and position it between the Asset and
the Parent WO fields.
- Open the Control Properties for the
text box and specify the following values:
Field input |
Value |
Description |
Default Label |
Defaults to Comment |
When you specify assetcomment in the Attribute
field, this field defaults to the default label value of the attribute
(if available). You can assign your own label value for this attribute
that is specific to the application in the Label field.
For example, you might enter Asset Comments. |
Label |
Comments |
The value you enter here, for example, Comments,
overrides the Default Label setting within the application. The value
you enter for Label is specific to the application and not stored
in an object. |
Attribute |
asset2wolink.assetcomment |
Type the name of the asset comment attribute
in the Asset object. You must preface the assetcomment attribute with
the name of the database relationship that binds the Asset and Workorder
objects and a dot. For example, asset2wolink.assetcomment. |
Input Mode |
DEFAULT or READONLY |
The Default option configures
the Input Mode for the Comment field
to be Read/Write or Edit mode. You can also configure the Comment field
to be Read Only |
Results
After this configuration, the Comments field
is populated in the Work Order Tracking application whenever you add
an asset record to a work order.