EPTrv Class [AX 2012]
The EPTrv class serves as a helper class for a travel and expense module.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the EPTrv class. |
| 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.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::addExpTypeRange | |
| ::addInternalGuest | Adds a new internal guest to an expense line. |
| ::addNonProjectCostTypeFilter | |
| ::addWorkerCategoryValidation | |
| ::allApproversJustifications | Gets the justifications entered by every approver. |
| ::amountWithCurrencyCode | Gets the amount together with the currency code. |
| ::amountWithTransactionCurrencyCode | Gets the amount together with the transaction currency code. |
| ::buildQueryCompanyLookup | Returns a query of the CompanyInfo table with the InterCompany value enabled. |
| ::categoryLookup | Gets a query for the category lookup for the specified project and worker. |
| ::categoryWithPaymethodQuery | Gets a query for the lookup of the valid categories for the specified payment method. |
| ::convertUTCDateTimeToTimeZoneDateTime | Converts a UTC datetime value to the local time zone of the user. |
| ::convertUTCDateToTimeZoneDate | Converts a UTC datetime value to the local time zone of the user. |
| ::costTypeLookupQuery | Gets a query for the payment method lookup for the specified category. |
| ::createdDateTimeWithinDelegationPeriods | Determines whether the created datetime of the document is within the delegation periods of the user. |
| ::createExpenseCategoryMenu | Creates the Web menu item container that contains menu items for the expense categories. |
| ::creditCardMaskedNumber | Gets the last four digits of the credit card number. |
| ::dateFallsInRange | |
| ::delegateUsersEPLookupQuery | Returns query for users lookup, for the specified WorkflowWorkItemTable record. |
| ::deleteExpenseReportWithReceipts | Deletes expense reports, which have receipts attached. |
| ::expenseCategoriesByPaymethodMap | Gets a map of valid expense categories for a given payment method for a given worker |
| ::expenseLineIsSplit | Determines whether the expense report can be split. |
| ::expenseReportIsEditable | Determines whether the expense report is editable. |
| ::findBankLedgerDimension | Finds the main account for a given bank account number. |
| ::getCategories | Gets all expense categories associated to a worker |
| ::getCompanyCurrency | Gets the company accounting currency. |
| ::getGuestLabel | Determines the label text for a guest button that is based on the expense type and the expense subcategory for itemized lines. |
| ::getHeaderCustomFields | Gets the TrvAdminCustomFields records for the expense header table for the current company. |
| ::getInterCompanyLegalEntities | Gets all intercompany legal entities. |
| ::getPersonalCategory | Gets the first personal category that is valid for the specified payment method. |
| ::GetSubCategoriesforCategory | Gets all the subcategories for a particular expense category. |
| ::getTransactionCustomFields | Gets all the TrvAdminCustomFields records for the expense transaction tables for the current company. |
| ::getUpdatedAccountingDate | Get the corrected accounting date if the fiscal period is not open. |
| ::getUserInfo | Get the UserInfo record for a given user id. |
| ::getUserPreferredTimeZoneDate | |
| ::getWorkFlowActionPaneButtons | Returns list of menu items, for the specified workflow enabled report record id. |
| ::giftSummary | Calculates summary values for a gift expense line. |
| ::hasEmploymentInCurrentLegalEntity | Determines whether the specified worker has current employment in the current legal entity. |
| ::hasEverHadEmploymentInCurrentLegalEntity | Determines whether the specified worker has ever had employment in the current legal entity. |
| ::hideAllAdminCustomizableFields | Hides every admin customizable field on the dataset. |
| ::internalGuestsQuery | Gets a query for internal guests. |
| ::isBudgetControlEnabled | Determines whether budget control is enabled for the given budget control source integrator. |
| ::isGiftExpense | Determines if the expense line is for the Gift type. |
| ::isProjectBudgetControlEnabled | Determines whether budget control for a project is enabled for the specified expense report or travel requisition. |
| ::isTravelRequisitionAssociated | Determines whether a travel requisition is associated with the specified expense report. |
| ::merchantIdLookupQuery | Gets a query for merchant lookup that is specific to the category. |
| ::mileageRateTiersHasPassengersSetup | Determines whether passengers have been set up in mileage rate tiers. |
| ::mileageRateTiersHasVehicleTypeSetup | Determines whether vehicles types have been set up in mileage rate tiers. |
| ::numberOfPersonalCategories | Gets the number of personal categories that are valid for the specified payment method. |
| ::numberOfUnreconciledExpenses | Gets the number of unreconciled expenses for the worker. |
| ::otherApproversJustifications | Gets the justifications entered by the other approvers, excluding the current approver. |
| ::projectCategoryLookup | Returns a query for project category lookup, for the specified worker. |
| ::projectLinePropertyLookupQuery | Returns a query for project line property lookup legal entity. |
| ::projectLookup | Gets a query for a project lookup for the specified worker and category. |
| ::receiptsAttachedToExpenseReport | Determines whether there are any receipts attached to the specified expense report. |
| ::reportIsEditable | Determines whether the expense report is editable. |
| ::salesTaxGroupLookupQuery | Gets a query for a sales tax group for the specified country. |
| ::setImagesOnCategoryMenuItem | |
| ::smmActivitiesLookupQuery | Returns a query for the project activities lookup legal entity |
| ::smmActivitiesLookupQueryRecId | Returns a query for the project activities lookup legal entity |
| ::transfer2Expense | Adds the selected unreconciled transactions to an expense report. |
| ::userHasAccessToDocument | Determines whether the current user has access to the specified document. |
| ::userHasAccessToExpenseReportNumber | Determines whether the current user has access to the specified expense report. |
| ::userHasAccessToExpenseReportRecId | Determines whether the current user has access to the specified expense report. |
| ::userHasAccessToTravelRequisition | Determines whether the current user has access to the specified travel requisition. |
| ::userHasCurrentDelegateAccessFor | Determines whether the user has current delegate access for the specified worker. |
| ::userHasDelegateAccessToDocument | Determines whether a user has delegate access to a document. |
| ::userIsOriginatorForExpenseReport | Determines whether the current user is the originator for the expense report. |
| ::userIsValidEmployee | Determines whether the current user is a valid worker. |
| ::userIsValidWorkflowApprover | Determines whether the current user is a valid workflow approver for the specified transaction. |
| ::validateInterCompanyDataArea | Determines whether the company is a valid intercompany company. |
| ::workerHasProjectCategories | Determines whether a worker has project specific categories. |
| ::workflowContextDataAreaId | Gets the dataAreaId context to use for the execution of a workflow. |
Community Additions
ADD
Show: