Creating data fields

The business requirements specification defines these fields for each new page type.

About this task

Meals Other Charges
Meals_Grid
  • Meals_Line_Item
    • Date
    • Description
    • Cost
Meals_Total
Other_Charges_Grid
  • Other_Charges_Line_Item
    • Date
    • Category
    • Quantity
    • Unit_Cost
    • Total
Other_Charges_Total

Procedure

  1. Confirm that the document hierarchy is still locked for editing.
  2. Right-click the Meals page and choose Add multiple > Fields. Then, type 2 in the box and press Enter on your keyboard.
  3. Rename the new fields Meals_Grid and Meals_Total.
  4. Right-click the Meals_Grid field and choose Add > Field.
  5. Rename the new field Meals_Line_Item.
  6. Right-click the Meals_Line_Item field and choose Add multiple > Fields. Then, type 3 in the box and press Enter.
  7. Rename the new fields Date, Description, and Cost.
  8. Repeat to add the fields and subfields for the Other_Charges page, as shown in the table. When you add the Date field, click Yes to inherit all rules and properties.
  9. Click Save. The following example shows the document hierarchy for the new Hotel pages.

    Meals

    Open
    • Meals_Grid
    • Open
      • Meals_Line_Item
      • Open
        • Date
        • Description
        • Cost
      • Close
    • Close
    • Meals_Total
    Close

    Other_Charges

    Open
    • Other_Charges_Grid
    • Open
      • Other_Charges_Line_Item
      • Open
        • Date
        • Category
        • Quantity
        • Unit_Cost
        • Total
      • Close
    • Close
    • Other_Charges_Total

    Close