Purchase Orders
Agave Sync allows you to export ServiceTitan Purchase Orders to Foundation.
Visual Mapping
Video Tutorial
Common Errors and FAQs
Are there any pre-requisites to syncing Purchase Orders?
Yes:
- The Vendor for the Purchase Order must be synced
- If you are syncing Job Purchase Orders, a COst Code and Cost Type (see below)
Exporting Purchase Orders to Foundation
After exporting a Purchase Order, Subcontract, or Purchase Order/Subcontract Change Order, you can find them in Foundation by following these steps:
- From the Foundation homepage, go to PO/Subcontract --> PO/Sub and Change Order Sync:
- Select the Report tab. Alternatively, you can apply specific filters (e.g. to Jobs like the below screenshot) to make sure you return Subcontracts that meet your needs.
- In the Report tab, select the "Import" checkbox for the Subcontract, and then press the Import button:
- After importing, press the OK button to confirm there are no validation errors or issues.
You can also check the Item Detail tab to confirm that line items imported as expected:
- Press OK again. If there are no issues, you will see a confirmation that the Purchase Order or Subcontract has successfully imported into Foundation.
Purchase Order or Subcontract Line Item Ledger Account
Since most Project Management systems do not have a Ledger Account, Agave will default to the Ledger Account associated with the Cost Type (Cost Class). The default Ledger Account associated with the Cost Type can be found below:
We recommend assigning a Default General Ledger Account for each Cost Type. This will prevent the need to manually input the Ledger Account in Foundation for each Purchase Order, Subcontract, or Subcontractor Change Order you export to Foundation.
Job and Non-Job Purchase Orders in Foundation
Job Purchase Orders
If a ServiceTitan Purchase Order is associated with a Job, each Purchase Order Line Item will need to include a reference to a Cost Code and Cost Class in Foundation. There are two approaches to including this reference:
- You can share default Cost Code and Cost Type to use with your Agave Account Manager, or
- You can add custom fields for Cost Code and Cost Type (see below)
Non-Job Purchase Orders
If a ServiceTitan Purchase Order is NOT associated with a Job, then in Foundation:
- Agave Sync will not seta default Cost Code or Cost Class, and
- You will need to share a default General Ledger Account to use with your Agave Account Manager. Alternatively, you can also share a mapping of Business Units to Ledger Accounts with your Agave Account Manager to apply to each Line Item in the sync.
Why am I getting an error saying a record already exists even though I deleted it?
You may have deleted a record but still receive an error saying the record exists after re-syncing it (example below). Alternatively, You may need to modify and re-sync a Purchase Order, Subcontract, or Purchase Order/Subcontract Change Order record in the Project Management system after it has been exported to Foundation.
Depending on the status of the export, you have a two options:
If the record has not been imported in Foundation (i.e. it has a status of "Imported" or is in the PO/Sub and Change Order Sync view):
- From the main menu, select PO/Subcontract
- Select the PO/Sub and Change Order Sync view
- Press Report, then select the Delete checkbox. Then press Delete
If the record has been imported in Foundation (i.e. it does NOT have a status of "Imported" or is visible in either the Enter PO/Subs or Enter Change Orders views), you can either modify the record manually with details from your Project Management system, or:
- Delete the record from either the Enter PO/Subs or Enter Change Orders views. You can do this by pressing the trashcan icon in the toolbar.
- From the main menu, select Controls --> Purge Data.
- Scroll down to the P/S Purges section and select PO/Subs.
- In the Criteria tab, input the criteria for your report, then press the Report tab. Assuming the records match what you want to delete, either press "Ctrl + U" or Purge --> Purge Selected Records in the toolbar.
Error: The name field is required for Purchase Orders.
Foundation requires a date field when creating Purchase Orders.
To resolve this error:
-
Go to the Purchase Order in your PM System.
-
Add a value to the "Title" or "Name" field.
Can I customize the Purchase Order number I sync to my accounting system?
Yes. By default, Agave Sync will either use the next available Purchase Order number or the auto-generated ServiceTitan number when syncing Purchase Orders to your accounting system. However, you may want to use a custom value you set in ServiceTitan.
If you would like to use a custom value in ServiceTitan, you can add a custom field. To add a custom field to ServiceTitan Purchase Orders:
- Go to the ServiceTitan Settings page and press Custom Fields:
- On the Custom Fields page, press Add:
- Enter the Custom Field name (e.g. "ERP ID") and select Purchase Order Record under "Where It Appears":
- Scroll to the bottom of the page. Under Type, select "Text". Then press Save:
- The Custom Field will appear as editable on Purchase Order records. Note, it usually takes a few minutes for the Custom Field to become available:
How do I set the Cost Code and Cost Type when syncing Job Purchase Orders to my accounting system?
If you are syncing ServiceTitan Job Purchase Orders, your Accounting System might require a Cost Code (aka Phase Code) and Cost Type (aka Cost Class).
There are two approaches to specifying the Cost Code and Cost Type:
- You can ask your Agave Account Manager to apply a default, or
- Add a Custom Field.
Note, in both cases, the Cost Code ID and Cost Type ID will be applied to all Purchase Order Line Items synced to your accounting system.
Adding a Custom Field for Cost Code and Cost Type
- Go to the ServiceTitan Settings page and press Custom Fields:
- On the Custom Fields page, press Add:
- Enter the Custom Field name (e.g. "Cost Code ID") and select Purchase Order Record under "Where It Appears":
- Scroll to the bottom of the page. Under Type, select "Dropdown". Enter the possible values for the Custom Field, and then press Save:
- The Custom Field will appear as editable on Purchase Order records. Note, it usually takes a few minutes for the Custom Field to become available: