20.01.2015 Views

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.2.5. Coding<br />

6.2.6. Testing<br />

Once the planning stage of your custom application has been completed and you know<br />

what the end result should be, you will be ready to start the process of coding and<br />

debugging. If you are working within a team of developers you should now have a defined<br />

role within the team, and a specific portion of the application to work on.<br />

The e.<strong>net</strong> Diagnostics suite's Harness tool is incredibly useful for programmers. Sample<br />

XmlIn, XmlParameters (where needed) and XmlOut for each of the business objects are<br />

available through the interface, allowing you to see the options and uses of the business<br />

object that is being called within the code. The e.<strong>net</strong> Diagnostics suite's Harness tool also<br />

allows you to customize your XmlIn and process the business object in order to test the<br />

outcome.<br />

No programmer releases code without first testing it. For the purposes of building an e.<strong>net</strong><br />

solutions application and testing it we would highly recommend that you use a test or<br />

development server to run your new applications within a controlled environment. There<br />

are few things worse than crashing your enterprises SYSPRO system server because your<br />

code needed more debugging. Once your application is in a stable working state, then start<br />

testing it on the live SYSPRO system during times when the system is not critically<br />

needed (i.e. set up a night time or weekend test time). Always remember to backup!<br />

No matter how much testing you do, there will always be some bugs within an application.<br />

Good documentation of the programming task will aid your testing and debugging<br />

processes.<br />

6–16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!