2 Accounts Transactions Extend Create Entity
2 Accounts Transactions Extend Create Entity
Lesson Outline
• Policy Transactions
• Core Entities
• Data Model
• Extending Entities
• Creating Entities
• Connect to H2 Database
Policy Transactions
Policy Transactions
Submission
Submission
3. Get quote
• Can be done multiple times to find quote
that is agreeable
• Typically done when some error occurred during initial submission of policy
• A renewal creates a new policy for another term, at the end of policy term
Policy is broken down into one or more policy periods. Each policy period
represents a period of time during which the policy did not change
Data Model
Configuration
3 Tier Architecture
• Entity
• Entity Field
• Typelist
Entity
• Business objects stored in its own database table. Eg : ABContact, ABUser
ABContact
ID
Name
CreateTime
PrefersContactByEmail
Score
AssignedUser
AllAddresses
VendorType
…
Entity Fields
• Value (or set of values) used to define the state or nature of a specific
instance of the entity. Eg : ABContact's Name field
ABContact
• Four general types of entity fields ID
• Data column– to store data Name
CreateTime
• Foreign key – to refer entity PrefersContactByEmail
• Array key – to refer array of entity entity Score
fields AssignedUser
• Type key – to refer typelist AllAddresses
VendorType
…
Layers of Entity
• Base Folder
• gwb dev-start
• gwb dev-stop
Task – Extend Entity
• Create extension AgencyBillPlan.etx to capture the following
information.
• Data Modal
• Entity – eti , eix , etx
• Entity Fields – define the state or nature of a specific instance of the entity
• Typelists – tti , tix , ttx
• Extending Entities
Summary
• Creating Entities
• Datakey – eg.FirstName
• Arraykey – eg. InsuredAddress
• Foreignkey – eg. AxaInsured
• Connect to H2 Database
Thank You