26.3.3 Delete Old Inventory Balances

Usage: delbal balfile year

The Inventory Control menu has been changed so the command to delete old inventory balances is incorrect. See your system administrator.

bopen####: error message

delbal0110: cannot open [master | system] file for file name

The bopen message describes why the master or system file for file name cannot be opened. This process opens the following files:

Table 26 - 3

Ledger Code File Name

lg ledger system ledger file

ib inbal inventory product balances

Refer to the General Error Messages section for more information on bopen.

delbal0120: system error message

delbal0120: cannot set [master | system] file field list for file name

The system error message describes why the field list cannot be set. Refer to Table 26 - 3 for the files opened by this process.

delbal0130: system error message

delbal0130: cannot lock [master | system] file for file name

The system error message describes why the file cannot be locked. Refer to Table 26 - 3 above for the files used by this process.

delbal0300: no system file defined for ib

There is no file associated with the ledger code ib in the ledger file. Enter the inventory balances file, inbal for the ledger code ib through the menu selection Accounting System Files on the Select, System Set Up menu.

delbal0310: ib is not a system file

The inventory balances file has been entered in the ledger file as either a journal or a ledger file. This is incorrect. Delete this incorrect entry, and re-enter the ledger code, ib and the file inbal through the menu selection Accounting System Files on the Select, System Set Up menu.

delbal0320: year is not a valid accounting year

The year entered at the beginning of this process must be greater than zero.

delbal0410: no journal file defined for gj

The general journal file has not been entered into the ledger file. Enter the following through the menu selection Accounting System Journals on the Select, System Set Up menu.

Table 26 - 4

Ledger Code Master Detail Name

gj genjrnlm genjrnld General Journal

delbal0420: cannot get closing dates for year year

Enter closing dates for year year through menu selection Closing Dates for Accounting Periods on the Select, System Set Up menu, and re-run the process.

delbal0430: period 1 of year year is not closed

Since the closing processes use the balances from the previous period to calculate current balances, you may not delete the inventory balances for a year until the first period for the succeeding year is closed.

debal0440: system error message

debal0440: ledger file in use

Some one else is using the ledger file so the process is unable to access it. Wait a little while, and then try running the process again.