DataValueType definition

DataValueType. [Data type], "Value":"[Column value]" } }... } },
DataValueType. [Data type], "Value":"[Column value]" } }... } } } Structure of the InsertQuery data contract Properties RootSchemaName A string containing the name of the root object schema of the added record. OperationType Operation type is set by the QueryOperationType namespace Terrasoft.Nui.ServiceModel.DataContract namespace enumeration value. For the InsertQuery the QueryOperationType.Insert value is set. Possible values ( QueryOperationType ) Select 0 Insert 1 Update 2 Delete 3 Batch 4 ColumnValues ColumnValues
DataValueType. [Data type], "Value":"[Column value]" } }... } } } Structure of the InsertQuery data contract Properties RootSchemaName A string containing the name of the root object schema of the added record. OperationType Operation type is set by the QueryOperationType namespace Terrasoft.Nui.ServiceModel.DataContract namespace enumeration value. For the InsertQuery the QueryOperationType.Insert value is set. Possible values ( QueryOperationType ) Insert 1 Update 2 Delete 3 Select Batch ColumnValues ColumnValues Contains a collection of column values of the added record. Its Terrasoft.Nui.ServiceModel.DataContract namespace.< type is defined in the The ColumnValues class Terrasoft.Nui.ServiceModel.DataContract The Namespace . The ColumnValues class has a single Items property that is defined as a collection of the Terrasoft.Nui.ServiceModel.DataContract Dictionary<string, ColumnExpression> keys and values. The key is a string with the added column title, and the value is the object with the ColumnExpression type defined in the namespace. The basic properties of the ColumnExpression class used when adding records, are given in table. Properties

More Definitions of DataValueType

DataValueType. Terrasoft.DataValueType.INTEGER, "type": Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN }, /* The attribute that stores the value of the system setting. */ "maximumDailyActiveSections": {
DataValueType. Terrasoft.DataValueType.INTEGER, "type": Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN } }, methods: { /* Run when the page's schema is loaded and call the method that counts the curre onEntityInitialized: function(){ this.callParent(arguments); this.getPeriodicityActiveNumber();
DataValueType. [Data type], "Value":"[Column value]" } }... } } } Properties RootSchemaName A string containing the name of the root object schema of the added record. OperationType Operation type is set by the QueryOperationType namespace Terrasoft.Nui.ServiceModel.DataContract Select 0 Insert 1 Update 2 Delete 3 Batch 4 namespace enumeration value. For the InsertQuery the QueryOperationType.Insert value is set. Possible values ( QueryOperationType ) ColumnValues ColumnValues
DataValueType. Terrasoft.DataValueType.BOOLEAN, "type": Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN, "value": false }, /* The methods of the section view model. */ methods: { /* The button click handler method. */ onOpenPrimaryContactClick: function() { /* Get the active vertical list record. */ var activeRow = this.get("ActiveRow"); if (activeRow) { /* Get the primary contact identifier. */ var primaryId = this.get("GridData").get(activeRow).get("PrimaryContact") if (primaryId) { /* Create an address string. */ var requestUrl = "CardModuleV2/ContactPageV2/edit/" + primaryId; /* Publish a message about updating the page navigation history and g this.sandbox.publish("PushHistoryState", { hash: requestUrl }); } }, /* Execute after the account page is rendered. */ onCardRendered: function() { this.callParent(); /* List data. */ var gridData = this.get("GridData"); var activeRow = this.get("ActiveRow"); if (activeRow) { this.setButtonEnabled(activeRow, this); } /* The reference to the active record is lost after the primary contact page else { var historyState = this.sandbox.publish("GetHistoryState"); var hash = historyState.hash; if (hash && hash.valuePairs) { activeRow = hash.valuePairs[0].name; /* Restore an active record. */ this.set("ActiveRow", activeRow); /* Save the ‘this’ context to a local variable. */ var self = this; /* Listen to the ‘dataloaded’ event. Fires when the data is fully loa gridData.on("dataloaded", function() { self.setButtonEnabled(activeRow, self); }); } } /* Listen to the ‘itemchanged’ event. Fires when the active list entry change gridData.on("itemchanged", function() { this.setButtonEnabled(activeRow, this); }, this); }, /* Determine if there is a primary contact for the active list entry. */ isPrimaryContactExist: function(id) { var pc = this.get("GridData").get(id).get("PrimaryContact"); return (pc || pc !== "") ? true : false; }, /* Set the value of the ButtonEnabled attribute depending on whether the primary setButtonEnabled: function(activeRow, context) { if (context.isPrimaryContactExist(activeRow)) { context.set("ButtonEnabled", true); } else { context.set("ButtonEnabled", false); } }, /* Display the button on the record page. */ diff: [ /* Metadata to add the the custom button page. */ { /* The operation of inserting the element to the page is in progress. */ "operation": "insert", /* The meta name of the parent container to which the button is added. */ "parentName": "CombinedModeActionButtonsCardLeftContainer", /* The button is added...
DataValueType this.Terrasoft.DataValueType.FLOAT, "dependencies": [ {
DataValueType this.Terrasoft.DataValueType.INTEGER, // Attribute type is a virtual column.