Customization of Enterprise Financials Exercises
Customization of Enterprise Financials Exercises
Enterprise Financials
Exercises
Introduction
This document contains the exercises used in the “Customizing Enterprise Financials” pre-
certification training for QAD2010 EE.
Preparation
Environment Setup
Verify the training environment is set up correctly
Locate the <QADAPPSINSTALL>/fin/customizations folder.
Create the following subfolders in <CUST> folder:
/dr01/training/customization_component_based (or
z:\training\customization_component_based in Windows):
customcode
work
Check the propath of the Financials appserver
in /dr01/progress/dlc101c/properties/ubroker.properties.
Exercises
These exercises cover most of the possible customizations. They are inspired by the input from
customers and internal consultants. The cases can be used as a starting point for actual
customizations at customer sites.
2 CUSTOMIZATION OF COMPONENT-BASED QAD APPLICATIONS
1. UI design
Make some adjustments to the Customer Invoice create window for easier data entry
Remove the flags
Taxable
Tax Excluded
Open
on the ‘General’ tab page
Move controls
Credit Terms Code
Due Date
Discount Due Date
from the ‘Financial Info’ tab page to the ‘General’ tab page.
Hints
Disabled tab pages cannot be customized. Enter some data on the customer invoice until the
‘Financial Info’ tab page becomes enabled. Only then open UI design mode.
Controls cannot be moved to another tab page using drag and drop. Remove the control from
the tab page and add it to the other tab page.
Make sure your customizations are saved only for Create mode.
Hints
Use terminology-mapping table or the Properties option in the application menu to reveal the
name of the business component.
CUSTOMIZATION OF COMPONENT-BASED QAD APPLICATIONS: EXERCISES 3
Hints
You have to copy the customization template for BDebtor to the right location.
Hints
Keep in mind that business code must be able to update more than one business object
(customer) in a single transaction. So you could have to initialize more than one category.
Hints
Use UI design mode to reveal the name of the business field.
Use the pattern documentation to find the right place for the validation.
Make sure the validation message is shown in the error viewer.
Hints
Use DInvoice.CustomCombo1.
Do not replicate if category was not changed !
CUSTOMIZATION OF COMPONENT-BASED QAD APPLICATIONS: EXERCISES 5
Hints
It concerns the format of a business field.
It should be a system-wide change.
It should be valid for all activities where the business relation code can be entered.
Hints
Reference for looking up business fields of the Business Relation browse is
BBusinessRelation.SelectBusinessRelation
tcLayerCode, which physical field is this representing (table and field)? What is the
condition on the Currency table?
• The business component for customer invoices contains an API method
ApiCreateDInvoicesFinCharge. What is the description of this method? What data
needs to be passed via the parameter tApiDInvoice? Which other methods (in the same
and other components) are called from within the code of this API method? What is the first
validation check that happens in the code?
• What is the default/initial value of the field GL.GlCategory when a new GL account is
created?
Hints
Use a terminology-mapping table or the Properties option in the application menu to reveal
the name of a business component.
The object dataset is a public data item of the business component
Initial values for fields are set in a specific method for each business component. The method has
a very recognizable name.
Hints
No hints… too easy !
Hints
Create the user-defined field.
Use UI design mode to put the field on the form.
Use pattern documentation to find the methods that need to be changed.
Hints
First think of where the new data will reside (what is the datasource?)
Use non-intrusive customization to enable an extra table in the object dataset. Methods that
need to be implemented can be found in the training slides.
Use the user-defined field create function to give a meaning to the custom fields in the extra
table.
Use the UI design and drag the new table on the form.
Hints
Look at existing validations in the lease car component, and analyse how they are done.
CUSTOMIZATION OF COMPONENT-BASED QAD APPLICATIONS: EXERCISES 9
The second validation will be different than the other validations. Why is that ?
Hints
First make a copy of the report file.
The solution consists of two steps
1. Add the customer category in the report lay-out.
2. Add the customer category in the report data. Use one of the available custom fields in
the report dataset for this.
Hints
The solution consists of two steps
1. Add customer category in the report filter criteria.
2. Do the actual filtering on the report data.
10 CUSTOMIZATION OF COMPONENT-BASED QAD APPLICATIONS
Hints
No UI customization in C# code is possible.
Use UI design mode to reveal the business field name of the closing balance.
Use patterns to find the right place to customize.
Hints
No UI customization in C# code is possible
12 CUSTOMIZATION OF COMPONENT-BASED QAD APPLICATIONS
Hints
Similar to exercise 16.
But, for performance reasons, you should not filter on the report data afterwards but make
sure data is retrieved only for the requested customers. You can do that by replacing the
selection on sales person or payment group by a selection on customer code before the report
data is being retrieved.