PO RECEIPTS PREPROCESSOR

The PO Receipts Preprocessor is an add-on product in the Others » Product Interfaces menu. Use it to upload purchase order receipts from fixed-length ASCII files or comma-separated files. You can specify the network location and name of the input file, and the application will perform all necessary database and business rule validation. If the input file record is valid, the application modifies the proper database table(s). If the input file record is invalid, the application creates an error record and save it to an error file with the extension .ERR. The error file format exactly matches the input file format, so you can modify the error file and resubmit it. 

You can review the transactions loaded through this preprocessor in the Receive Purchase Order screen in Costpoint Receiving.

This preprocessor application is a separately licensed product for Deltek Costpoint.  It is available only for an Oracle or a SQLServer database.  You must obtain a license from Deltek in order to use this application.  Please contact your account manager or Deltek Support for more information.

Validation

All validation of company tables is triggered by the company ID of the user executing the process.  When looking up valid values, the system validates all company-related tables using the user's company ID. When you save a new receipt, it is automatically assigned the user's company ID. If you use "Find" or "Query", the process will filter on parameters by company. All new parameter rows are saved with the user's company ID.

If you select the Separate Items By Company checkbox in the Product Definition Corporate Settings subtask of the Product Definition Corporate Settings screen, Costpoint assigns your company ID to your newly processed table information (PO Header, Receipt Header, Employee, Warehouse, and Warehouse Location) and to the saved parameters used by this preprocessor.

Users logged into other companies cannot change or delete these items or parameters. For example, if you select the Separate Items by Company checkbox, you can have two Receipt Header records in the database with the same PO_ID, as long as a different Company ID exists for each Receipt Header record. If you are changing or deleting a record or its related data, the user's company ID must match the company ID for the record.

If you do not select the Separate Items by Company checkbox, all table information in the database will be available to users in all companies.

Files Necessary to Run PO Receipts Preprocessor

The following custom files must be accessible to run the PO Receipts Preprocessor:

CSTPOINT.EXE

Costpoint executable

CPPMGRSV.EXE

Costpoint Process Server executable

AOPRCPRE.EXE

PO Receipts Preprocessor application executable

AOPRCPRE.MSS

You must apply SQLServer stored procedures before you can execute the PO Receipts Preprocessor.

AOPRCPRE.ORA

You must apply Oracle stored procedures before you can execute the PO Receipts preprocessor.

AOPRCPRE.QRP

Report Template

See the "Setup Procedures" before using this program for the first time. You should run the Purchase Order preprocessor before running the Purchase Order Receipts preprocessor.

Setup Procedures

Once you have copied the new files and executed the script file, perform the following setup actions before running the application for the first time.

This preprocessor supports neither the receipt of inventory purchase order lines nor the receipt of Fixed Asset transactions. This preprocessor neither updates inventory balances nor creates inventory transactions.

  1. Establish control parameters and default information in the Receiving Settings screen in Costpoint Receiving.

  2. Run the Purchase Order Upload program.

  3. Check the input file suffix to verify it is .CSV for files with fields separated by commas or .DAT for fixed-length files.

  4. Set up the following items within the Costpoint database:

  5. Purchase Orders (in Costpoint Purchasing).

  6. Valid units of measure

  7. Material Handlers (in the Basic Employee Info screen in the Costpoint Employee).

  8. Valid items and part numbers.

  9. Vendor Rejection Reason Codes, in the Receiving » Vendor Rejection Reasons screen.

  1. If the Record Type field in the Input File is "RL," the values in the Receipt Line (RECPT_LN) table will be replaced with new values when they are updated, along with corresponding PO Line (PO_LN) updates.  RL record type can also be used to add additional receipt lines (that didn’t previously exist) to an existing receipt transactionIf the Record Type field is "RA," new RECPT_LN rows are created and PO_LN updated.  "RA” can be used to update the quantity/amt that has been received, but only via a new Receipt ID. RL record type can also be used to add a new receipt if the Receipt ID did not previously exist, or to add receipt lines that didn’t previously exist, to an existing receipt transaction.  

  2. If an error exists with any receipt record, none of the rows associated with that PO Receipt will be processed.

  3. If multiple records (that is, with different receipt IDs) exist in the same input file for the same PO/PO Release/PO line, they are processed in the order in which they occur in the input file, and the resulting cumulative quantity is used to determine the point at which over-receipt occurs.

Input File

Select

Click this button and select the appropriate ASCII fixed-length text file or comma-separated file to upload. An ASCII fixed-length text file must have the extension ".DAT" (for example, "filename.DAT") for a fixed-legnth file. An ASCII comma-separated file, that is, with fields that are separated by commas, must have the extension ".CSV" (for example, "filename.CSV").  An error output file has the same name as the input file, but with an extension of ".ERR" (for example, "filename.ERR").

See the topics Input Files and Output Tables for details on input file fields and error output files. 

International users:  The data can contain non-English characters, provided they are in the ASCII character set. Before creating an ASCII text (.TXT) file, be sure that your keyboard language is set to "EN" (United States English) to prevent the application from generating errors.

Deltek recommends the use of .TXT and .CSV file-naming conventions.

Print Setup

On the menu toolbar, select File » Print Setup to set print options.

Load

Select Process » Print Process to initiate the file upload process. Costpoint validates the records, stores the usable records in a temporary input table, and writes any records having errors to an output file.  The error report is sent to the printer.

Process

Select Process » Process or click the Process option on the toolbar. This updates the Costpoint database. See the table index  for detailed processing information.

Print

To reprint the report, either click the printer icon, or select File » Print, from the menu toolbar.

Print Preview

To preview the report on your screen, select File » Print Preview from the menu toolbar.

Performance Analysis

This group box displays counts for the file being processed.

Load and Print

This group box displays the loading and printing statistics automatically generated by the system.

Start Load

This field displays the date and time when critical worktables started loading.

End Load/Start Validation

This field displays the date and time of completion of the load worktables stage and the start of the table validation process.

End Validation/Start Print

This field displays the date and time when the validation process completed and the error print process began.

End Print

This field displays the date and time when the error print process completed.

Total Rec Load

This field displays the total number of Input File records that were loaded into the worktable.

Total Error

This field displays the total number of errors reported in the Error Report.

Update production tables

This group box displays the processing times for moving valid records to the production tables.

Start Process

This automatically generated field displays the start of the production table insertion and update process.

End Process

This automatically generated field displays the end of the production table insertion and update process.

Select this button on the toolbar to update the Costpoint database with the purchase order receipts. Refer to the topics Input Files and Output Tables for detailed processing information.

Processing Details

This application uses the following worktables for processing.

Z_AOPRCPRE_INPUT

Z_AOPRCPRE_HDR

Z_AOPRCPRE_LN

Z_AOPRCPRE_RPT

Z_AOPRCPRE_ERR

Processing Notes  

If the PO_LN. RECVD_QTY (or TRN_RECVD_AMT if order qty is zero) – REJ_REP_QTY (or TRN_REJ_REP_AMT if order qty is zero) is greater or equal to ORD_QTY (or TRN_PO_LN_EXT_AMT) then the line status should be set to System Closed if previously Open.  Load the current date/time in the PO_LN_CLOSE_DT column.  

If the RECVD_QTY (or TRN_RECVD_AMT if order qty is zero) - REJ_REP_QTY (or TRN_REJ_REP_AMT if order qty is zero) is less than ORD_QTY (or TRN_PO_LN_EXT_AMT) then the line status should be set to Open if previously System Closed.  PO_LN_CLOSE_DT should be changed to null.

For the above cases, if modifications make all the PO lines have a status of System Closed or Void, then change the PO header status to System Closed, if previously Open.  If there is at least one PO line that is Closed, and all the rest are System Closed or Void, then change the PO header status to Closed.  If at least one line is Open, set the header status to Open.

Receipt uploads should not have any effect on PO line status, since the comparison is between PO line order qty/amt and vouchered qty/amt only.

INPUT FILES

OUTPUT TABLES

ERROR AND WARNING MESSAGES