This statement, identified by the statement type CREDIT, is optional. It is used to supplement the accounting algorithms defined on the RATE statements. Credits may be introduced to the Wizard Report Writer to be applied to a specific transaction or summarization level (account, department, project, etc.). Some typical uses for the CREDIT statement are to:
Each CREDIT statement introduced to the Wizard Report Writer is formatted into an accounting record to be sorted and reported on as any other input. All CREDIT statement fields are formatted to corresponding fields according to the Basic Accounting Table. For processing purposes, the record is treated as a transaction.
The following fields, if not present on the CREDIT statement, are filled with blanks in the formatted record:
The following fields, or any portion thereof, not present on the CREDIT statement are filled with high values (hex 'FF') in the formatted record:
For sorting purposes, it should be noted that the date field is moved to the transaction stop date and date record written fields. Also, the time field is moved to the transaction stop time and time record written fields in the formatted record as defined in the Basic Accounting Table. High values in any of these fields do not print when selected for display, and, therefore, can be used to cause credits to appear last in any group of records.
The credit amount field, in dollars and cents, is carried through by the Wizard Report Writer and made available for display in the Output Data Elements Table. The credit amount also affects (reduces) the total charge, distributed charge, and percent totals at any level of display.
|
Statement Position |
Field Length |
Field Name |
Notes |
|---|---|---|---|
|
1 |
1 |
Set Code |
|
|
2-9 |
8 |
Statement Type |
CREDIT |
|
10 |
1 |
CPU Identification |
|
|
19-34 |
16 |
User information |
|
|
35-40 |
6 |
Date |
YYMDD |
|
41-48 |
8 |
Job Name |
|
|
49-54 |
6 |
Time |
HHMMSS |
|
75-80 |
6 |
Credit Amount |
9999V99; dollars |
| Copyright © 2012 CA. All rights reserved. |
|