Use this application to import Accounts Payable vouchers that are linked to Costpoint purchase orders. Although the primary function of this application is to create vouchers that can be posted to the General Ledger, you can also use it to perform PO and Receipt matching to verify that the amounts invoiced are being paid. The program reads and validates the specified input file, looks up purchasing information from the PO referenced by the invoice, performs 2- and 3-way matching, and generates voucher rows for posting. The application places invoices that contain fatal errors into a suspense file and generates an error report that lists all fatal and matching discrepancy errors.
Only new, positive PO vouchers are accepted (no debit memos). This preprocessor does not process changes or deletions to existing PO vouchers.
To view and edit the transactions loaded by the preprocessor, you can use the Enter PO Vouchers screen in Costpoint Accounts Payable. You can also review them using the Print Voucher Edit Report screen.
If the voucher line quantity and/or amount is negative and the original PO line status is S (System Closed) and the Matching Type is 2-way, check to see whether the new PO_LN. VCHRD_AMT or VCHRD_QTY is now less than the PO_LN. PO_LN_TOT_AMT ORD_QTY.
If the voucher line quantity and/or amount is negative, and the original PO line status is S (System Closed), and the Matching Type is 2-way, compare the new PO_LN total vouchered quantity to the order quantity (or vouchered and order amounts if order qty = 0). If the PO_LN_TOT_AMT is greater than 0 and the newly calculated vouchered quantity/amount is less than the order quantity/amount, set the line status (PO_LN. S_LN_STATUS_TYPE) to O (Open). You should also set the PO_HDR. S_PO_STATUS_TYPE to O (Open).
If you selected the Separate Items by Company check box in the Product Definition Corporate Settings subtask of the Product Definition Settings screen, the program filters field validations by the user's company ID. The company ID of the user executing the process triggers the validation of all company tables. When a new PO voucher record is saved in Costpoint, it is automatically assigned the user's company ID and search parameters. All company-related tables and lookup-related valid values (or search parameters in Find or Query) are validated using the user's company ID. Uploads can be processed for only one company at a time (the user's company).
Account Entry Rules (ACCT_ENTRY_RULES)
Account Group Setup (ACCT_GRP_SETUP)
Billing Labor Category (BILL_LAB_CAT)
Default Accounts Payable Accounts (DFLT_AP_ACCTS)
Default Cash Accounts (DFLT_CASH_ACCTS)
Employee (EMPL)
General Labor Category (GLC) (GENL_LAB_CAT)
Inventory Abbreviation Code (INVT_ABBRV_CD)
Line Charge Type (LN_CHG_TYPE)
Organization (ORG)
Purchase Order Header (PO_HDR)
Project (PROJ)
Project Billing Info (PROJ_BILL_INFO)
Receiving Settings (RECV_SETTINGS)
Reference Structure (REF_STRUC)
Reason Code (RSN_CD)
SUB_PD_JNL_STATUS
Sales Tax (SALES_TAX)
Voucher Approval User (VCHR_APPRVR_USER)
Voucher Header (VCHR_HDR)
Voucher Settings (VCHR_SETTINGS)
Vendor (VEND)
Vendor Address (VEND_ADDR)
Vendor Employee (VEND_EMPL)
Vendor Settings (VEND_SETTINGS)
Warehouse (WHSE)
When you use multicurrency data, all amount fields in the input file are listed in the transactional currency (which may or may not be the same as the functional currency). When processing, the system calculates the corresponding value in terms of the functional currency using exchange rate information from the associated Purchase Order (such as Transaction Currency, Rate Group, and Rate Date), and the system calculates subsequent, corresponding amounts for the related functional currency fields in accordance with the exchange rate information in other tables. Data is stored in both currencies in Costpoint.
If exchange rate information does not exist, the system assumes that the transactional and functional currencies are the same (1:1). All currency-related columns are still populated with default values, the system exchange rate is 1, and amount columns therefore have the same values for transactional and functional currencies.
For Great Britain only: The application updates columns requiring CIS data, including Voucher Header CIS Code (VCHR_HDR. CIS_CD), Voucher Line CIS Withholding Flag (VCHR_LN. CIS_WH_FL), and Voucher Line CIS Reporting Flag (VCHR_LN. CIS_RPT_FL). If the voucher header has a CIS code, the system performs a validation to ensure that the transaction and pay currency codes are both in Great British Pounds (GBP).
The following custom files and stored procedures files must be accessible to run the PO Voucher Preprocessor.
PATCH 994 (5.0 only) |
|
CSTPOINT.EXE |
Costpoint executable |
AOPPOVCH.EXE |
Purchase Order Vouchers preprocessor application executable |
AOPPOVCH.QRP |
Purchase Order Vouchers preprocessor report file |
AOPPOVCH.MSS |
Microsoft SQLServer stored procedures for the Purchase Order Vouchers preprocessor |
AOPPOVCH.ORA |
Oracle stored procedures for the Purchase Order Vouchers preprocessor |
After you have copied the new files and executed the script file (see installation instructions), perform the following setup actions before running the application for the first time.
Establish default values in the PO Voucher Settings screen in Costpoint Accounts Payable.
Make sure that the patches have been applied to the database.
Make sure the AOPPOVCH.ORA (Oracle) or AOPPOVCH.MSS (Microsoft SQLServer) stored procedures are applied to the database.
The input file is a fixed-length file that you create using a string of alphanumeric text. Enter the path and name of a fixed-length file, or use the Select button to pull up a Windows Open File dialog box. This application supports three input file types, as outlined below:
PO Voucher Header (Record Type H) - This file contains the information necessary to populate the Voucher Header (VCHR_HDR) table.
PO Voucher Line (Record Type L) - This file contains the information necessary to populate the Voucher Lines (VCHR_LN) table and its child table, Voucher Line Account (VCHR_LN_ACCT).
PO Voucher Vendor Labor (Record Type V) - This file contains the information necessary to populate the Voucher Vendor Labor (VCHR_LAB_VEND) table. This input file type is optional.
You can process input files simultaneously. The system deletes the input file after processing.
Each PO Voucher Header input file record must have at least one PO Voucher Line input file record, and a PO Voucher Line input file record must have a corresponding PO Voucher Header input file record. Similarly, each PO Voucher Vendor Labor input file record requires a matching PO Voucher Line input file record. PO Voucher Line records must physically follow their corresponding PO Voucher Header input file record, with no other records for another invoice in between. Invoice IDs determine which line records belong to which header record.
You must fill every position with either an appropriate character or a space. It is not necessary to zero-fill numbers; you can use spaces to maintain the proper format. Numeric fields should be right justified; character fields should be left justified. It is not necessary to fill the entire line with spaces. If an optional column in an input file is not populated, you must include the maximum number of spaces for that column before entering data for the next column. Every row should end with a carriage return and a line feed.
Seq. No. |
Column Name |
Costpoint Table/Column |
Type |
Length |
Starting Position |
Ending Position |
Required or Optional |
1 |
Record Type |
N/A |
Character (enter "H" for Header) |
1 |
1 |
1 |
Required |
2 |
Invoice Number |
VCHR_HDR and VCHR_LN.INVC_ID |
Alphanumeric |
15 |
2 |
16 |
Required |
3 |
Invoice Date |
VCHR_HDR.INVC_DT |
Date (YYYY-MM-DD) |
10 |
17 |
26 |
Required |
4 |
Invoice Amount |
VCHR_HDR.TRN_INVC_AMT |
Decimal (14,2) |
16 |
27 |
42 |
Required |
5 |
PO Number |
VCHR_HDR and VCHR_LN.PO_ID |
Alphanumeric |
10 |
43 |
52 |
Required |
6 |
PO Release |
VCHR_HDR and VCHR_LN.PO_RLSE_NO |
Numeric |
3 |
53 |
55 |
Required |
7 |
Voucher Number |
VCHR_HDR and VCHR_LN.VCHR_NO |
Numeric |
10 |
56 |
65 |
Optional |
8 |
Fiscal Year |
VCHR_HDR.FY_CD |
Alphanumeric |
6 |
66 |
71 |
Optional |
9 |
Period |
VCHR_HDR.PD_NO |
Numeric |
2 |
72 |
73 |
Optional |
10 |
Sub Period |
VCHR_HDR.SUB_PD_NO |
Numeric |
2 |
74 |
75 |
Optional |
11 |
Header Notes |
VCHR_HDR.NOTES |
Alphanumeric |
254 |
76 |
329 |
Optional |
12 |
Retainage Percentage |
VCHR_HDR.RTN_RT |
Decimal (5,4) |
5 |
330 |
334 |
Optional |
Seq. No. |
Column Name |
Costpoint Table/Column |
Type |
Length |
Starting Position |
Ending Position |
Required or Optional |
1 |
Record Type |
N/A |
Character (enter "L" for Line) |
1 |
1 |
1 |
Required |
2 |
Invoice Number |
Used to link to header |
Alphanumeric |
15 |
2 |
16 |
Required |
3 |
Invoice Line Number |
VCHR_LN.VCHR_LN_NO |
Numeric |
4 |
17 |
20 |
Required |
4 |
PO Line Number |
VCHR_LN.PO_LN_NO (to link to PO_LN) |
Numeric |
4 |
21 |
24 |
Optional |
5 |
Line Charge Code |
VCHR_LN.MISC_LN_CHG_TYPE |
Alphanumeric |
6 |
25 |
30 |
Optional |
6 |
Invoice Quantity |
VCHR_LN.QTY |
Decimal (14,4) |
14 |
31 |
44 |
Optional |
7 |
Unit Cost |
VCHR_LN.TRN_UNIT_CST_AMT |
Decimal (14,4) |
16 |
45 |
60 |
Optional |
8 |
Extended Cost |
VCHR_LN.TRN_EXT_CST_AMT |
Decimal (14,2) |
16 |
61 |
76 |
Optional |
9 |
Line Notes |
VCHR_LN.NOTES |
Alphanumeric |
254 |
77 |
330 |
Optional |
10 |
Account |
VCHR_LN_ACCT.ACCT_ID |
Alphanumeric |
15 |
331 |
345 |
Optional |
11 |
Organization |
VCHR_LN_ACCT.ORG_ID |
Alphanumeric |
20 |
346 |
365 |
Optional |
12 |
Project |
VCHR_LN_ACCT.PROJ_ID |
Alphanumeric |
30 |
366 |
395 |
Optional |
Seq. No. |
Column Name |
Costpoint Table/Column |
Type |
Length |
Starting Position |
Ending Position |
Required or Optional |
1 |
Record Type (Enter V for Vendor Labor) |
N/A |
Character (enter V for Line) |
1 |
1 |
1 |
Required |
2 |
Invoice Number |
Used to link to line |
Alphanumeric |
15 |
2 |
16 |
Required |
3 |
Invoice Line Number |
Used to link to line |
Numeric |
4 |
17 |
20 |
Required |
4 |
Vendor Labor Subline Number |
VCHR_LAB_VEND.SUB_LN_NO |
Numeric |
4 |
21 |
24 |
Required |
5 |
Vendor Empl ID |
VCHR_LAB_VEND.VEND_EMPL_ID |
Alphanumeric |
12 |
25 |
36 |
Optional |
6 |
General Labor Category |
VCHR_LAB_VEND.GENL_LAB_CAT_CD |
Alphanumeric |
6 |
37 |
42 |
Required |
7 |
Project Labor Category |
VCHR_LAB_VEND.BILL_LAB_CAT_CD |
Alphanumeric |
6 |
43 |
48 |
Optional |
8 |
Vendor Hours |
VCHR_LAB_VEND.VEND_HRS |
Decimal (14,2) |
16 |
49 |
64 |
Required |
9 |
Vendor Amount |
VCHR_LAB_VEND.VEND_AMT |
Decimal (14,2) |
16 |
65 |
80 |
Required |
Click this button to open the Windows Open File dialog box, where you can view a list of files.
Select this check box to print error messages for vouchers. See Error Messages for additional details on this check box.
From the drop-down list, select an option to determine the default organization for records in the input file that do not already specify an organization, but do specify accounts. This option is disabled if Allow Charge Code Change is unchecked (in PO Voucher Settings):
PO Line Organization – Uses the organization from the referenced PO line's first PO line account row. If a PO line is not referenced, the information is taken from the first PO line.
Project Owning Organization – Uses the input file project to determine the organization. If there is no project in the input file, the organization associated with the first PO line account row for the referenced PO line is used.
Click this button to access the Payment Info subtask, where you can enter pay vendor and check information.
The application updates the following tables:
VCHR_HDR |
VCHR_SETTINGS |
VCHR_LN |
PO_LN |
VCHR_LN_ACCT |
PO_HDR |
VCHR_LAB_VEND |
|
This application uses the following worktables for processing:
Z_AOPPOVCH_ERROR |
Z_AOPPOVCH_INPUT |
Z_VCHR_HDR_INPUT |
Z_VCHR_LN_INPUT |
Z_VCHR_LN |
Z_VCHR_LN_ACCT |
Z_AOPPOVCH_LASTRUN |
Z_VCHR_HDR |