Create the abstract cost entity
About this task
Use Studio to create an abstract cost entity
for the new line of business. For Golf Cart, GOCost is the abstract entity.
The cost entity implements the Cost
delegate. Because the cost entity is a delegate, it automatically includes
required columns such as the Amount
and Basis fields. The
cost entity also has an interface to cost methods for the line. In later
steps, you create subtypes of this abstract cost class.
Procedure
-
Create the GOCost entity by using the Studio
Projects
window to navigate to
.
Then right-click Entity node and select
.
In the Entity dialog box, enter
the following properties:
Property
Value
Entity
GOCost
Entity Type
entity
Desc
A Golf Cart unit of cost for a period of time, not to be further broken up.
Table
gocost
Extendable
true
Exportable
true
Final
false
-
After you add the GOCost entity, add the following
parameters to the entity to make it effective-dated and an abstract cost:
Property
Value
typeeffdated
effDatedBranchTypePolicyPeriod
abstracttrue
Note: The cost is an abstract entity, which means that it is accessed within the application only through its subtypes. -
Add a
foreignkeyelement to the policy line. The policy line for Golf Cart isGolfCartLine. Set the foreign key properties as follows:Property
Value
nameGolfCartLine
fkentityGolfCartLine
nullokfalse
