Reviewing Database Pre-Allocation for Fields in Form Templates

Objective

After completing this lesson, you will be able to explain database pre-allocation for fields in form templates

Database Pre-Allocation for Fields in Form Templates

Database Field Pre-Allocation

When you create a form template, the system pre-allocates database space for a set number of fields, regardless of whether you use them. You cannot add fields beyond the pre-allocated number.

The pre-allocated limit is per form template. For example, if the maximum number of Integer fields is 30, you can design form template A with 30 Integer fields and design form template B with 30 Integer fields.

Some field types share the same database space. For example, Text fields and Multiline Text fields share the same space and are stored as string fields. If the maximum for string fields is 40, you could have 30 Text fields and 10 Multiline Text fields, or any other combination of those fields, up to 40.

Header-Level vs Line-Level Fields

The system differentiates header-level and line-level fields. Header-level fields are fields that you add anywhere to your form template design, except in line-item tables. Line-level fields are fields that you add only to a line-item table.

The system keeps track of available, used, and total pre-allocated fields for each form template design. To see how many fields you have used, you must save your form template, but you do not have to publish it.

Procedure: Review Available and Total Pre-Allocated Fields for Form Templates

  1. Select ManageAdministration
  2. Select Customization ManagerAvailable Flex Fields
  3. For header-level fields, search for the name of the form template
  4. For line-level tables, search for the name of the table

Procedure: Review Available and Used Pre-Allocated Fields for Form Templates

  1. Select ManageAdministration
  2. Select Customization ManagerClass Browser
  3. For header-lever fields, search for the name of the form template
  4. For line-level tables, search for the name of the table

Pre-Allocated Header-Level Fields

The following table shows the pre-allocated header-level fields in a form template.

Type in General Tab drop downCorrsponding Type in Class Browser - Available Flex FieldsPre-Allocated Number
Decimal NumberBigDecimal35*
PercentageBigDecimal
BooleanBoolean30
Commodity Multiple SelectCommodityCode Vector1
DateDate25*
Date (Calendar)Date
Department Multiple SelectDepartment Vector1
Flex Master DataDynamicFlexMasterData8
Flex Master Data Multiple SelectDynamicFlexMasterData Vector3
Integerint30
MoneyMoney20
Supplier Multiple SelectOrganization Vector1
Product Multiple SelectProduct Vector1
Region Multiple SelectRegion Vector1
Long TextShortMultiLocaleString35*
Long Rich TextShortMultiLocaleString
Multiline TextString45*
TextString
URL LinkString
Text Multiple SelectString Vector12
User Multiple SelectUser Vector5

Note

* Field types that share the same pre-allocated space.

Pre-Allocated Line Level Fields

The following table shows the pre-allocated line-level fields in a form template.

Type in general Tab drop downCorresponding Type in Class Browser - Available Flex FieldsPre-Allocated Number
Decimal NumberBigDecimal5*
PercentageBigDecimal
BooleanBoolean5
CommodityCommodityCode1
DateDate3*
Date (Calendar)Date
DepartmentDepartment1
Flex Master DataDynamicFlexMasterData10
Integerint5
MoneyMoney5
SupplierOrganization1
ProductProduct1
RegionRegion1
Long TextShortMultiLocaleString3*
Long Rich TextShortMultiLocaleString
Multiline TextString7*
TextString
URL LinkString
UserUser4

Note

*Field types that share the same Pre-Allocated space.

Log in to track your progress & complete quizzes