Professional Documents
Culture Documents
30ESS BusinessLayerConfigurationNewBusinessComponentsAndFields
30ESS BusinessLayerConfigurationNewBusinessComponentsAndFields
|
Each objective and ³why you need to know´ should be stated aloud.
|
This slide is an overview and expands on the ³why you need to know´
statement on slide 2. It also reviews some details of how business
components are implemented and how they relate to a parent business
object.
* á
á
á
|
*elate the bullet points to the example on the bottom of the slide. Point
out that both child business components will be based on the same
standard 1:M extension table, in this case, |_CONTACT_XM.
|
*elate the bullet points to the example on the bottom of the slide. Point
out that both child business components will be based on the same
standard 1:M extension table, in this case, |_CONTACT_XM.
|
|how students how to find the right extension table: Find the base table
for the parent business component, then verify that an _XM table exists
for it. |how the various types of ATT*IB columns available.
No fully-defined business component in the standard |iebel applications
uses the _XM tables as its base. Two are defined (Countries Deployed
and Languages Deployed), but they are not complete. They have no fields
based on the ATT*IB columns. |o if you want to do a more detailed
demonstration in the classroom, you may have to do a little bit of work in
advance.
|
Point out that, while TYPE and PA*_*OW_ID are the base for required
fields, they should not be displayed to the user, but set by the system.
TYPE should be pre-defaulted. PA*_*OW_ID will be set by the link to
the parent business object.
÷
F á
÷
!
" !
" #
$%&!'
&()(*+)#, !
" + -
(*+)#, !
|
|
Demo:
Walk through the process of creating a new business component.
Note: the 10 box diagram is included in the student guide for student¶s
quick reference: a business component references tables, which are
composed of columns. A business component is composed of fields,
which also reference those columns. When using this wizard, students
interact with all these objects at some level.
|
This is a list of the various things the business component wizard does
after you click the Finish button.
|
|
|
|
|
|
Assuming you created XYZ College, create a link with these values:
Project = Contact, Parent business component = Contact, Child business
component = XYZ College, |ource Field = Id, Destination Field = Parent
Id.
*ecall that the |ource Field maps to the Primary Key of the parent, which
is always the *OW_ID column in the parent¶s base table.
|
#
. /
|
This slide is a review. Users will not see the business component until it
has been displayed on an applet, the applet has been displayed on a view,
and the view has been administered in the application.
If you have done the other demos up to this point, and you have time,
create a simple applet and view to display XYZ College.
|
The scenario just covered in this training, 1:M with an existing table, is
just one possible scenario for the need to create a new business
component. It may also be necessary to create a ³standalone´ business
component, where this new BC has its own, new base table.
This slide highlights the steps required for such a scenario.
You can still use the BC wizard to perform some of these tasks.
However, you¶ll have to create a new table prior to running the wizard.
The first two steps are addressed in the Extending the |iebel Database
module of |iebel Essentials (a few modules later in this configuation
section).
$
/
|
*
How can many business components use the same
_XM table?
By giving each business component a unique code, which is
stored in the Type field (a required field in all _XM tables) and set as a
predefault value in the business component, multiple business
components can use the same _XM table.
*
In a 1:M link, what are the |ource Id and Destination
Id properties?
They provide data that implements the 1:M relationship
between the parent and child business components.
ÿThe |ource Id property contains the name of a field in the
business component that contains a unique identifier
(key)²typically, Id.
ÿThe Destination Id property contains the name of a field in the
¦ business component that contains a value matching the
value of the field in the parent business component (identified in
the |ource Id property).
|
|