Difference between revisions of "Developing codeunits"
Jump to navigation
Jump to search
old>Admin |
old>Admin |
||
Line 8: | Line 8: | ||
# Compile and build | # Compile and build | ||
# Deploy to webservser: [Application]\WEB-INF\lib | # Deploy to webservser: [Application]\WEB-INF\lib | ||
== Error handling == | |||
Exceptions are handled by themselves using the errorRegistration(Exception e) method. |
Revision as of 15:20, 18 September 2012
Steps for creating a new codeunit
- Create a new Java project in your favorite IDE
- Import the p2eShared.jar in the project
- Create a new class:
- The abstract parts are found in: dk.p2e.blanket.codeunit
- Implement all abstract methods
- Compile and build
- Deploy to webservser: [Application]\WEB-INF\lib
Error handling
Exceptions are handled by themselves using the errorRegistration(Exception e) method.