Compartir a través de


TrvExpTable Table

The TrvExpTable table contains expense report headers.

Configuration Key: Trv

Methods

  Method Description
Gg945801.pubmethod(en-us,AX.60).gif allowance Gets the total perdiem expenses for the expense report.
Gg945801.pubmethod(en-us,AX.60).gif anyLinesHaveDifferentApprovalStatus Indicates whether there are lines with different statuses than the expense report.
Gg945801.pubmethod(en-us,AX.60).gif anyPolicyErrors Indicates whether the expense report has any policy errors.
Gg945801.pubmethod(en-us,AX.60).gif anyPolicyViolations Indicates whether the expense report has any policy violations; they can be errors or warnings.
Gg945801.pubmethod(en-us,AX.60).gif aosValidateDelete Validates on the server that the specified record can be deleted from a table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif aosValidateInsert Validates on the server that the specified record can be inserted. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif aosValidateRead Validates on the server that the specified record can be read. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif aosValidateUpdate Validates on the server that the specified record can be updated. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif approvalStatus
Gg945801.pubmethod(en-us,AX.60).gif approverJustification This display method returns a concatenated string of all approver names (excluding the current user) and their justification for the policy violation.
Gg945801.pubmethod(en-us,AX.60).gif barcode Gets an encoded bar code string for an expense header.
Gg945801.pubmethod(en-us,AX.60).gif barcodeAdditionalStrings Gets additional bar code strings of the user who created the expense header.
Gg945801.pubmethod(en-us,AX.60).gif barcodeCoverPageInstructions Gets the instructions that are set by the user in the expense parameters.
Gg945801.pubmethod(en-us,AX.60).gif barcodeCoverPageTitle Gets the title of the bar code cover page.
Gg945801.pubmethod(en-us,AX.60).gif barcodeFontName Gets the font name of the bar code type that is set in the expense parameters.
Gg945801.pubmethod(en-us,AX.60).gif barcodeFontSize Gets the font size of the bar code type that is set in expense parameters.
Gg945801.pubmethod(en-us,AX.60).gif barcodeIncludeUserId Gets the user setting to display the user ID in the bar code.
Gg945801.pubmethod(en-us,AX.60).gif buf2con Packs the table buffers of an xRecord instance into an X++ container. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif canBeSubmitted Checks whether the expense report can be submitted.
Gg945801.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif canSubmitToWorkflow Indicates whether submission to workflow is possible. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif caption Gets and sets the caption property of a table. (Inherited from xRecord.)
Gg945801.privmethod(en-us,AX.60).gif checkBudgetForAllLines
Gg945801.pubmethod(en-us,AX.60).gif checkInvalidFieldAccess Gets and sets invalid field access. (Inherited from xRecord.)
Gg945801.privmethod(en-us,AX.60).gif checkProjectBudgetForMappedRequisitions
Gg945801.pubmethod(en-us,AX.60).gif checkRecord Gets and sets the property that indicates whether to check mandatory fields. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif checkRestrictedDeleteActions Gets and sets the property that indicates whether a record can be deleted. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif clear Removes all rows from the table buffer. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif company Gets and sets the property that indicates a legal entity for the record. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif companyPaid Gets the Company paid amount
Gg945801.pubmethod(en-us,AX.60).gif companyPaidWithCurrencyCode Gets the company paid amount with a currency code.
Gg945801.pubmethod(en-us,AX.60).gif con2buf Unpacks a container into the table buffers. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif concurrencyModel Gets and sets the default concurrency model to use to update records. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif context Gets and sets the context property. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif costTotal Gives the billed amount for the expense report.
Gg945801.pubmethod(en-us,AX.60).gif costTotalWithCurrencyCode Displays total billed amount along with the currency code.
Gg945801.pubmethod(en-us,AX.60).gif currencyCode Displays the company currency code.
Gg945801.pubmethod(en-us,AX.60).gif customerPaid Gives the amount paid by customer for the expense report.
Gg945801.pubmethod(en-us,AX.60).gif data Retrieves a row from the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif dataSource Retrieves the data source of the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif defaultField Populates default values in a field in the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif defaultRow Populates default values in fields in the table in the non-interactive case. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif delete Deletes the current record from the database.
Gg945801.pubmethod(en-us,AX.60).gif disableCache Gets and sets the property that indicates whether caching is disabled. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif dispose Releases resources that are used by the xRecord object. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif doClear Removes all rows from the table buffer and bypasses any additional logic in the clear method of the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif doDelete Deletes the current record from the table and bypasses any additional logic in the delete method of the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif doInsert Inserts the record into the table and bypasses any additional logic in the insert method of the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif doUpdate Updates the current record and bypasses any additional logic in the update method of the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif doValidateDelete Performs the action to validate that a record can be deleted. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif emplBalance
Gg945801.pubmethod(en-us,AX.60).gif employeeName Gets the name of the worker for whom the expense report is compiled.
Gg945801.pubmethod(en-us,AX.60).gif employeePaid Gets the amount paid by employee.
Gg945801.pubmethod(en-us,AX.60).gif employeePaidWithCurrencyCode Gets the amount paid by employee along with the currency code.
Gg945801.privmethod(en-us,AX.60).gif encodeBarcodeString This method returns the encoded barcode string based on the barcode type set in expense parameters
Gg945801.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from xRecord.)
Gg945801.privmethod(en-us,AX.60).gif evaluatePolicyForAllLines
Gg945801.privmethod(en-us,AX.60).gif evaluateProjectPoliciesForLines
Gg945801.pubmethod(en-us,AX.60).gif fieldAccessRight Returns the field access right. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif fieldBufferAccessRight Returns the field access right for the current record. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif fieldState Sets or returns the state of a field in the table buffer. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif getAllowRedefault Returns the list of fields that are allowed to re-default. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif getCompanyPaid Gets the company paid amount for the expense report.
Gg945801.pubmethod(en-us,AX.60).gif getDefaultingDependencies Returns the container that holds defaulting dependencies. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif getEmplName Gets the name of the worker for whom the expense report is compiled.
Gg945801.pubmethod(en-us,AX.60).gif getEmployeePaid Gets the amount paid by an employee for the expense report.
Gg945801.pubmethod(en-us,AX.60).gif getExtension Returns the table extension. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif getFieldValue Gets the value of the specified field from a table buffer. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif getInstanceRelationType Returns the table name that corresponds to the InstanceRelationType ID. (Inherited from xRecord.)
Gg945801.privmethod(en-us,AX.60).gif getOverBudgetAction
Gg945801.pubmethod(en-us,AX.60).gif getPhysicalTableName Return the physical table name, which, in the case of the SQL Temp DB table, is the table instance name. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif getPresenceFieldData Retrieves the PresenceInfo value from the specified field. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif getSQLStatement Gets the SQL statement that is used to return records from the database. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif getTableInInstanceHierarchy (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif getTableType Indicates the type of the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif getUserId Gets the user ID of the worker for whom the expense report is compiled.
Gg945801.privmethod(en-us,AX.60).gif gotImportedCreditCardLines
Gg945801.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif hasDisputeTransactions Determines whether the expense report has disputed transactions.
Gg945801.pubmethod(en-us,AX.60).gif hasInterCompanyTransactions Determines whether the expense report has intercompany transactions.
Gg945801.pubmethod(en-us,AX.60).gif hasReceiptsAttached Indicates whether an expense report has any receipts attached to it.
Gg945801.pubmethod(en-us,AX.60).gif hasRelatedTable Indicates whether a foreign key constraint buffer is linked with the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif hasTransactionWithEmptyCategoryOrZeroAmt Checks whether there are any transactions with an empty category or a zero amount.
Gg945801.pubmethod(en-us,AX.60).gif helpField Retrieves a string that contains the Help text for the specified field. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif initValue Initializes field values in a new TrvExpTable record.
Gg945801.pubmethod(en-us,AX.60).gif inputStatus Sets or returns the current input status of the table buffer. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif insert Inserts the current record into the database.
Gg945801.pubmethod(en-us,AX.60).gif interactiveContext Sets or returns the current interactive context of the table buffer. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif isBudgetFailed Indicates whether any expense line has budget status of failed.
Gg945801.pubmethod(en-us,AX.60).gif isEditable Indicates whether the current expense document is editable, depending on the workflow status.
Gg945801.pubmethod(en-us,AX.60).gif isFieldDataRetrieved Checks whether the data of the given field has been retrieved. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif isFieldSet Checks whether a field has a Set or Defaulted state. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif isFormDataSource Indicates whether the data source is a form. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif isItemizationComplete Indicates whether all of the lines that can be itemized for an expense report are itemized.
Gg945801.pubmethod(en-us,AX.60).gif isNewRecord Returns true if the record is a new record that hasn't been persisted yet. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif isPartOfUOWSaveChanges (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif isProjBudgetFailed Checks whether any expense line has a project budget status of failed.
Gg945801.pubmethod(en-us,AX.60).gif isTempDb Indicates whether the type of the table is SQL TempDB. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif isTmp Indicates whether this is a temporary table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif isTravelRequisitionAssociated Indicates whether a travel requisition is associated to the expense report.
Gg945801.pubmethod(en-us,AX.60).gif itemizationStatus Gets the itemization status for an expense report.
Gg945801.pubmethod(en-us,AX.60).gif joinChild Finds the join child of the current record. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif joinParent Finds the join parent of the current record. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif linkPhysicalTableInstance Checks whether there is a link for the physical table instance for the record. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif mappedTravelRequisitionNumber Gives the requisition number of a mapped travel requisition.
Gg945801.pubmethod(en-us,AX.60).gif merge Merges the current table with the specified table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif modifiedField
Gg945801.pubmethod(en-us,AX.60).gif modifiedFieldValue Modifies the specified field to the original value. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif orig Retrieves the original values of the current record. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif overwriteSystemfields Gets and sets the property that indicates whether system fields can be overwritten. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif parmSourceDocHeaderTypeEnumName
Gg945801.pubmethod(en-us,AX.60).gif parmSourceDocHeaderTypeEnumValue
Gg945801.pubmethod(en-us,AX.60).gif personnelNumber Gets the personnel number of the worker, to whom the expense report belongs.
Gg945801.pubmethod(en-us,AX.60).gif policyViolationCount Gets the total number of policy violations for the expense report.
Gg945801.pubmethod(en-us,AX.60).gif policyViolationLevelMsg Gets a concatenated String of all the policy violation messages for the expense header.
Gg945801.pubmethod(en-us,AX.60).gif postApprove Creates the committed cost for an expense report.
Gg945801.pubmethod(en-us,AX.60).gif postCacheLoad Is executed after data is hit from the cache for the select operation on the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif postLoad Is executed after a record is read. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif 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. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif previewPaneTitle Gives the title on top of the preview pane.
Gg945801.pubmethod(en-us,AX.60).gif queryTimedOut Indicates whether the query exceeded the time limit for execution. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif queryTimeout Gets and sets the property that indicates the time limit for the execution of a query. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif queueAssignedDate Gets the date that the queued expense reports were assigned to the work item queue.
Gg945801.pubmethod(en-us,AX.60).gif queueName Gets the work item queue name that the queued expense reports are assigned to.
Gg945801.pubmethod(en-us,AX.60).gif readCommittedLock (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif readPast Gets and sets the property that indicates whether to skip rows that are locked by other processes when a record is read. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif recordLevelSecurity Gets and sets the property that indicates whether to apply security on a record level. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif relatedTable Sets or returns the related buffer of a link of a table buffer. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif renamePrimaryKey Renames the foreign keys in other tables according to the change of the corresponding primary key value in this table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif reread Rereads the record from the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif RowCount Retrieves the number of rows in the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif selectForUpdate Gets and sets the property that indicates whether to select records for update when they are read. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif selectLocked Indicates whether to select locked records. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif selectRefRecord Selects the record by referenced field ID. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif selectWithRepeatableRead Gets and sets the property that indicates whether repeatable read is enabled. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif setConnection Sets the user connection for this table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif setCrossPartition Sets or resets cross-partitioning for the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif setDefaultDimension Sets the default dimensions for an expense header.
Gg945801.pubmethod(en-us,AX.60).gif setFieldValue Sets the field value in the record buffer. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif setSQLTracing Enables or disables SQL tracing mode. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif setTmp Sets the table so that it is not persisted to the database. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif setTmpData Sets the contents of the temporary table to the specified data. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif setXDSContext Sets new XDS context. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif skipAosValidation Gets and sets the property that indicates whether to skip validation of Microsoft Dynamics AX Application Object Server (AOS). (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif skipDatabaseLog Gets and sets the property that indicates whether to skip database log requests. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif skipDataMethods Gets and sets the property that indicates whether to discard overloaded methods. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif skipDeleteActions Gets and sets the property that indicates whether to skip delete actions on the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif skipDeleteMethod Gets and sets the property that indicates whether to discard overloaded methods. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif skipEvents Provides an option to turn off calling the Application.event* methods for the lifetime of an xRecord object. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif skipPostLoad Gets and sets the property that indicates whether to skip executing the xRecord.postLoad method on the table. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif skipTTSCheck Gets and sets the property that indicates whether to skip the check to determine whether the record is selected for update. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif sumAdvance Gives the total amount of cash advances for this expense report.
Gg945801.pubmethod(en-us,AX.60).gif sumAllowance Gives the total per diem expenses for this expense report.
Gg945801.pubmethod(en-us,AX.60).gif sumExpense Gives the total miscellaneous expenses for this expense report.
Gg945801.pubmethod(en-us,AX.60).gif sumTransport Gives the total mileage expenses for this expense report.
Gg945801.pubmethod(en-us,AX.60).gif suppressWarnings Gets and sets the property that indicates whether to suppress warnings for this pointer. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif tableAccessRight Returns the table access right. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif tableBufferAccessRight Returns the table access right for the current record. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif takeOwnershipOfTempDBTable (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif toolTipField Retrieves the HelpText value for the specified field. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif toolTipRecord Retrieves the ToolTip value for the current record. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif total Gives the total amount for this expense report.
Gg945801.pubmethod(en-us,AX.60).gif totalAmountAuthorized Gives the total amount on the associated travel requisition.
Gg945801.pubmethod(en-us,AX.60).gif totalAmountAuthorizedWithCurrencyCode Displays the total amount on an associated travel requisition in company currency with a corresponding company currency code.
Gg945801.pubmethod(en-us,AX.60).gif totalApprovalAmount Displays the total approval amount in company currency.
Gg945801.pubmethod(en-us,AX.60).gif totalApprovalAmountWithCurrencyCode Displays the total approval amount in company currency and the company currency code.
Gg945801.pubmethod(en-us,AX.60).gif totalCreditCard Gives the total credit card expenses for the current expense report.
Gg945801.pubmethod(en-us,AX.60).gif totalMileageMethod Gives the total mileage from all the mileage expense lines for this expense report.
Gg945801.pubmethod(en-us,AX.60).gif totalOutOfPocket Gives the total out of pocket expenses for the current expense report.
Gg945801.pubmethod(en-us,AX.60).gif totalPersonal Gives the total personal expenses for the current expense report.
Gg945801.pubmethod(en-us,AX.60).gif totalPersonalWithCurrencyCode Displays total personal amount along with the currency code.
Gg945801.pubmethod(en-us,AX.60).gif totalWithCurrencyCode Displays total amount along with the currency code.
Gg945801.pubmethod(en-us,AX.60).gif trvReportDate Gets the created date for the expense report in the user's timezone.
Gg945801.pubmethod(en-us,AX.60).gif ttsabort Aborts a transaction that was started by a call to the ttsbegin method. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif ttsbegin Starts a transaction that can be either committed by the ttscommit method or aborted by the ttsabort method. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif ttscommit Commits a transaction that was started by a call to the ttsbegin method. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif update Updates the current record in the database.
Gg945801.pubmethod(en-us,AX.60).gif usageCount Retrieves the current number of references (the value of the reference counter) that the object has. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif useExistingTempDBTable (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif validateApprove Validates an expense report before it can be approved.
Gg945801.pubmethod(en-us,AX.60).gif validateDelete Determines whether the current record is valid and ready to be deleted from the database.
Gg945801.pubmethod(en-us,AX.60).gif validateField Determines whether the _p1 field is valid.
Gg945801.pubmethod(en-us,AX.60).gif validateFieldValue (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif validatePost Validates an expense report before it can be posted.
Gg945801.pubmethod(en-us,AX.60).gif validatePostForBudgetCheck Validates an expense report before it can be posted for budget errors.
Gg945801.privmethod(en-us,AX.60).gif validateProject Checks whether the project that is used in the expense header and lines are valid.
Gg945801.pubmethod(en-us,AX.60).gif validateSubmit Validates an expense report before it can be submitted.
Gg945801.pubmethod(en-us,AX.60).gif validateTransactionsForTaxRecovery Checks whether the tax information is filled for the eligible expense lines.
Gg945801.pubmethod(en-us,AX.60).gif validateWrite Determines whether the current record is valid and ready to be written to the database.
Gg945801.pubmethod(en-us,AX.60).gif validTimeStateUpdateMode Sets a valid time state update mode on the cursor. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg945801.pubmethod(en-us,AX.60).gif wasCached Specifies the location from which the data was retrieved. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif write Updates a record if it exists; otherwise, inserts a record. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gif xml Retrieves an XML string that represents the current object. (Inherited from xRecord.)
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::checkExist Indicates whether the specified record exists in the TrvExpTable table and displays a message if the record does not exist.
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::deleteRecId Deletes the specified TrvExpTable record, after confirming it can be deleted.
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::exist
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::find
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::findBySourceDocumentHeader Finds the expense report by using the specified source document header.
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::findBySourceDocumentLine Finds the expense report by using the specified source document line.
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::findRecId Finds the expense report by using the specified record ID.
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::findWorkItem Gets a WorkflowWorkItemTable table for a corresponding TrvExpTable table.
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::getAlternateKey Gets the alternate key for TrvExpTable including the company Id based on the LegalEntity.
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::insertNewRecord Creates a new expense report.
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::txtNotExist Gets the message to use when a specific record in the TrvExpTable table does not exist.
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::updateLineStatus
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::validateLedgerDimension Validates the specified ledger dimension.
Gg945801.pubmethod(en-us,AX.60).gifGg945801.static(en-us,AX.60).gif ::validateProjPolicies Checks whether the expense report has any policy violations.

Top

Fields

Field Type Configuration key Description
ApprovalStatus Enumeration: TrvAppStatus
Trv Status of approval of expense report.
createdBy Extended Data Type: CreatedBy
Type: String
None
createdDateTime Extended Data Type: CreatedDateTime
Type: UtcDateTime
None
createdTransactionId Extended Data Type: CreatedTransactionId
Type: Int64
None
CreatingWorker Extended Data Type: TrvHcmWorkerRecId
Type: Int64
None The worker that the expense report is for.
CustAccount Extended Data Type: CustAccount
Type: String
None Customer account number.
DefaultDimension Extended Data Type: DimensionDefault
Type: Int64
LedgerBasic Default dimensions
dEL_CreatedTime Extended Data Type: DEL_CreatedTime
Type: Integer
None (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS))
dEL_ModifiedTime Extended Data Type: DEL_ModifiedTime
Type: Integer
None (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS))
Destination Extended Data Type: TrvDestination
Type: String
Trv Location of the employee's expense
ExpNumber Extended Data Type: TrvExpNumber
Type: String
Trv Expense report number.
LegalEntity Extended Data Type: LegalEntity
Type: Int64
None Legal entity ID
modifiedBy Extended Data Type: ModifiedBy
Type: String
None
modifiedDateTime Extended Data Type: ModifiedDateTime
Type: UtcDateTime
None
modifiedTransactionId Extended Data Type: ModifiedTransactionId
Type: Int64
None
Partition Extended Data Type: Partition
Type: Int64
None (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS))
PostedDate Extended Data Type: TrvDateStd
Type: Date
Trv Posting date.
ProjId Extended Data Type: ProjId
Type: String
ProjBasic Project that the line is attached to.
ProjStatusId Extended Data Type: ProjLinePropertyId
Type: String
ProjBasicCost Status that the line is attached to.
RecId Extended Data Type: RecId
Type: Int64
None
recVersion Extended Data Type: RecVersion
Type: Integer
None
ReferenceDataAreaId Extended Data Type: DataAreaId
Type: String
None ID for an area of data
SourceDocumentHeader Extended Data Type: RefRecId
Type: Int64
None Reference field in a different table
SourceDocumentLine Extended Data Type: RefRecId
Type: Int64
None Reference field in a different table
Txt1 Extended Data Type: ItemFreeTxt
Type: String
LogisticsBasic Additional information
Txt2 Extended Data Type: TrvTravelTxtEDT
Type: String
Trv The purpose of the employee's expense.
UseInterCompanyExpense Extended Data Type: NoYesId
Type: Enum
None If this check box is selected, you can enter intercompany expenses from this form. (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS))
VendAccount Extended Data Type: VendAccount
Type: String
None Vendor account number.

Top

Field Groups

Field Group Fields
DimensionName
AutoLookup
Account
AutoIdentification
AutoReport
BarcodeCoverPage
EPNew
All
CaseMoreInformation
Description
expense
General
RelatedInfo
SourceDocumentLine
Status
TravelPeriod
WebCategoryBrowsing
InterCompanyExpense
Project
ReferenceDataArea
WorkerListPage
Workflow
WorkflowOverview
WorkflowSummary
SourceDocumentHeader
Totals
WorkerInfoPart

Top

Relations

Relation Table Lines
CompanyInfo CompanyInfo
CustAccount CustTable
CustTable CustTable
DefaultDimension DimensionAttributeValueSet
ExpensePurpose TrvTravelTxt
ExpNumber TrvExpTable
LegalEntity CompanyInfo
Partition Partitions
ProjId ProjTable
ProjLineProperty ProjLineProperty
ProjStatusId ProjLineProperty
ProjTable_ProjId ProjTable
SourceDocumentHeader SourceDocumentHeader
SourceDocumentLine SourceDocumentLine
TrvDestinations TrvDestinations
TrvHcmWorker HcmWorker
VendAccount VendTable
VendTable VendTable

Top

Indexes

Index AllowDuplicates Enabled Fields
EmpExpIdx No Yes
ExpNoIdx No Yes
FK_DimensionAttributeValueSet_TrvExpTabl Yes Yes
RecId No Yes
SourceDocumentHeaderIdx No Yes
TrvCreatingWorkerIdx Yes Yes

Top

Inheritance Hierarchy

xRecord Class
  Common Table
    TrvExpTable Table

See Also

Table Methods

Tables Overview