You can implement the required @Logic annotations in either of two ways:
You can manually enter the logic classes from the information below.
Optionally, your logic files can utilize standard Object Oriented inheritance. Our base class is very simple:
The following class replaces the simple CustomerLogic specified earlier, and includes some commented out code we will use later:
This class specifies how the PurchaseOrder Amount is derived:
Note the chaining:
This class specifies how the LineItem amount is derived:
To complete the last step of the Tutorial, add this at the end of CustomerLogic:
You will probably wish to align the code (Ctl + A, Ctl + I), and you will need to uncomment the import statement.