You are here: Visual LANSA Logical Modeler > Tutorials > LGM005 – The Parent/Child Relationship > Step 1. Create an Ordered Product Entity

Step 1. Create an Ordered Product Entity

In this step, you will create a data entity called Ordered Product. The Ordered Product entity will be related to the Order entity in Step 2 of this tutorial.

1.  Ensure the model you created in the previous tutorial is open.

2.  Create a data entity called Ordered Product.

     Set its physical file name to iiiOPR, where iii are your initials.

3.  Create the following elements for the Ordered Product entity:

Element Name

Data Type

Field Name

Delivery date

Date

iiiDLVDAT

Order quantity

Quantity

iiiORDQTY

Delivered quantity

Quantity

iiiDLVQTY

Backordered quantity

Quantity

iiiBOQTY

 

 

4.  Make Delivery Date the identifying element of Ordered Product.

5.  Close the elements window.