Edit

Share via


Tax Code (msdyn_taxcode) table/entity reference (Microsoft Dynamics 365 Field Service)

Store tax related information. Each tax code could contain multiple child tax codes, and in that case the tax rate will be determined by the total tax of all children.

Messages

The following table lists the messages for the Tax Code (msdyn_taxcode) table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Assign
Event: True
PATCH /msdyn_taxcodes(msdyn_taxcodeid)
Update the ownerid property.
AssignRequest
Associate
Event: True
Associate records Associate records
BulkRetain
Event: True
BulkRetain Learn to use messages with the SDK for .NET
Create
Event: True
POST /msdyn_taxcodes
See Create
Create records
CreateMultiple
Event: True
CreateMultiple CreateMultipleRequest
Delete
Event: True
DELETE /msdyn_taxcodes(msdyn_taxcodeid)
See Delete
Delete records
Disassociate
Event: True
Disassociate records Disassociate records
GrantAccess
Event: True
GrantAccess GrantAccessRequest
IsValidStateTransition
Event: False
IsValidStateTransition IsValidStateTransitionRequest
ModifyAccess
Event: True
ModifyAccess ModifyAccessRequest
PurgeRetainedContent
Event: True
PurgeRetainedContent Learn to use messages with the SDK for .NET
Restore
Event: True
Restore Learn to use messages with the SDK for .NET
Retain
Event: True
Retain Learn to use messages with the SDK for .NET
Retrieve
Event: True
GET /msdyn_taxcodes(msdyn_taxcodeid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: True
GET /msdyn_taxcodes
See Query data
Query data
RetrievePrincipalAccess
Event: True
RetrievePrincipalAccess RetrievePrincipalAccessRequest
RetrieveSharedPrincipalsAndAccess
Event: True
RetrieveSharedPrincipalsAndAccess RetrieveSharedPrincipalsAndAccessRequest
RevokeAccess
Event: True
RevokeAccess RevokeAccessRequest
RollbackRetain
Event: True
RollbackRetain Learn to use messages with the SDK for .NET
SetState
Event: True
PATCH /msdyn_taxcodes(msdyn_taxcodeid)
Update the statecode and statuscode properties.
SetStateRequest
Update
Event: True
PATCH /msdyn_taxcodes(msdyn_taxcodeid)
See Update
Update records
UpdateMultiple
Event: True
UpdateMultiple UpdateMultipleRequest
Upsert
Event: False
PATCH /msdyn_taxcodes(msdyn_taxcodeid)
See Upsert a table row
UpsertRequest
UpsertMultiple
Event: False
UpsertMultiple UpsertMultipleRequest
ValidateRetentionConfig
Event: True
ValidateRetentionConfig Learn to use messages with the SDK for .NET

Properties

The following table lists selected properties for the Tax Code (msdyn_taxcode) table.

Property Value
DisplayName Tax Code
DisplayCollectionName Tax Codes
SchemaName msdyn_taxcode
CollectionSchemaName msdyn_taxcodes
EntitySetName msdyn_taxcodes
LogicalName msdyn_taxcode
LogicalCollectionName msdyn_taxcodes
PrimaryIdAttribute msdyn_taxcodeid
PrimaryNameAttribute msdyn_name
TableType Standard
OwnershipType UserOwned

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

ImportSequenceNumber

Property Value
Description Shows the sequence number of the import that created this record.
DisplayName Import Sequence Number
IsValidForForm False
IsValidForRead True
LogicalName importsequencenumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -2147483648

msdyn_ActasTaxGroup

Property Value
Description If set as a Tax Group the tax rate will be the total of all the Tax Code details combined
DisplayName Act as Tax Group
IsValidForForm True
IsValidForRead True
LogicalName msdyn_actastaxgroup
RequiredLevel ApplicationRequired
Type Boolean
GlobalChoiceName msdyn_taxcode_msdyn_actastaxgroup
DefaultValue False
True Label Yes
False Label No

msdyn_AgreementTaxable

Property Value
Description Select whether this tax code applies to service agreements.
DisplayName Agreement Taxable
IsValidForForm True
IsValidForRead True
LogicalName msdyn_agreementtaxable
RequiredLevel ApplicationRequired
Type Boolean
GlobalChoiceName msdyn_taxcode_msdyn_agreementtaxable
DefaultValue True
True Label Yes
False Label No

msdyn_name

Property Value
Description Type the sales tax code name.
DisplayName Name
IsValidForForm True
IsValidForRead True
LogicalName msdyn_name
RequiredLevel ApplicationRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

msdyn_ProductsTaxable

Property Value
Description Select whether this tax code applies to products.
DisplayName Products Taxable
IsValidForForm True
IsValidForRead True
LogicalName msdyn_productstaxable
RequiredLevel ApplicationRequired
Type Boolean
GlobalChoiceName msdyn_taxcode_msdyn_productstaxable
DefaultValue True
True Label Yes
False Label No

msdyn_ServicesTaxable

Property Value
Description Select whether this tax code applies to services.
DisplayName Services Taxable
IsValidForForm True
IsValidForRead True
LogicalName msdyn_servicestaxable
RequiredLevel ApplicationRequired
Type Boolean
GlobalChoiceName msdyn_taxcode_msdyn_servicestaxable
DefaultValue True
True Label Yes
False Label No

msdyn_taxcodeId

Property Value
Description Shows the entity instances.
DisplayName Tax Code
IsValidForForm False
IsValidForRead True
LogicalName msdyn_taxcodeid
RequiredLevel SystemRequired
Type Uniqueidentifier

msdyn_TaxRate

Property Value
Description Enter the rate of this sales tax code.
DisplayName Tax Rate %
IsValidForForm True
IsValidForRead True
LogicalName msdyn_taxrate
RequiredLevel None
Type Double
ImeMode Auto
MaxValue 100
MinValue 0
Precision 5

OverriddenCreatedOn

Property Value
Description Shows the date and time that the record was migrated.
DisplayName Record Created On
IsValidForForm False
IsValidForRead True
LogicalName overriddencreatedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

OwnerId

Property Value
Description Owner Id
DisplayName Owner
IsValidForForm True
IsValidForRead True
LogicalName ownerid
RequiredLevel SystemRequired
Type Owner
Targets systemuser, team

OwnerIdType

Property Value
Description Owner Id Type
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridtype
RequiredLevel SystemRequired
Type EntityName

statecode

Property Value
Description Status of the Tax Code
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State
DefaultFormValue
GlobalChoiceName msdyn_taxcode_statecode

statecode Choices/Options

Value Details
0 Label: Active
DefaultStatus: 1
InvariantName: Active
1 Label: Inactive
DefaultStatus: 2
InvariantName: Inactive

statuscode

Property Value
Description Reason for the status of the Tax Code
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel None
Type Status
DefaultFormValue
GlobalChoiceName msdyn_taxcode_statuscode

statuscode Choices/Options

Value Details
1 Label: Active
State:0
TransitionData: None
2 Label: Inactive
State:1
TransitionData: None

TimeZoneRuleVersionNumber

Property Value
Description For internal use only.
DisplayName Time Zone Rule Version Number
IsValidForForm False
IsValidForRead True
LogicalName timezoneruleversionnumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

UTCConversionTimeZoneCode

Property Value
Description Shows the time zone code that was in use when the record was created.
DisplayName UTC Conversion Time Zone Code
IsValidForForm False
IsValidForRead True
LogicalName utcconversiontimezonecode
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

CreatedBy

Property Value
Description Unique identifier of the user who created the record.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel None
Type Lookup
Targets systemuser

CreatedOn

Property Value
Description Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

CreatedOnBehalfBy

Property Value
Description Shows who created the record on behalf of another user.
DisplayName Created By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedBy

Property Value
Description Unique identifier of the user who modified the record.
DisplayName Modified By
IsValidForForm True
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedOn

Property Value
Description Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.
DisplayName Modified On
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

ModifiedOnBehalfBy

Property Value
Description Shows who last updated the record on behalf of another user.
DisplayName Modified By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

OwnerIdName

Property Value
Description Name of the owner
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridname
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

OwnerIdYomiName

Property Value
Description Yomi name of the owner
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridyominame
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

OwningBusinessUnit

Property Value
Description Unique identifier for the business unit that owns the record
DisplayName Owning Business Unit
IsValidForForm True
IsValidForRead True
LogicalName owningbusinessunit
RequiredLevel None
Type Lookup
Targets businessunit

OwningTeam

Property Value
Description Unique identifier for the team that owns the record.
DisplayName Owning Team
IsValidForForm False
IsValidForRead True
LogicalName owningteam
RequiredLevel None
Type Lookup
Targets team

OwningUser

Property Value
Description Unique identifier for the user that owns the record.
DisplayName Owning User
IsValidForForm False
IsValidForRead True
LogicalName owninguser
RequiredLevel None
Type Lookup
Targets systemuser

VersionNumber

Property Value
Description Version Number
DisplayName Version Number
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

msdyn_msdyn_taxcode_account_SalesTaxCode

Many-To-One Relationship: account msdyn_msdyn_taxcode_account_SalesTaxCode

Property Value
ReferencingEntity account
ReferencingAttribute msdyn_salestaxcode
ReferencedEntityNavigationPropertyName msdyn_msdyn_taxcode_account_SalesTaxCode
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_taxcode_msdyn_actual_TaxCode

Many-To-One Relationship: msdyn_actual msdyn_msdyn_taxcode_msdyn_actual_TaxCode

Property Value
ReferencingEntity msdyn_actual
ReferencingAttribute msdyn_taxcode
ReferencedEntityNavigationPropertyName msdyn_msdyn_taxcode_msdyn_actual_TaxCode
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_taxcode_msdyn_agreement_SalesTaxCode

Many-To-One Relationship: msdyn_agreement msdyn_msdyn_taxcode_msdyn_agreement_SalesTaxCode

Property Value
ReferencingEntity msdyn_agreement
ReferencingAttribute msdyn_salestaxcode
ReferencedEntityNavigationPropertyName msdyn_msdyn_taxcode_msdyn_agreement_SalesTaxCode
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_taxcode_msdyn_purchaseorderbill_TaxCode

Many-To-One Relationship: msdyn_purchaseorderbill msdyn_msdyn_taxcode_msdyn_purchaseorderbill_TaxCode

Property Value
ReferencingEntity msdyn_purchaseorderbill
ReferencingAttribute msdyn_taxcode
ReferencedEntityNavigationPropertyName msdyn_msdyn_taxcode_msdyn_purchaseorderbill_TaxCode
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_taxcode_msdyn_rma_TaxCode

Many-To-One Relationship: msdyn_rma msdyn_msdyn_taxcode_msdyn_rma_TaxCode

Property Value
ReferencingEntity msdyn_rma
ReferencingAttribute msdyn_taxcode
ReferencedEntityNavigationPropertyName msdyn_msdyn_taxcode_msdyn_rma_TaxCode
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseLabel
Group: Details
Label: Tax Code
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_taxcode_msdyn_rtv_TaxCode

Many-To-One Relationship: msdyn_rtv msdyn_msdyn_taxcode_msdyn_rtv_TaxCode

Property Value
ReferencingEntity msdyn_rtv
ReferencingAttribute msdyn_taxcode
ReferencedEntityNavigationPropertyName msdyn_msdyn_taxcode_msdyn_rtv_TaxCode
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseLabel
Group: Details
Label: Tax Code
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_taxcode_msdyn_taxcodedetail_ParentTaxCode

Many-To-One Relationship: msdyn_taxcodedetail msdyn_msdyn_taxcode_msdyn_taxcodedetail_ParentTaxCode

Property Value
ReferencingEntity msdyn_taxcodedetail
ReferencingAttribute msdyn_parenttaxcode
ReferencedEntityNavigationPropertyName msdyn_msdyn_taxcode_msdyn_taxcodedetail_ParentTaxCode
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label: Tax Code Groups
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_taxcode_msdyn_taxcodedetail_TaxCode

Many-To-One Relationship: msdyn_taxcodedetail msdyn_msdyn_taxcode_msdyn_taxcodedetail_TaxCode

Property Value
ReferencingEntity msdyn_taxcodedetail
ReferencingAttribute msdyn_taxcode
ReferencedEntityNavigationPropertyName msdyn_msdyn_taxcode_msdyn_taxcodedetail_TaxCode
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseLabel
Group: Details
Label: Tax Code Items
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_msdyn_taxcode_msdyn_workorder_TaxCode

Many-To-One Relationship: msdyn_workorder msdyn_msdyn_taxcode_msdyn_workorder_TaxCode

Property Value
ReferencingEntity msdyn_workorder
ReferencingAttribute msdyn_taxcode
ReferencedEntityNavigationPropertyName msdyn_msdyn_taxcode_msdyn_workorder_TaxCode
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference