msdyn_opportunitylineresourcecategory EntityType

List of roles that will be considered as costs when understanding the profit of an opportunity line.

Entity Set Path
[organization URI]/api/data/v9.0/msdyn_opportunitylineresourcecategories
Base Type
Display Name
Opportunity Line Resource Category
Primary Key
Primary Key Attribute
Operations Supported


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_billingtype Edm.Int32

Select the billing type of the role on this opportunity line. The billing type can be Chargeable, Non-chargeable or Complimentary.

Display Name: Billing Type

Default Options
Value Label
192350000 Non Chargeable
192350001 Chargeable
192350002 Complimentary
192350003 Not Available
msdyn_description Edm.String

Type the name of the custom entity.

Display Name: Description

msdyn_opportunitylineresourcecategoryid Edm.Guid

Shows the entity instances.

Display Name: Opportunity Line Resource Category

overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display Name: Record Created On

statecode Edm.Int32

Status of the Opportunity Line Resource Category

Display Name: Status

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

Reason for the status of the Opportunity Line Resource 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_opportunitylinetransactionclassification_value msdyn_OpportunityLineTransactionClassification

Select the transaction classification that applies to this opportunity line. Select the transaction classifications can be Select the time, Expense, Material or Fee

_msdyn_resourcecategory_value msdyn_ResourceCategory

Select the role that applies to this opportunity line.

_ownerid_value ownerid

Owner Id

_owningbusinessunit_value owningbusinessunit

Unique identifier for the business unit that owns the record

_owningteam_value owningteam

Unique identifier for the team that owns the record.

_owninguser_value owninguser

Unique identifier for the user that owns the record.

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_opportunitylineresourcecategory_createdby
createdonbehalfby systemuser lk_msdyn_opportunitylineresourcecategory_createdonbehalfby
modifiedby systemuser lk_msdyn_opportunitylineresourcecategory_modifiedby
modifiedonbehalfby systemuser lk_msdyn_opportunitylineresourcecategory_modifiedonbehalfby
msdyn_OpportunityLineTransactionClassification msdyn_opportunitylinetransactionclassificatio msdyn_opportunitylinetransactionclassificatio_opportunitylineresourcecategory_OppLineTransClass
msdyn_ResourceCategory bookableresourcecategory msdyn_bookableresourcecategory_msdyn_opportunitylineresourcecategory_ResourceCategory
ownerid principal owner_msdyn_opportunitylineresourcecategory
owningbusinessunit businessunit business_unit_msdyn_opportunitylineresourcecategory
owningteam team team_msdyn_opportunitylineresourcecategory
owninguser systemuser user_msdyn_opportunitylineresourcecategory

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_opportunitylineresourcecategory_Annotations annotation objectid_msdyn_opportunitylineresourcecategory
msdyn_opportunitylineresourcecategory_AsyncOperations asyncoperation regardingobjectid_msdyn_opportunitylineresourcecategory
msdyn_opportunitylineresourcecategory_BulkDeleteFailures bulkdeletefailure regardingobjectid_msdyn_opportunitylineresourcecategory
msdyn_opportunitylineresourcecategory_DuplicateBaseRecord duplicaterecord baserecordid_msdyn_opportunitylineresourcecategory
msdyn_opportunitylineresourcecategory_DuplicateMatchingRecord duplicaterecord duplicaterecordid_msdyn_opportunitylineresourcecategory
msdyn_opportunitylineresourcecategory_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_msdyn_opportunitylineresourcecategory
msdyn_opportunitylineresourcecategory_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_msdyn_opportunitylineresourcecategory
msdyn_opportunitylineresourcecategory_ProcessSession processsession regardingobjectid_msdyn_opportunitylineresourcecategory
msdyn_opportunitylineresourcecategory_SyncErrors syncerror regardingobjectid_msdyn_opportunitylineresourcecategory


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

Name Binding
GrantAccess Not Bound
IsValidStateTransition Not Bound
ModifyAccess Not Bound
RetrievePrincipalAccess Not Bound
RetrieveSharedPrincipalsAndAccess Not Bound
RevokeAccess Not Bound


The following solutions include the msdyn_opportunitylineresourcecategory 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