37.3.3 Delete Old Purchase Orders

Usage: delpo deletedate

The Purchase Order menu has been changed so that the command to delete old purchase orders is incorrect. See your system administrator.

bopen####: error message

delpo0100: cannot open [header | detail] file for name

The system cannot open the file for the reason specified by the bopen error. The table below lists the files this process must open.

Table 37 - 5

File Name

poh purchase order header file

pod purchase order detail file

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

delpo0110: system error message

delpo0110: cannot set [header | detail] file field list for name

The field list cannot be set for the file for the reason specified by system error message. Refer to Table 37 - 5 above for the list of files used in this process.

delpo0120: system error message

delpo0120: cannot lock for insertions [header | detail] file for name

The file is being used by another user. Wait a little while and then try again. If this message is displayed again, see your system administrator. Refer to Table 37 - 5 for the list of files locked by this process.

delpo0200: date is an invalid deletion date.

The deletion date was not entered in a valid date format. Some valid date formats for January 1, 1987 are: 01/01/87, 010187, 01/01/1987, 01011987.

lgr###: error message

delpo0210: cannot find code po in ledger file

The system is unable to find ledger code po in the ledger file for the reason specified by the lgr error message. The po ledger code should be associated with the header and detail purchase order files, poh and pod. Check the ledger file for a record for these files. These are system files and should be entered through the menu choice Accounting System Files, on the Select, System Set Up menu.

File Code = po

Name = Purchase Order

Files Filename = poh

Detail Filename = pod

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

delpo0220: cannot delete purchase orders from an open period

The date that was entered is not in a closed period. Old purchase orders cannot be deleted from an open period. Use an earlier date and re-run the process.