billmax documentation   BillMax Billing Solutions
  877.245.5629
  sales@billmax.com
 

Chapter 2. Reviewing the Nightly Log

A "standard" BillMax installation has a cron entry that runs /usr/local/billmax/bin/billmax-admin nightly (see Chapter 2, Preliminary BillMax Configuration. The following sets of variables in /usr/local/billmax/local/billmax.conf are set to "YES" in a typical BillMax installation:

Processes

Database Integrity Checks

Error messages from the "Processes" and the "Database Integrity Checks" are printed to the nightly log, /usr/local/billmax/logs/nightly.date.log where date is the date that /usr/local/billmax/bin/billmax-admin was executed.

Examination of error messages should be done on a daily basis and corrective action taken. Database integrity is verified using dbck. Note that dbck does not validate data against Constraints listed in the CGI Action Files. The following errors reported by dbck may be classified into three main categories:

  1. Referential integrity errors. A value of a field of a record of a table should also be the value of a field in a different record in the same table or a different table. When this does not occur, it is an error. An example is the account.taxregion field having a value that does not exist in salestax.number field of the salestax table.

  2. A incorrect value for a field. An example is have a positive value for payhist.ucash for a Payment.

  3. Incorrect values within the context of the the data. An example is having Allocation records for a Payment that may have correct values by themselves, but the sum of the Allocation records exceeds the total amount of the Payment.

Each error reported by dbck has a five digit error code enclosed in parentheses and periods, .i.e. "..(XXXXX)..". In the following explanations of the error code, a category called "Repair Action" is included. This is the corrective action performed by dbck when executed with the -r option. Note that this option should be used with great care and may not be appropriate.

Checking Table 'account'

10000
Explanation: The value for account.state is not a recognized value for a BillMax Account State.
Possible Remedy: This error may be corrected through the Staff Interface using the "Account Admin" page. When viewing the Account through the Staff Interface, the Account will look as if it is in Open State.
dbck Repair Action: Value set to Closed State.
10001
Explanation: The value for account.taxable is not either 0 or 1.
Possible Remedy: This error may be corrected through the Staff Interface using the "Account Admin" page. When viewing the Account through the Staff Interface, the Account will look as if is non-taxable.
dbck Repair Action: Value set to 0 - non-taxable.
10002
Explanation: The value for account.taxregion does not exist as a value for salestax.number in the salestax table.
Possible Remedy: This error may be corrected through the Staff Interface using the "Account Admin" page. When viewing the Account through the Staff Interface, the Account will look as if the tax region has not been selected.
dbck Repair Action: Value set to the lowest value of salestax.number.
10003
Explanation: The value for account.paytype is not a recognized value for a BillMax paytype.
Possible Remedy: This error may be corrected through the Staff Interface using the "Account Admin" page. When viewing the Account through the Staff Interface, the Account will look as if the paytype has not been selected.
dbck Repair Action: Value set to 0 - the paytype is not selected.
10004
Explanation: The value for account.invmethod is not recognized as a BillMax invmethod.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: Value set to 0 - the invmethod is not selected.
10005
Explanation: The value for account.invday is not between 1 and 31 inclusive.
Possible Remedy: This error may be corrected through the Staff Interface using the "Account Admin" page.
dbck Repair Action: Value set to 1.
10006
Explanation: The Account has no associated Users.
Possible Remedy: As this may be allowed for certain business models, this error message may be suppressed. Please see /usr/local/billmax/local/billmax.conf and dbck.
dbck Repair Action: The account table record will be deleted.
10007
Explanation: The value for account.customerof does not exist as a value for config.number in the config table.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: Value set to the lowest value of config.number.
10008
Explanation: The Account State is Open State, but the reason is not 0 - "Not Applicable".
Possible Remedy: This error may be corrected through the Staff Interface using the "Account Admin" page. When viewing the Account through the Staff Interface, the Account reason (field "Because;" on page) may show "Not Applicable". The "Not Applicable" reason will still need to be selected and the record saved.
dbck Repair Action: Value set to 0 - "Not Applicable".
10009
Explanation: The Account State is NOT in the Open State and the reason is 0 - "Not Applicable".
Possible Remedy: This error may be corrected through the Staff Interface using the "Account Admin" page.
dbck Repair Action: Value set to 3 - "Administrative".

Checking Table 'auth'

10100
Explanation: The value for auth.access is not between 1 and 31 inclusive.
Possible Remedy: This error may be corrected through the Staff Interface using the "Permissions" page.
dbck Repair Action: Value set to 0.
10101
Explanation: The value for auth.user is blank.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: The auth table record will be deleted.
10102
Explanation: The value for auth.password is blank.
Possible Remedy: This error may be corrected through the Staff Interface using the "Permissions" page.
dbck Repair Action: The auth table record will be deleted.

Checking Table 'calltrack'

10200
Explanation: The value for calltrack.usernum does not exist as an entry in the user table.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: The calltrack table record will be deleted.
10201
Explanation: The value for calltrack.state is not a recognized value for a BillMax Calltrack State.
Possible Remedy: This error may be corrected through the Staff Interface using the "Calltrack" page. When viewing the Calltrack through the Staff Interface, the Calltrack will look as if it is in Open State.
dbck Repair Action: Value set to 1 - "Closed".

Checking Table 'note'

10300
Explanation: The value for note.fromtable is not a table in the BillMax database.
Possible Remedy: This error may be corrected only through a SQL UPDATE. Note that this error will also case dbck to cease processing when checking note.reference.
dbck Repair Action: The note table record will be deleted.
10301
Explanation: The value for note.reference is does not exist in the BillMax database table referenced by the note.fromtable
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: The note table record will be deleted.

Checking Table 'payhist'

10400
Explanation: The value for payhist.account does not exist as a value for account.number in the account table.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: The payhist table record will be deleted.
10401
Explanation: The value for payhist.type is not a recognized value for a BillMax payhist table record.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: The payhist table record will be deleted.
10402
Explanation: The value for payhist.summary is not either 0 or 1.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: Value will be set to 1 - summarized.
10403
Explanation: The value for payhist.taxregion does not exist as a value for salestax.number in the salestax table.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: Value set to the lowest value of salestax.number.
10404
Explanation: The payhist.type is "6" and at least one of payhist.ntaxable, payhist.taxable or payhist.tax is non-zero and payhist.voidtran is "0". BillMax records failed Electronic Funds Processing attempts using record with Payhist Type of "6" and payhist.voidtran of zero. All other Voids must have a non-zero payhist.voidtran.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10405
Explanation: The values for payhist.account for the transaction voided and the void of the transaction have different values.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10406
Explanation: The value for payhist.voidtran on a non-void transaction references the payhist.number of a record that is not a Void.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10407
Explanation: A Void references a transaction that may not be voided.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10408
Explanation: The non-zero payhist.voidtran of a Void does not reference payhist.number of a non-void or the non-zero payhist.voidtran of a non-void transaction does not reference the payhist.number of a Void. A "circular" reference is required.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10409
Explanation: The non-zero payhist.voidtran of an Allocation record does not reference payhist.number of complementary Allocation record. A "circular" reference is required for Allocation records when Voids cause the generation of Allocation records.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10410
Explanation: Either the financial amounts of the original transaction do not match the financial amounts of the Void, or the payhist.cleardate of the original transaction does not match the payhist.entdate of the Void.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10411
Explanation: The non-zero value for payhist.service does not exist as a value for service.number in the service table.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10412
Explanation: The non-zero value for payhist.servdef does not exist as a value for servdef.number in the servdef table.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10413
Explanation: Financial amounts for a Sale are incorrect.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.

A Sale represents a sale to a customer and a purchase by a customer. Sales may be classified as:

  1. One time. One time sales may be further classified as:

    1. Setup

    2. Usage

    3. Other - Sales entered through the Staff Interface (which may be classified as a Usage sale) and Sales with no startdate and enddate defined.

  2. Recurring - Sales that are generated by BillMax using closeofday.

Sales may or may not have a time component as specified in payhist.startdate and payhist.enddate. Recurring Sales always have a time component.

Required fields for a well formed Sale consists of the following:

  1. payhist.bankacct is 0.

  2. payhist.ucash is 0.

  3. payhist.ucredit is 0.

  4. payhist.cdeposit is 0.

  5. payhist.deposit is 0.

  6. payhist.ntaxable is less than or equal to 0.

  7. payhist.taxable is less than or equal to 0.

  8. payhist.tax is less than or equal to 0.

  9. payhist.ntaxable + payhist.taxable + payhist.tax must equal the negative of payhist.purchases.

  10. payhist.startdate is less than or equal to payhist.enddate.

  11. payhist.entdate should not be 0000-00-00.

  12. payhist.taxregion is a valid value of salestax.number.

  13. payhist.customerof is a valid value of config.number.

  14. payhist.account is a valid value of account.number.

10414
Explanation: Financial amounts for a Deposit Charge are incorrect.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.

A Deposit Charge is billed and collected for future consideration. It may be collected as a surety for equipment return or as a surety for payment against future services. It does not show up in the Apply. Please keep in mind the difference between a charge for a deposit, and a payment to satisfy that charge. In this discussion, a Deposit Charge refers to the charge for a deposit.

Example 2.1. Reasons to have a Deposit Charge

  1. For use when distributing equipment (e.g. cable modem) for a service and expecting that cable modem to be returned at the end of the service.

  2. For future service.


Some key features of Deposit Charges are:

Required fields for a well formed Refund consists of the following:

  1. payhist.bankacct is 0.

  2. payhist.ucash is 0.

  3. payhist.ucredit is 0;

  4. payhist.cdeposit is greater than 0.

  5. payhist.deposit is equal to negative payhist.cdeposit.

  6. payhist.ntaxable is 0.

  7. payhist.taxable is 0.

  8. payhist.entdate should not be 0000-00-00.

  9. payhist.tax is 0.

  10. payhist.customerof is a valid value of config.number.

  11. payhist.account is a valid value of account.number.

  12. payhist.depno is a valid value of payhist.number for a Deposit Charge.

10415
Explanation: Financial amounts for a Deposit Refund are incorrect.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.

A Deposit Refund signifies that the conditions that required a Deposit Charge no longer exist.

[Warning] Warning

A Deposit Refund may not be Voided. If a Deposit Refund needs to be reversed, this may be done by creating by a new Deposit Charge.

Required fields for a well formed Refund consists of the following:

  1. payhist.bankacct is 0.

  2. payhist.ucash is 0.

  3. payhist.ucredit is 0;

  4. payhist.cdeposit is less than 0.

  5. payhist.deposit is equal to negative payhist.cdeposit.

  6. payhist.ntaxable is 0.

  7. payhist.taxable is 0.

  8. payhist.tax is 0.

  9. payhist.entdate should not be 0000-00-00.

  10. payhist.customerof is a valid value of config.number.

  11. payhist.account is a valid value of account.number.

10416
Explanation: payhist.depno for a Deposit Refund are incorrect.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10417
Explanation: payhist.depno for a Deposit Charge are incorrect.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10418
Explanation: Financial amounts for a Payment are incorrect.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.

The receipt of legal tender from a Account in the form of cash, credit card charge, check …

Required fields for a well formed Payment consists of the following:

  1. payhist.bankacct is greater than 0.

  2. payhist.ucash is equal to negative payhist.bankacct.

  3. payhist.ucredit is 0;

  4. payhist.cdeposit is 0;

  5. payhist.deposit is 0;

  6. payhist.ntaxable is 0.

  7. payhist.taxable is 0.

  8. payhist.tax is 0.

  9. payhist.entdate should not be 0000-00-00.

  10. payhist.customerof is a valid value of config.number.

  11. payhist.account is a valid value of account.number.

10419
Explanation: Financial amounts for a Store Credit are incorrect.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.

Store Credit is credit that may be issued to a Account for use in paying the Account's outstanding balance.

Example 2.2. Reasons to issue Store Credits

  1. A Referral Credit.

  2. Credit for a service outage.

  3. Credit for unused service.


Some key features of Store Credits are:

Store Credits may be classified as:

  1. One time. One time Store Credits may be further classified as:

    1. Setup

    2. Usage

    3. Other - Store Credits entered through the Staff Interface (which may be classified as a Usage Store Credit) and Store Credits with no startdate and enddate defined.

  2. Recurring - Store Credits that are generated by BillMax using closeofday.

Store Credits may or may not have a time component as specified in payhist.startdate and payhist.enddate. Recurring Store Credits always have a time component.

Required fields for a well formed Store Credit consists of the following:

  1. payhist.bankacct is 0.

  2. payhist.ucash is 0.

  3. payhist.ucredit is 0.

  4. payhist.cdeposit is 0.

  5. payhist.deposit is 0.

  6. payhist.ntaxable is greater than or equal to 0.

  7. payhist.taxable is greater than or equal to 0.

  8. payhist.tax is less greater or equal to 0.

  9. payhist.ntaxable + payhist.taxable + payhist.tax must equal the negative of payhist.purchases.

  10. payhist.startdate is less than or equal to payhist.enddate.

  11. payhist.taxregion is a valid value of salestax.number.

  12. payhist.customerof is a valid value of config.number.

  13. payhist.account is a valid value of account.number.

10420
Explanation: Financial amounts for a Refund are incorrect.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.

The return of legal tender to a Account in the form of cash, credit card charge, check …

Required fields for a well formed Refund consists of the following:

  1. payhist.bankacct is less than 0.

  2. payhist.ucash is equal to negative payhist.bankacct.

  3. payhist.ucredit is 0;

  4. payhist.cdeposit is 0;

  5. payhist.deposit is 0;

  6. payhist.ntaxable is 0.

  7. payhist.taxable is 0.

  8. payhist.tax is 0.

  9. payhist.entdate should not be 0000-00-00.

  10. payhist.customerof is a valid value of config.number.

  11. payhist.account is a valid value of account.number.

  12. If payhist.depno is non-zero, it must be a valid value of payhist.number for a Deposit Refund.

[Warning] Warning

A Refund is the recording of a physical refund given to a customer. The entry in BillMax of a Refund does not trigger any type of refunding process.

10421, 10422, 10423, 10424, 10425, 10426, 10427, 10428, 10429, 10430, 10431, 10432, 10433, 10434, 10435, 10436, 10437, 10438, 10439, 10440
Explanation: A series of errors that may occur with Allocation records. These are grouped together as the recommended repair actions are similar for each error.
Possible Remedy: See below.
dbck Repair Action: None.

Allocation records may be corrected by one of the following methods:

  1. Using the Staff Interface. Using one of the Allocate pages (see "Using BillMax"), remove and then recreate the Allocation records. This technique may be used to fix individual Allocation records.

  2. Using create_applies to remove and re-create all the Allocation records for a Account.

  3. Using a SQL DELETE to delete incorrect Allocation records. This may cause additional errors to be reported requiring further repair actions.

10441
Explanation: A Sale, Deposit Charge has the payhist.cleardate set (indicating the Financial Transaction is totally Allocated) , but the Financial Transaction is neither Voided and no Allocation records exist for the Financial Transaction.
Possible Remedy: This error may be corrected only through a SQL UPDATE. Set payhist.cleardate of the incorrect record to "0000-00-00".
dbck Repair Action: None.
10442
Explanation: A Payment, or Deposit Charge has the payhist.cleardate set (indicating the Financial Transaction is totally Allocated) , but the Financial Transaction is neither Voided and no Allocation records exist for the Financial Transaction.
Possible Remedy: This error may be corrected only through a SQL UPDATE. Set payhist.cleardate of the incorrect record to "0000-00-00".
dbck Repair Action: None.
10443
Explanation: The monthlysale.taxable or monthlysale.taxable fields of records in the monthlysale table for a value of monthlysale.payhist do not add up to the payhist.taxable or payhist.ntaxable fields of a Sale or a Store Credit in payhist table.
Possible Remedy: Run create_monthlysales for the Account.
dbck Repair Action: None.
10444
Explanation: A Sale or a Store Credit in payhist table does not have any corresponding records in monthlysale table.
Possible Remedy: Run create_monthlysales for the Account.
dbck Repair Action: None.
10445
Explanation: The value for payhist.customerof does not exist as a value for config.number in the config table.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: Value set to the lowest value of config.number.

Checking Table 'resources'

10500
Explanation: A value for resources.number is greater than 31.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10501
Explanation: The value for resources.name is blank.
Possible Remedy: This error may be corrected through the Staff Interface using the "Resources" page.
dbck Repair Action: Sets the value to "resource_number" where number is the number of the resources table record that has a blank for resources.name.
10502
Explanation: The value for resources.descr is blank.
Possible Remedy: This error may be corrected through the Staff Interface using the "Resources" page.
dbck Repair Action: Sets the value to "resource_number" where number is the number of the resources table record that has a blank for resources.descr.

Checking Table 'salestax'

10600
Explanation: The value for salestax.descr is blank.
Possible Remedy: This error may be corrected through the Staff Interface using the "Sales Tax" page.
dbck Repair Action: Sets the value to "salestax_number" where number is the number of the salestax table record that has a blank for salestax.descr.
10601
Explanation: The value for salestax.rate1 is less than 0.00 or greater than 1.00.
Possible Remedy: This error may be corrected through the Staff Interface using the "Sales Tax" page.
dbck Repair Action: Sets the value to 0.00.

Checking Table 'servdef'

10700
Explanation: The value for servdef.state is not a recognized value for a BillMax Service Definition State.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page. When viewing the Service Definition through the Staff Interface, the Service Definition will look as if it is in Available State.
dbck Repair Action: Value set to Available State.
10701
Explanation: The value for servdef.refamt is less than 0.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page.
dbck Repair Action: Sets the value to 0.00.
10702
Explanation: The value for servdef.taxable is not either 0 or 1.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page. When viewing the Service Definition through the Staff Interface, the Service Definition will look as if is non-taxable.
dbck Repair Action: Value set to 1 - taxable.
10703
Explanation: The value for servdef.renewable is not either 0 or 1.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page. When viewing the Service Definition through the Staff Interface, the Service Definition will look as if is non-renewable.
dbck Repair Action: Value set to 1 - renewable.
10704
Explanation: The value for servdef.duration is 0.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page. When viewing the Service Definition through the Staff Interface, the Service Definition will look as if is the duration is the duration associated with the entry in durations list with the least value.
dbck Repair Action: Value set to 1 - 1 month.
10705
Explanation: The value for servdef.iduration is 0.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page. When viewing the Service Definition through the Staff Interface, the Service Definition will look as if is the initial duration is the duration associated with the entry in durations list with the least value.
dbck Repair Action: Value set to 1 - 1 month.
10706
Explanation: Validates that the bits set to 1 in servdef.resources are defined in the resources table.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page.
dbck Repair Action: Sets the bits to 0 that are not defined in the resources table.
10707
Explanation: The value for servdef.company does not exist as a value for config.number in the config table.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page.
dbck Repair Action: Sets the value to 0 - "ALL".
10708
Explanation: The value for servdef.tierplan does not exist as a value for tierplan.number in the tierplan table.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page.
dbck Repair Action: Sets the value to 0 - No tier plan.
10709
Explanation: The value for servdef.usageinvday is not between 1 and 31 inclusive.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page.
dbck Repair Action: Value set to 1.
10710
Explanation: The value for servdef.usageoptions is not valid.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page.
dbck Repair Action: Value set to 1 - Bill monthly on invday.
10711
Explanation: The value for servdef.usageduration is 0.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Definitions" page. When viewing the Service Definition through the Staff Interface, the Service Definition will look as if is the duration is the duration associated with the entry in durations list with the least value.
dbck Repair Action: Value set to 1 - 1 month.

Checking Table 'service'

10800
Explanation: The value for service.state is not a recognized value for a BillMax Service Definition State.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: Value set to Suspended State.
10801
Explanation: The value for service.servdef does not exist as a value for servdef.number in the servdef table.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10802
Explanation: At least one Service's State is not in the Closed State, but the associated Service Definition State is the Discontinued State.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: Value set to Open State.
10803
Explanation: The value for service.free is not either 0 or 1.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: Value set to 1 - free.
10804
Explanation: The value for service.wsetup is not either 0 or 1.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: Value set to 1 - setup waived.
10805
Explanation: The value for service.taxable is not either 0 or 1.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: Value set to 1 - taxable.
10806
Explanation: The value for service.refaccount does not exist as a value for account.number in the account table.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: Value is set to 0 - no referral Account.
10807
Explanation: The value for service.user does not exist as a value for user.number in the user table.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page using the "Move service to a different user" link.
dbck Repair Action: The service table record will be deleted.
10808
Explanation: The State for the Service is the Open State, but the User State is not Open State.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: The State of the Service will be set to the State of the User.
10809
Explanation: service.refdate is not "0000-00-00" but the service.refaccount is 0.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: service.refdate set to "0000-00-00"
10810
Explanation: The Service State is Open State, but the reason is not 0 - "Not Applicable".
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: Value set to 0 - "Not Applicable".
10811
Explanation: The Service State is NOT in the Open State and the reason is 0 - "Not Applicable".
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: Value set to 3 - "Administrative".
10812
Explanation: The service.invdate is in the past and the State of the Service is the Open State.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page. Either set the value for service.invdate or click the RENEW button.
dbck Repair Action: None.

This error is somewhat deprecated as of version 2.1. closeofday automatically invoices Services in the Open State.

10813
Explanation: The service.nextusagedate is the "0000-00-00.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: None.
10814
Explanation: The value for service.resources does not match the value for servdef.resources of the associated Service Definition.
Possible Remedy: This error may be corrected through the Staff Interface using the "Service Admin" page.
dbck Repair Action: None.

Checking Table 'servicechange'

10900
Explanation: The value for servicechange.service does not exist as a value for service.number in the service table.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10901
Explanation: The value for servicechange.servdef does not exist as a value for servdef.number in the servdef table.
Possible Remedy: This error may be corrected only through a SQL UPDATE.
dbck Repair Action: None.
10902
Explanation: The value for servicechange.changeon is in the past, but the Service Change is still flag as having not been completed.
Possible Remedy: This error may be corrected through the Staff Interface using the "Change Service" page.
dbck Repair Action: None.

Checking Table 'termservers'

11000
Explanation: The value for termservers.name is blank.
Possible Remedy: This error may be corrected through the Staff Interface using the "Terminal Servers" page.
dbck Repair Action: Sets the value to "termserver_number" where number is the number of the termservers table record that has a blank for termservers.name.
11001
Explanation: The value for termservers.descr is blank.
Possible Remedy: This error may be corrected through the Staff Interface using the "Terminal Servers" page.
dbck Repair Action: Sets the value to "termserver_number" where number is the number of the termservers table record that has a blank for termservers.descr.
11002
Explanation: Validates that the bits set to 1 in termservers.resources are defined in the termservers table.
Possible Remedy: This error may be corrected through the Staff Interface using the "Terminal Servers" page.
dbck Repair Action: Sets the bits to 0 that are not defined in the termservers table.
11003
Explanation: The value of termservers.ipnum is "0.0.0.0".
Possible Remedy: This error may be corrected through the Staff Interface using the "Terminal Servers" page.
dbck Repair Action: Value is set to blank.

Checking Table 'tierplan'

11100
Explanation: The value for tierplan.method is invalid.
Possible Remedy: This error may be corrected through the Staff Interface using the "Usage-Based Pricing Plan Setup" page.
dbck Repair Action: The value is set to 1 - Average.
11101
Explanation: The value for tierplan.direction is invalid.
Possible Remedy: This error may be corrected through the Staff Interface using the "Usage-Based Pricing Plan Setup" page.
dbck Repair Action: The value is set to 4 - "In + Out".
11102
Explanation: The value for tierplan.percentile is less than 0 or greater than 100 and tierplan.method is not 4 ("Sum").
Possible Remedy: This error may be corrected through the Staff Interface using the "Usage-Based Pricing Plan Setup" page.
dbck Repair Action: The value is set to 95.
11103
Explanation: The value for tierplan.datapurge is less than 0.
Possible Remedy: This error may be corrected through the Staff Interface using the "Usage-Based Pricing Plan Setup" page.
dbck Repair Action: The value is set to 0.
11104
Explanation: The value for tierplan.reportfreq is less than 0.
Possible Remedy: This error may be corrected through the