GithubHelp home page GithubHelp logo

viridiant-ekotrope-salesforce's Introduction

Ekotrope-Salesforce

This package syncs Ekotrope Home Energy Computer Models with Southface's Salesforce Instance.

SERH - this class holds all of the functionality needed to complete the sync with Ekotrope. In addition, it is a batchable which batches sync functions and completes all API requests, DML, and SOQL queries when resources are available. This batchable does the following:

  1. Pulls in new files from Ekotrope. Each new file goes through our random file qa selection process. This process checks all files for basic errors. If it finds an error the file is pushed to an 'error pile.' All other files are randomly selected for File QA based on the HERS Rater's QA need. Each of these files is assigned a project status of Pending Review and an inspection record. The remainder of the files are given project status of In Progress.
  2. This class finds all of the projects that have had edits in Ekotrope and no longer match our Salesforce instance of the file. These are updated in our database.
  3. Finally, the class gathers all In Progress files and pushes them to the Building Registry. If at any point there is an error with Ekotrope or with RESNET, the file is set in the 'error pile.' This pile then has an inspection record assigned to it which collects the error information and passes it on to SERH.

The JSON2Apex classes are helper classes which parse the JSON response from Ekotrope.

Visual Force and Wrapper Classes is our user interface to interact with the SERH utility.

viridiant-ekotrope-salesforce's People

Contributors

moxypedrick avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.