project BLF > class Business Component > dataset tCustomRelation

table tCustomRelation

Description

This temp-table (and dataset) is used in the non-intrusive customization area. It is used to store the information about the custom tables that are used in this component, and about the relations between standard tables and custom tables. This dataset is filled in via the "DefineCustomRelations" method.

field namedata typedescription
tcParentTablecharacterParent table of a custom relation. This should be formatted as a class table, meaning "t<databasetablename>", for example "tCurrency", where "Currency" is the physical database table name.
tcChildTablecharacterChild table of a custom relation. This should always point to one of the custom tables in the component. Possible values can be "tCustomTable0", "tCustomTable1" or "tCustomTable2".
tcChildTableDescriptioncharacterThe description, or meaning, that is given to the child table of a custom relation. This is how a customization developer gives the meaning to one of the custom tables "tCustomTable0", "tCustomTable1" or "tCustomTable2".
tlIsOneToOnelogicalThis field indicates whether the relation is a 1-1 relation. This relation will be recognized by the UI design mode and makes it possible to put business fields of the custom table specified in tcChildTable directly on the form on the same level of the business fields of the table specified in tcparentTable.
If the value of this field is "false/no", then a 1-n relationship is assumed, and the UI design mode will only provide a possibility to represent the table as a grid on the screen.


Internal usage


BLF
method business.GetBusinessFields
method Session.GetBusinessFieldsWithLng