msdyn_expensecategory EntityType

Main container that holds expense category information.

Entity Set Path
[organization URI]/api/data/v9.0/msdyn_expensecategories
Base Type
crmbaseentity
Display Name
Expense Category
Primary Key
msdyn_expensecategoryid
Primary Key Attribute
msdyn_name
Operations Supported
POST GET PATCH DELETE

Properties

Properties represent fields of data stored in the entity.Some properties are read-only.

Name Type Details
createdon Edm.DateTimeOffset

Date and time when the record was created.

Display Name: Created On

Read Only
importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display Name: Import Sequence Number

modifiedon Edm.DateTimeOffset

Date and time when the record was modified.

Display Name: Modified On

Read Only
msdyn_expensecategoryid Edm.Guid

Shows the entity instances.

Display Name: Expense Category

msdyn_expensetype Edm.Int32

Enter the type of expense

Display Name: Expense Type

Default Options
Value Label
192350001 Car Rental
192350002 Meal
192350003 Airline
192350004 Entertainment
192350005 Gift
192350006 Conference
192350007 Miscellaneous
192350008 Mileage
192350009 Per diem
192350000 Hotel
msdyn_name Edm.String

Type the name of the custom entity.

Display Name: Name

msdyn_receiptrequired Edm.Int32

Shows whether the expense entry requires a receipt.

Display Name: Receipt Required

Default Options
Value Label
192350000 Optional
192350001 Mandatory
overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display Name: Record Created On

statecode Edm.Int32

Status of the Expense Category

Display Name: Status

Default Options
Value Label
0 Active
1 Inactive
statuscode Edm.Int32

Reason for the status of the Expense Category

Display Name: Status Reason

Default Options
Value Label
1 Active
2 Inactive
timezoneruleversionnumber Edm.Int32

For internal use only.

Display Name: Time Zone Rule Version Number

utcconversiontimezonecode Edm.Int32

Time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber Edm.Int64

Version Number

Display Name: Version Number

Read Only

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties.

Name Single-valued navigation property Description
_createdby_value createdby

Unique identifier of the user who created the record.

_createdonbehalfby_value createdonbehalfby

Unique identifier of the delegate user who created the record.

_modifiedby_value modifiedby

Unique identifier of the user who modified the record.

_modifiedonbehalfby_value modifiedonbehalfby

Unique identifier of the delegate user who modified the record.

_msdyn_expensecategoryuid_value msdyn_ExpenseCategoryuId

Select the Transaction Category associated with Expense Category.

_organizationid_value organizationid

Unique identifier for the organization

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name Type Partner
createdby systemuser lk_msdyn_expensecategory_createdby
createdonbehalfby systemuser lk_msdyn_expensecategory_createdonbehalfby
modifiedby systemuser lk_msdyn_expensecategory_modifiedby
modifiedonbehalfby systemuser lk_msdyn_expensecategory_modifiedonbehalfby
msdyn_ExpenseCategoryuId msdyn_transactioncategory msdyn_msdyn_transactioncategory_msdyn_expensecatego
organizationid organization organization_msdyn_expensecategory

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name Type Partner
msdyn_expensecategory_Annotations annotation objectid_msdyn_expensecategory
msdyn_expensecategory_AsyncOperations asyncoperation regardingobjectid_msdyn_expensecategory
msdyn_expensecategory_BulkDeleteFailures bulkdeletefailure regardingobjectid_msdyn_expensecategory
msdyn_expensecategory_DuplicateBaseRecord duplicaterecord baserecordid_msdyn_expensecategory
msdyn_expensecategory_DuplicateMatchingRecord duplicaterecord duplicaterecordid_msdyn_expensecategory
msdyn_expensecategory_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_msdyn_expensecategory
msdyn_expensecategory_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_msdyn_expensecategory
msdyn_expensecategory_ProcessSession processsession regardingobjectid_msdyn_expensecategory
msdyn_expensecategory_SyncErrors syncerror regardingobjectid_msdyn_expensecategory
msdyn_msdyn_expensecategory_msdyn_expense_ExpenseCategory msdyn_expense msdyn_ExpenseCategory
msdyn_msdyn_expensecategory_msdyn_projectapproval_ExpenseCategory msdyn_projectapproval msdyn_ExpenseCategory

Operations

The following operations can be used with the msdyn_expensecategory entity type.

Name Binding
IsValidStateTransition Not Bound

Solutions

The following solutions include the msdyn_expensecategory entity type.

Name Description
Project Service Automation Microsoft Dynamics 365 for Project Service Automation is an end-to-end solution that helps sales and delivery teams engage customers and deliver billable projects on time and within budget. Project Service gives you the tools you need to: Estimate, quote, and contract work; Plan and assign resources; Enable team collaboration; Capture time, expense, and progress data for real-time insights and accurate invoicing.

See also