Partager via


xRecord Class

Definition

public ref class xRecord : Microsoft::Dynamics::Ax::Xpp::XppObjectBase
[Microsoft.Dynamics.Ax.Xpp.KernelClass]
public class xRecord : Microsoft.Dynamics.Ax.Xpp.XppObjectBase
[<Microsoft.Dynamics.Ax.Xpp.KernelClass>]
type xRecord = class
    inherit XppObjectBase
Public Class xRecord
Inherits XppObjectBase
Inheritance
Microsoft.Dynamics.AX.KernelInterop.ProxyBase
xRecord
Attributes

Constructors

xRecord()
xRecord(IntPtr)

Fields

__k_xRecordId
kernelClass (Inherited from XppObjectBase)

Methods

__shouldCallNew(Type) (Inherited from XppObjectBase)
addXppProxyReference(Type, Object) (Inherited from XppObjectBase)
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.

buf2con(Boolean)
Call(String, Object[], Type[], Object[]) (Inherited from XppObjectBase)
cancelTimeOut(Int32) (Inherited from XppObjectBase)
canSubmitToWorkflow()

Indicates whether submission to workflow is possible.

canSubmitToWorkflow(String)
caption()

Gets and sets the caption property of a table.

checkInvalidFieldAccess()

Gets and sets invalid field access.

checkInvalidFieldAccess(Boolean)
checkRecord()

Gets and sets the property that indicates whether to check mandatory fields.

checkRecord(Boolean)
checkRestrictedDeleteActions()

Gets and sets the property that indicates whether a record can be deleted.

checkRestrictedDeleteActions(Boolean)
clear()

Removes all rows from the table buffer.

company()

Gets and sets the property that indicates a legal entity for the record.

company(String)
con2buf(Object[])

Unpacks a container into the table buffers.

concurrencyModel()

Gets and sets the default concurrency model to use to update records.

concurrencyModel(ConcurrencyModel)
context()

Gets and sets the context property.

context(Int32)
createKernelClass(Object[], Type[], Object[]) (Inherited from XppObjectBase)
data()

Retrieves a row from the table.

data(Common)
dataSource()

Retrieves the data source of the table.

defaultField(Int32)

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.

deserialize(String)
disableCache()

Gets and sets the property that indicates whether caching is disabled.

disableCache(Boolean)
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(Common)

Determines whether the specified object is equal to the current one.

equal(XppObjectBase) (Inherited from XppObjectBase)
fieldAccessRight(String)

Returns the field access right.

fieldBufferAccessRight(String)

Returns the field access right for the current record.

fieldState(Int32, FieldState)
fieldState(Int32)

Sets or returns the state of a field in the table buffer.

finalize() (Inherited from XppObjectBase)
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(String, Int32)
getFieldValue(String)

Gets the value of the specified field from a table buffer.

getInstanceRelationType()

Returns the table name that corresponds to the InstanceRelationType ID.

GetIntPtr() (Inherited from XppObjectBase)
GetKernelInstanceUniqueId() (Inherited from XppObjectBase)
getPhysicalTableName()

Return the physical table name, which, in the case of the SQL Temp DB table, is the table instance name.

getPresenceFieldData(Int32, Object)

Retrieves the PresenceInfo value from the specified field.

getSQLStatement()

Gets the SQL statement that is used to return records from the database.

getTableInInstanceHierarchy(Int32)
getTableType()

Indicates the type of the table.

getTimeOutTimerHandle() (Inherited from XppObjectBase)
getXppProxyReference(Type) (Inherited from XppObjectBase)
handle()
hasRelatedTable(String)

Indicates whether a foreign key constraint buffer is linked with the table.

helpField(Int32)

Retrieves a string that contains the Help text for the specified field.

initForFormDataSource(FormDataSource)
initValue()

Initializes a field to the default value.

inputStatus()

Sets or returns the current input status of the table buffer.

inputStatus(FieldState)
insert()

Inserts the record into the table.

interactiveContext()

Sets or returns the current interactive context of the table buffer.

interactiveContext(Boolean)
isFieldDataRetrieved(String, Int32)
isFieldDataRetrieved(String)

Checks whether the data of the given field has been retrieved.

isFieldSet(Int32)

Checks whether a field has a Set or Defaulted state.

isFormDataSource()

Indicates whether the data source is a form.

IsManagedValid() (Inherited from XppObjectBase)
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.

kernelhandle()
KernelInstanceDisposed() (Inherited from XppObjectBase)
linkPhysicalTableInstance()

Checks whether there is a link for the physical table instance for the record.

linkPhysicalTableInstance(Common)
MakeReflectionCall(String, Object[]) (Inherited from XppObjectBase)
merge(Common)

Merges the current table with the specified table.

modifiedField(Int32)

Modifies the specified field to the original.

modifiedFieldValue(String, Int32)
modifiedFieldValue(String)

Modifies the specified field to the original value.

newmethod() (Inherited from XppObjectBase)
notify() (Inherited from XppObjectBase)
notifyAll() (Inherited from XppObjectBase)
objectOnServer()
Obsolete.
(Inherited from XppObjectBase)
orig()

Retrieves the original values of the current record.

overwriteSystemfields()

Gets and sets the property that indicates whether system fields can be overwritten.

overwriteSystemfields(Boolean)
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.

queryTimeout(Int32, Boolean)
queryTimeout(Int32)
readCommittedLock()
readCommittedLock(Boolean)
readPast()

Gets and sets the property that indicates whether to skip rows that are locked by other processes when a record is read.

readPast(Boolean)
recordLevelSecurity()

Gets and sets the property that indicates whether to apply security on a record level.

recordLevelSecurity(Boolean)
relatedTable(String, Common)
relatedTable(String)

Sets or returns the related buffer of a link of a table buffer.

relationPath()
relationPath(RelationPath)
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.

selectForUpdate(Boolean)
selectLocked()

Indicates whether to select locked records.

selectLocked(Boolean)
selectRefRecord(Int32)

Selects the record by referenced field ID.

selectWithRepeatableRead()

Gets and sets the property that indicates whether repeatable read is enabled.

selectWithRepeatableRead(Boolean)
serialize()
setConnection(Connection)

Sets the user connection for this table.

setCrossPartition(Boolean)

Sets or resets cross-partitioning for the table.

setFieldValue(String, Object, Int32)
setFieldValue(String, Object)

Sets the field value in the record buffer.

setSQLTracing()

Enables or disables SQL tracing mode.

setSQLTracing(Boolean)
setTimeOut(String, Int32, Boolean)
Obsolete.
(Inherited from XppObjectBase)
setTimeOut(String, Int32)
Obsolete.
(Inherited from XppObjectBase)
setTmp()

Sets the table so that it is not persisted to the database.

setTmpData(Common)

Sets the contents of the temporary table to the specified data.

setXDSContext()

Sets new XDS context.

setXDSContext(String)
skipAosValidation()

Gets and sets the property that indicates whether to skip validation of Finance and Operations Application Object Server (AOS).

skipAosValidation(Boolean)
skipDatabaseLog()

Gets and sets the property that indicates whether to skip database log requests.

skipDatabaseLog(Boolean)
skipDataMethods()

Gets and sets the property that indicates whether to discard overloaded methods.

skipDataMethods(Boolean)
skipDeleteActions()

Gets and sets the property that indicates whether to skip delete actions on the table.

skipDeleteActions(Boolean)
skipDeleteMethod()

Gets and sets the property that indicates whether to discard overloaded methods.

skipDeleteMethod(Boolean)
skipEvents()

Provides an option to turn off calling the Application.event* methods for the lifetime of an xRecord object.

skipEvents(Boolean)
skipPostLoad()

Gets and sets the property that indicates whether to skip executing the xRecord.postLoad method on the table.

skipPostLoad(Boolean)
skipTTSCheck()

Gets and sets the property that indicates whether to skip the check to determine whether the record is selected for update.

skipTTSCheck(Boolean)
suppressWarnings()

Gets and sets the property that indicates whether to suppress warnings for this pointer.

suppressWarnings(Boolean)
tableAccessRight()

Returns the table access right.

tableBufferAccessRight()

Returns the table access right for the current record.

toolTipField(Int32)

Retrieves the HelpText value for the specified field.

toolTipRecord()

Retrieves the ToolTip value for the current record.

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.

validateDelete()

Determines whether the current record is valid and ready to be deleted from the database.

validateField(Int32)

Determines whether the specified field is valid.

validateFieldValue(String, Int32)
validateFieldValue(String)
validateWrite()

Determines whether the current record is valid and ready to be written.

validTimeStateUpdateMode(ValidTimeStateUpdate)

Sets a valid time state update mode on the cursor.

VerifyKernelClass() (Inherited from XppObjectBase)
wait() (Inherited from XppObjectBase)
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.

Xml(Int32)

Applies to