Agvance and Energy Force Automated Tank Import to Agvance

Setup Steps

  1.  Two system settings will need updated at Supervisor Menu / Set Up Options / Agvance Setup Menu / Agvance Preferences. The API Settings, also found in the Agvance Setup Menu, will need filled in as well.
    1. ImportCustFromAgv – Set to Y in order to use this new method.
    2. AgvCustClass – Needs to have the Energy Force customer classification from Agvance set into the Actual Value field. If a classification is not entered then all customers from Agvance will be imported, if classifications are not used this can be left blank. In the example above the classification is EF Customers.
    3. Update the Energy Force user role of Allow_AgvApiSetup to Allow_AgvSetup. This role determines if the Agvance Setup Menu button is enabled. 
  2. The AgvanceSqlDatabase value has to exists in the Secured Values. Contact Support for assistance with Secured Values.

The tank sync process can be run three different ways:

  1.  From Main Menu / Posting Menu / Daily Clear, select Daily Tank Export.  This button runs the export or sync (based on the SyncTanksToAgv System Setting) with or without alternate ID’s (based on the SyncTanksToAgvAltID System Setting), so the daily tank export with Alt IDs button has been removed.
  2. The second process is running the Master Daily Clear at Main Menu / Posting Menu / Daily Clear.  When sending sales from Energy Force to Agvance, Tanks need to be updated to avoid errors and to ensure they are up to date at the time of the Master Daily Clear and the tank import will run automatically.
  3. The automatic tank import can also be set up in the background tasks located at Supervisor Menu / Maintenance Menu / Automated Tasks Menu / Background Tasks.
    1. Select Create.
    2. Select TankSync from the Type drop-down.
    3. Enter the Interval (Minutes) for how often the update should run.
    4. Checkmark the task as Active and select Save.
    5. All of the date fields as well as the User Id field will fill in automatically.

Errors/Warnings

If an error or warning occurs when running the tank sync export process an error message will be displayed.  All tanks without errors will still update.

All tanks that are synced will be written to a csv file in the Logs folder. The folder can be found at CTLS93 / DD85 / Logs. There will be a new file for each day.

The file contains the following fields:

  • Date and time stamp of when the sync was processed. This will be in a row by itself with all of the tanks synced at that time listed below.  If there are no tanks listed that means there were no new or modified tanks to sync at the time it was processed.
  • Status – This will display Success or Error.
  • CustID – This is the Agvance Customer ID.
  • Size – Tank Size
  • Last Delivery Gauge
  • Serial Number
  • Inactive – This is a True or False field.
  • EF Location – This is the location on the customers tank information.
  • Agv Location – This is the location from the Setup / Energy Force cross reference table corresponding to the Energy Force location.
  • Description – Tank Name/Tank Description
  • Route
  • Tank Address
  • Tank City
  • Tank State
  • Tank Zipcode
  • Tank Latitude
  • Tank Longitude
  • EF Product ID – The default product on the tank in Energy Force.
  • Ag Dept ID – This is the Dept ID from the Setup / Energy Force cross reference table corresponding to the Energy Force Dept Code.
  • Tank Guid – Unique tank identifier.  This is the field used to identify which tank to update or create.
  • Errors
  • Warning