Class Attributes

Class Attributes

Class Attributes are essentially of the data fields that would consist of the fields that will be filled in with data.

We will use the example of a Purchase Order Class to explain how the class attributes and the settings that one would need to be familiar with.

Class Attributes Overview

Shown below are the list of attributes for the Purchase Order class.

Class Attribute Settings

When a new attribute is to be added, the following are the important things to be kept in mind.

  1. The preferred name of the attribute is CamelCase format (NameOfTheAttribute) and no special characters are allowed. Some rules on Attribute name include the following
    1. Attribute name can be up to 32 characters long
    2. Cannot have spaces
    3. Cannot have special characters
    4. Cannot start with digits
  2. The allowed Attribute formats include String, Integer, Float, Date and blob
  3. For String characters you can set the Width
  4. You can set the attribute to be required by selecting the type to the “rp”
  5. You can the display to be in the form of text, list, multilist, etc. depending on the data.

Attribute Specific Settings

Once you have an attribute created, you can change it’s settings by selecting it and then add SQL queries or js functions which can collate data from another class object an fill in the data fields.


You can use the “Add property” to add SQL queries or js functions that can fetch data from another class object and fill the data fields automatically.


Attribute Format and Combinations







Text, area, list, multilist, password, url



Text, area, list, multilist



Text, area, list, multilist



Text, area, list, multilist,url




Attribute Properties


The name simply defines the name of the attribute. This can only be set at initial creation stage and cannot be edited later on. Also remember to use CamelCase format when creating names.



The format can be used to set the content format of the attribute fields. The options are shown as follows.




The display option is used to set the display format for the attribute data. The options available are as shown below



The width option can be used to set the field length limit of the attribute data field. This defaults at 32 but can be changed later on as well.






The query function returns the attribute in the form of a query sql search so data from one attribute can be mapped to another attribute in a different class object.



The listtype is usually left at its default of “p”. This means that the attribute can be left blank and the process progression is possible. To have the attribute can be set to “rp” in case the field is to be mandatory. The process will progress only when the field is filled in that case.



This is used to set the max. visible char value for the attribute data field. This is usually set to null since we don’t want any of the values shown to be inconsistent or incomplete.



Select can be used to select and map another Form’s data to be displayed in the Alternate class object. Here below, data from the Supplier Catalog Item form has been mapped to be displayed under the PR Item form.




Selectcrit is used to define the criteria on which data formats will be allowed to be mapped in from another form to be displayed in the Alternate Form. The below example shows one such criteria.



Multilist is used to set the ability to have multiple selections in a list of data for the Attribute data fields. When multilist is selected as the display parameter, multiple selections for values can be made for the data in the attribute field.




Sourceattr is used to map the exact attribute data field that is to be mapped in from another form and displayed onto another alternate form. In the below example, we have the SupplierPartNumber Attribute data from another Form being mapped to be displayed under Item in Purchase Requisition Form.