Purchase Orders
Visual Mapping
Common Errors and FAQs
Numbering
Spectrum only allows 10 characters on commitment numbers, whereas Procore numbers are often longer.
Agave Sync can automatically take the last N characters of the Procore commitment number to minimize errors. For example, if your commitment is SC-AG2501-001
and the setting is set to 10
, the Spectrum commitment number will be AG2501-001
.
If the Sync Procore POs as Subcontracts setting is enabled, this number must be 9 or less. The first letter will be P
or S
to notate which Procore commitment type it came from.
Work with your Agave rep to enable this.
Error: Invalid GL Account for Job/Phase/Cost Type
If you receive the error Invalid GL account for job/phase/cost type, it is because we are unable to determine the Ledger Account for a Purchase Order Line Item when it is synced to Spectrum.
Since your Project Management system does not have a General Ledger and General Ledger Accounts are required for creating Subcontracts in Spectrum, Agave Sync will use one of the following General Ledger Accounts if available:
- The Cost Type's Default General Ledger Account in Spectrum (if available)
- A default Expense General Ledger Account value you provide your Agave Account Manager (e.g. "5100" for "Purchase Order Expenses"), or
- The Vendor's Default General Ledger Account in Spectrum (if available)
Setting a Cost Type's Default General Ledger Account
To set a Cost Type's Default General Ledger Account:
- From the Spectrum Sitemap, go to Job Cost-->Maintenance-->Cost Type:
- Select a Cost Type, then press Edit and enter a value for G/L Account Code:
Setting a Vendor's Default General Ledger Account
To set a Vendor's Default General Ledger Account:
- From the Spectrum Sitemap, go to Accounts Payable-->Maintenance-->Vendors:
- Select a Vendor, then press Defaults and enter a value for G/L Distribution:
What Info-Link Tables do I need?
The following Info-Link tables are required when syncing Purchase Orders from or to Spectrum:
- PO_PURCHASE_ORDER_HEADER_MC
- PO_PURCHASE_ORDER_DETAIL_MC
For details on enabling Info-Link tables for your user, see Steps 2.7 in our Spectrum authentication guide.
Error: Invalid GL Account for Job/Phase/Cost Type
If you receive the error Invalid GL Account for Job/Phase/Cost Type, it is because we are unable to determine the Ledger Account for a Purchase Order Line Item when it is synced to Spectrum.
Since your Project Management system does not have a General Ledger and General Ledger Accounts are required for creating Purchase Orders in Spectrum, Agave Sync will use one of the following General Ledger Accounts if available:
- The Cost Type's Default General Ledger Account in Spectrum (if available)
- A default Expense General Ledger Account value you provide your Agave Account Manager (e.g. "5150" for "Material Expenses"), or
- The Vendor's Default General Ledger Account in Spectrum (if available)
Setting a Vendor's Default General Ledger Account
To set a Vendor's Default General Ledger Account:
- From the Spectrum Sitemap, go to Accounts Payable-->Maintenance-->Vendors:
- Select a Vendor, then press Defaults and enter a value for G/L Distribution:
Setting a Cost Type's Default General Ledger Account
To set a Cost Type's Default General Ledger Account:
- From the Spectrum Sitemap, go to Job Cost-->Maintenance-->Cost Type:
- Select a Cost Type, then press Edit and enter a value for G/L Account Code:
Error: Value contains invalid character(s)?
This is most commonly due to a special character in the Vendor Code in Spectrum. Per Spectrum's documentation, special characters cannot be used in the Vendor and Customer Codes in their Web Services.
Although you can use these characters in the Vendor Code in Spectrum's interface, the Web Service will reject any Contracts, Changes, or Invoices for these vendors.
You can resolve this by changing the Vendor Code to not use the special character in Accounts Payable > Utilities > Change Vendor Codes:
Note that you will then need to do a one-time re-link of the Vendor in Agave.
Locked Tables
You may encounter an error like the following when attempting to sync a record (e.g. a Purchase Order):
This error is from another Viewpoint Spectrum User having a window with this record open, which causes the table for the record to be locked.
To unlock the table:
- From the Sitemap, go to System Administration-->Utilities-->View Locked Database Tables:
- Here you can see a list of locked tables. You can either email the Spectrum User that has locked the table, or alternatively press Remove Session:
- If you selected Remove Session, input the Session ID and press OK:
- A window will appear confirming you have removed the session. Returning to the View Locked Database Tables page will show no sessions.