p_cir_50: Error in material-handling and replacement costs for DVD's
- Article Type: General
- Product: Aleph
- Product Version: 20
Problem Symptoms:
Running cir-50 ("Overdue and Lost Billing Notices ") to generate a bill for lost material, the material handling and replacement costs are to be displayed on the bill and the lost-material-bill-00.xsl has been edited to reflect this:
<xsl:call-template name="display-gen">
<xsl:with-param name="label" select="'Lost Material - Handling:'"/>
<xsl:with-param name="value" select="./sum-1"/>
<xsl:with-param name="display" select="'always'"/>
</xsl:call-template>
<xsl:call-template name="display-gen">
<xsl:with-param name="label" select="'Lost Material - Replacement:'"/>
<xsl:with-param name="value" select="./sum-2"/>
<xsl:with-param name="display" select="'always'"/>
</xsl:call-template>
<xsl:call-template name="display-gen">
<xsl:with-param name="label" select="'Total:'"/>
<xsl:with-param name="value" select="./total"/>
<xsl:with-param name="display" select="'always'"/>
</xsl:call-template>
<xsl:call-template name="table-close"/>
</xsl:template>
When the lost item is a book, the code works correctly and displays a handling cost of $25 and a replacement cost of $75, which correctly matches the flat rates that we have set up in tab34.
But when the lost item is a DVD, the letter only displays a handling cost of $25, and no replacement cost at all. tab34 specifies flat rates for all different material types, including DVDs.
(This may be also be happening with materials other than DVD's.)
Cause:
The CVDVD collection is *not* included in tab34, column 6.
The $25.00 handling charge *is* assessed despite the lack a tab34 entry because of this line in tab18.eng:
0040 ##### ## ## Y 25.00 Lost material - Handling
Resolution:
1. Add an entry for sublibrary ABCMN, collection CVDVD, to tab34
2. Restart the pc_server.
Additional Information
Specific examples:
When a lost item is a book, the code works correctly and displays a handling cost of $25 and a replacement cost of $75, which correctly matches the flat rates that we have set up in tab34:
Due Date: 06/01/2011
Collection: Books (Top Floor)
Call No.: RT86.54 .C37 1999
Lost Material - Handling: 25.00
Lost Material - Replacement: 75.00
Total: 100.00
When a lost item is a DVD, the letter only displays a handling cost of $25, but no replacement cost at all. We do have tab34 set up to show flat rates for all different material types, including DVDs.
Due Date: 12/31/2009
Collection: Video -- DVD (Main Floor)
Call No.: HQ1236 .H57 1996dvd
Lost Material - Handling: 25.00
Lost Material - Replacement:
Total: 25.00
For z30_rec_key 000545911-10 we see: sublibrary ABCMN, collection CVDVD. But the CVDVD collection is *not* included in tab34, column 6:
!1 2 3 4 5 6
7 8 9 10 11 12
!!!!!-!!-!!-!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!
-!!!!!-!!!!!!!!!!-!!!!!!!!!!-!!!!!!!!!!-!!!!!!!!!!-!!!!!>
ABCMN ## ## # # RBR
##### 0000000.00 0000025.00 0000075.00
ABCMN ## ## # # RBRVD
##### 0000000.00 0000025.00 0000075.00
ABCMN ## ## # # VTECH
##### 0000000.00 0000025.00 0000150.00
ABCMN ## ## # # X###
##### 0000000.00 0000025.00 0000075.00
ABCMN ## ## # # YM###
##### 0000000.00 0000025.00 0000075.00
Category: Circulation (500)
Subject: Cash management (500)
- Article last edited: 10/8/2013