INTERNET APPLICATION DEVELOPMENT
MID MARKET ERP DEVELOPMENT
This is the full source code for the index.html. The first screen shots are the JavaScript files (cordova.js, jquery.js, jquery.mobile-1.3.2.js, API_Session.js) and CSS files (jquery.mobile-1.3.2.css, jquery-mobile.theme-1.3.2.css and jQuery-mobile.structure-1.3.2.css).
As you can see, a function takes the Intacct session ID and re-directs it to another page (main.html). When the link re-directs to the new page, the program only replaces some of the content in the index.html (between <body> and </body>). Therefore, make note of this while writing the second page. If you want JavaScript to run, place the code between <div data-role=”page”> and </div>.
2. Upon clicking the Login button, here is how you get the main page to appear:
As you can see, my code is between the div tag (not between the header tag).
As you can see, the page loads 20 records at a time (so the user does not wait a long time).
You can search for a customer by using a different filter on this page (click the button at the top-right of the screen).
4. Once you find your customer, and click their name, use this code to create a new page giving you more information about them.
This additional functionality allows you to call the contact directly from the app. In addition, you can easily add email and map functionality, by accessing the full address, which takes you to Google Maps to get your directions.