Create the transaction entity

Procedure

  1. Create the GOTransaction entity by using the Studio Projects window to navigate to configuration > config > extensions. Then right-click Entity node and select New > Entity. In the Entity dialog box, enter the following properties:

    Property

    Value

    Entity

    GOTransaction

    Entity Type

    entity

    Desc

    A transaction for the Golf Cart line

    Table

    gotransaction

    Extendable

    true

    Exportable

    true

  2. After you add the GOTransaction entity, add the following parameters to the entity to make it effective-dated off the policy period:

    Property

    Value

    type

    effdated

    effDatedBranchType

    PolicyPeriod

  3. Add a foreignkey element to the abstract cost entity. The abstract cost entity for Golf Cart is GOCost. Set the foreign key properties as follows:

    Property

    Value

    name

    GOCost

    fkentity

    GOCost

    desc

    The cost this transaction modifies

    nonEffDated

    true

    nullok

    false

  4. On the cost entity, add an array element to the transaction entity. For Golf Cart, create an array on GOCost to GOTransaction with the following properties:

    Property

    Value

    name

    Transactions

    arrayentity

    GOTransaction

    cascadeDelete

    true

What to do next

Create an array of transactions on the policy period