Description of the table relation - used for automatic update operations, in future for table generation

interface iobjRelation {
    _hint?: string;
    _tooltip?: string;
    _translation?: string;
    extendingTable?: string;
    icon?: string;
    label?: string | boolean;
    name: string;
    order?: string;
    relObjects?: string[];
    shortcut?: string;
    style?: string | object;
    table: string;
}

Hierarchy (view full)

Properties

_hint?: string
_tooltip?: string
_translation?: string
extendingTable?: string

Name of the extinding table that extends the basic table Used by descendant objects that are stored in 2 tables - table of the primary object and secondary table of the aditional object

Notes:

  • Currently no more than single extended table is supported
  • Fields loaded from secondary table has source objExtension
  • Lists and details loading data from base and extending table shuld have views that combine both sources, however fields from extending table are stored during update to the right table
icon?: string
label?: string | boolean

Optinonal commands about label false - no label is printed string - string to translate (used instead of fieldname) true - does not affects functionality (useless) evaluaated - (=obj.enumVal('x')) --- should return translated value, result is not translated. Remember that obj is empty (nevertheless defined) for new object

name: string
order?: string

optional element order

relObjects?: string[]

List of names of objects that could be related using the unviersal sys relation

Example

See tskTask obj. description for examples
shortcut?: string

Optional shortcut

style?: string | object

className (in case thet style is string) or list of styles using htmlelements.style JS attributes

Example

style='box--dataImportant'  box--dataImportant should be defined class in the css styles

Example

syle={"maxWidth":"20em"}    set up the maxWidth style attribute for the box

Example

styl={"border":"=obj.status=='AC'?'solid':'none' "}
table: string