How to Display Statement-Work Order Description on Owner Statements
Added 2/22/2006 - Article ID#: KWin0017
Overview
When posting a work order charge to an owner, there is a note field labeled
Owner Statement - Work Order Description. This field allows the property
to record information on the work order and have a separate, more official
description for the Owner Statement. Prior to RDPWin 1.215, Crystal Reports
had a bug that would not display a note field correctly, so this field could not be used on
the Owner Statement forms.
Solution
In RDPWin 1.215 or higher, the Crystal patch to fix this bug is included.
To add the Statement-Work Order Description to the Owner Statement, follow
the steps below:
- Update RDPWin to Revision 1.215 or higher.
- Open the statement report in Crystal Designer.
- Open the OwnerDirectCharges sub-report.
- Click on Database --> Database Expert.
- Add NoteFile to the Selected Tables column, if it is not already there.
- Click on the Links tab.
- Link HExpense.NoteMasterFile to NoteFile.MasterFile. If NoteMasterFile
is not available in the HExpense file, run Verify Database
from the Database menu before linking.
- Right-click on the new link and choose Link Options.
- Select "Left Outer Join".
- Click OK.
- Link HExpense.TransactionSeqNum to NoteFile.Number.
- Click OK.
- Add a formula called StatementWorkOrderDesc with the following text:
If Not IsNull({HExpense.WorkOrderID}) Then
If IsNull({NoteFile.Number}) Or Trim({NoteFile.Note}) = ""
Then
{WorkOrdr.Description}
Else
{NoteFile.Note};
;
This formula can also be dragged from the RDPFormulas report in the Misc
folder and dropped onto the Owner Statement. If Statement-Work Order Description
is blank, the regular description on the work order is used.
- Click Save and close.
- Drag the new formula onto the report to where it should display.
- Right-click on the field and choose Format Field or Format Text (if it
is
within a text box).
- Click on the Common tab.
- Uncheck "Keep Object Together".
- Check "Can Grow".
- Set Maximum Number of Lines to "0".
- Click OK.
- Save the report.
|