xRecord Class
Syntax
class xRecord extends Object
Run On
Called
Methods
Method | Description | |
---|---|---|
aosValidateDelete | Validates on the server that the specified record can be deleted from a table. | |
aosValidateInsert | Validates on the server that the specified record can be inserted. | |
aosValidateRead | Validates on the server that the specified record can be read. | |
aosValidateUpdate | Validates on the server that the specified record can be updated. | |
buf2con | Packs the table buffers of an xRecord instance into an X++ container. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
canSubmitToWorkflow | Indicates whether submission to workflow is possible. | |
caption | Gets and sets the caption property of a table. | |
checkInvalidFieldAccess | Gets and sets invalid field access. | |
checkRecord | Gets and sets the property that indicates whether to check mandatory fields. | |
checkRestrictedDeleteActions | Gets and sets the property that indicates whether a record can be deleted. | |
clear | Removes all rows from the table buffer. | |
company | Gets and sets the property that indicates a legal entity for the record. | |
con2buf | Unpacks a container into the table buffers. | |
concurrencyModel | Gets and sets the default concurrency model to use to update records. | |
context | Gets and sets the context property. | |
data | Retrieves a row from the table. | |
dataSource | Retrieves the data source of the table. | |
dbOpInTransaction | Makes sure that database operations are correctly closed if they fail. | |
defaultField | Populates default values in a field in the table. | |
defaultRow | Populates default values in fields in the table in the non-interactive case. | |
delete | Deletes the current record from the table. | |
disableCache | Gets and sets the property that indicates whether caching is disabled. | |
dispose | Releases resources that are used by the xRecord object. | |
doClear | Removes all rows from the table buffer and bypasses any additional logic in the clear method of the table. | |
doDelete | Deletes the current record from the table and bypasses any additional logic in the delete method of the table. | |
doInsert | Inserts the record into the table and bypasses any additional logic in the insert method of the table. | |
doUpdate | Updates the current record and bypasses any additional logic in the update method of the table. | |
doValidateDelete | Performs the action to validate that a record can be deleted. | |
equal | Determines whether the specified object is equal to the current one. (Overrides the equal Method.) | |
executeCachedDisplayMethods | Executes the display methods on the server and caches the results. | |
fieldAccessRight | Returns the field access right. | |
fieldBufferAccessRight | Returns the field access right for the current record. | |
fieldState | Sets or returns the state of a field in the table buffer. | |
getAllowRedefault | Returns the list of fields that are allowed to re-default. | |
getDefaultingDependencies | Returns the container that holds defaulting dependencies. | |
getExtension | Returns the table extension. | |
getFieldValue | Gets the value of the specified field from a table buffer. | |
getInstanceRelationType | Returns the table name that corresponds to the InstanceRelationType ID. | |
getPhysicalTableName | Return the physical table name, which, in the case of the SQL Temp DB table, is the table instance name. | |
getPresenceFieldData | Retrieves the PresenceInfo value from the specified field. | |
getSQLStatement | Gets the SQL statement that is used to return records from the database. | |
getTableInInstanceHierarchy | ||
getTableType | Indicates the type of the table. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
hasRelatedTable | Indicates whether a foreign key constraint buffer is linked with the table. | |
helpField | Retrieves a string that contains the Help text for the specified field. | |
initValue | Initializes a field to the default value. | |
inputStatus | Sets or returns the current input status of the table buffer. | |
insert | Inserts the record into the table. | |
interactiveContext | Sets or returns the current interactive context of the table buffer. | |
isFieldDataRetrieved | Checks whether the data of the given field has been retrieved. | |
isFieldSet | Checks whether a field has a Set or Defaulted state. | |
isFormDataSource | Indicates whether the data source is a form. | |
isNewRecord | Returns true if the record is a new record that hasn't been persisted yet. | |
isPartOfUOWSaveChanges | ||
isTempDb | Indicates whether the type of the table is SQL TempDB. | |
isTmp | Indicates whether this is a temporary table. | |
joinChild | Finds the join child of the current record. | |
joinParent | Finds the join parent of the current record. | |
linkPhysicalTableInstance | Checks whether there is a link for the physical table instance for the record. | |
merge | Merges the current table with the specified table. | |
modifiedField | Modifies the specified field to the original. | |
modifiedFieldValue | Modifies the specified field to the original value. | |
new | Initializes a new instance of the Object class. (Inherited from Object.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
orig | Retrieves the original values of the current record. | |
overwriteSystemfields | Gets and sets the property that indicates whether system fields can be overwritten. | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
postCacheLoad | Is executed after data is hit from the cache for the select operation on the table. | |
postLoad | Is executed after a record is read. | |
preRemoting | Is executed before a cross-tier call is about to be executed for the table that would pack its state to the other tier. | |
queryTimedOut | Indicates whether the query exceeded the time limit for execution. | |
queryTimeout | Gets and sets the property that indicates the time limit for the execution of a query. | |
readCommittedLock | ||
readPast | Gets and sets the property that indicates whether to skip rows that are locked by other processes when a record is read. | |
recordLevelSecurity | Gets and sets the property that indicates whether to apply security on a record level. | |
relatedTable | Sets or returns the related buffer of a link of a table buffer. | |
renamePrimaryKey | Renames the foreign keys in other tables according to the change of the corresponding primary key value in this table. | |
reread | Rereads the record from the table. | |
RowCount | Retrieves the number of rows in the table. | |
selectForUpdate | Gets and sets the property that indicates whether to select records for update when they are read. | |
selectLocked | Indicates whether to select locked records. | |
selectRefRecord | Selects the record by referenced field ID. | |
selectWithRepeatableRead | Gets and sets the property that indicates whether repeatable read is enabled. | |
setConnection | Sets the user connection for this table. | |
setCrossPartition | Sets or resets cross-partitioning for the table. | |
setFieldValue | Sets the field value in the record buffer. | |
setSQLTracing | Enables or disables SQL tracing mode. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
setTmp | Sets the table so that it is not persisted to the database. | |
setTmpData | Sets the contents of the temporary table to the specified data. | |
setXDSContext | Sets new XDS context. | |
skipAosValidation | Gets and sets the property that indicates whether to skip validation of Microsoft Dynamics AX Application Object Server (AOS). | |
skipDatabaseLog | Gets and sets the property that indicates whether to skip database log requests. | |
skipDataMethods | Gets and sets the property that indicates whether to discard overloaded methods. | |
skipDeleteActions | Gets and sets the property that indicates whether to skip delete actions on the table. | |
skipDeleteMethod | Gets and sets the property that indicates whether to discard overloaded methods. | |
skipEvents | Provides an option to turn off calling the Application.event* methods for the lifetime of an xRecord object. | |
skipPostLoad | Gets and sets the property that indicates whether to skip executing the xRecord.postLoad method on the table. | |
skipTTSCheck | Gets and sets the property that indicates whether to skip the check to determine whether the record is selected for update. | |
suppressWarnings | Gets and sets the property that indicates whether to suppress warnings for this pointer. | |
tableAccessRight | Returns the table access right. | |
tableBufferAccessRight | Returns the table access right for the current record. | |
takeOwnershipOfTempDBTable | ||
toolTipField | Retrieves the HelpText value for the specified field. | |
toolTipRecord | Retrieves the ToolTip value for the current record. | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
ttsabort | Aborts a transaction that was started by a call to the ttsbegin method. | |
ttsbegin | Starts a transaction that can be either committed by the ttscommit method or aborted by the ttsabort method. | |
ttscommit | Commits a transaction that was started by a call to the ttsbegin method. | |
update | Updates the current record. | |
usageCount | Retrieves the current number of references (the value of the reference counter) that the object has. (Overrides the usageCount Method.) | |
useExistingTempDBTable | ||
validateDelete | Determines whether the current record is valid and ready to be deleted from the database. | |
validateField | Determines whether the specified field is valid. | |
validateFieldValue | ||
validateRelations | ||
validateWrite | Determines whether the current record is valid and ready to be written. | |
validTimeStateUpdateMode | Sets a valid time state update mode on the cursor. | |
wait | Pauses a process. (Inherited from Object.) | |
wasCached | Specifies the location from which the data was retrieved. | |
write | Updates a record if it exists; otherwise, inserts a record. | |
xml | Retrieves an XML string that represents the current object. (Overrides the xml Method.) |
Top
Inheritance Hierarchy
Object Class
xRecord Class