IsValidStateTransition Function

Parameters

Parameters allow for data to be passed to the function.

Name Type Nullable Unicode Description
Entity
crmbaseentity False True The record to validate.
NewState
Edm.String False False The proposed state for the record.
NewStatus
Edm.Int32 False True The proposed status for the record.

Return Type

The IsValidStateTransition function returns the following value.
Type Nullable Description
IsValidStateTransitionResponse False The IsValidStateTransition function returns the following value.

Entities

Use the IsValidStateTransition function with the following entity types:

Name Display Name Description
incident Case Service request case associated with a contract.
msdyn_accountpricelist Account Project Price List Sales price list for this customer to capture special pricing agreements for products, roles and categories.
msdyn_actual Actual
msdyn_agreement Agreement Provides ability to store details about service agreements you have with your customers
msdyn_agreementbookingdate Agreement Booking Date Specify the maintenance booking dates for the agreement.
msdyn_agreementbookingincident Agreement Booking Incident Specify the booking incident for the agreement.
msdyn_agreementbookingproduct Agreement Booking Product Specify the booking product for the agreement.
msdyn_agreementbookingservice Agreement Booking Service Specify the booking service for the agreement.
msdyn_agreementbookingservicetask Agreement Booking Service Task Specify the booking service task for the agreement.
msdyn_agreementbookingsetup Agreement Booking Setup Specify the maintenance bookings for the agreement.
msdyn_agreementinvoicedate Agreement Invoice Date Specify the invoice dates for the agreement.
msdyn_agreementinvoiceproduct Agreement Invoice Product Specify the booking product invoice for the agreement.
msdyn_agreementinvoicesetup Agreement Invoice Setup Specify the invoices for this agreement.
msdyn_agreementsubstatus Agreement Sub-Status Specify custom agreement sub-statuses, which can be used to specify the current agreement status more precisely.
msdyn_approval Approval Container for approvals.
msdyn_batchjob Batch Job Placeholder for workflows used for machine learning scenarios.
msdyn_bookingalert Booking Alert Alerts that notify schedule board users of booking issues or information.
msdyn_bookingalertstatus Booking Alert Status The status of a booking alert.
msdyn_bookingchange Booking Change An internal entity used to track changes that affect the schedule board.
msdyn_bookingjournal Booking Journal System generated journal to calculate the cost of the resource bookings
msdyn_bookingrule Booking Rule Specify custom rules to be validated by the system before saving a booking record.
msdyn_bookingsetupmetadata Booking Setup Metadata
msdyn_bookingtimestamp Booking Timestamp Tracks status changes of bookings and timestamps the change of the status
msdyn_bpf_2c5fe86acc8b414b8322ae571000c799 Purchase Order Business Process Base entity for process Purchase Order Business Process
msdyn_bpf_477c16f59170487b8b4dc895c5dcd09b CFS - IoT Alert Process Flow Base entity for process CFS - IoT Alert Process Flow
msdyn_bpf_665e73aa18c247d886bfc50499c73b82 Project Stages Base entity for process Project Stages
msdyn_bpf_989e9b1857e24af18787d5143b67523b Case to Work Order Business Process Base entity for process Case to Work Order Business Process
msdyn_bpf_baa0a411a239410cb8bded8b5fdd88e3 Agreement Business Process Base entity for process Agreement Business Process
msdyn_bpf_d3d97bac8c294105840e99e37a9d1c39 Work Order Business Process Base entity for process Work Order Business Process
msdyn_bpf_d8f9dc7f099f44db9d641dd81fbd470d Invoice Process Base entity for process Invoice Process
msdyn_characteristicreqforteammember Competency Requirement (Deprecated) Characteristic requirement for team member
msdyn_clientextension Client Extension
msdyn_configuration Configuration This entity is used to store queries and templates.
msdyn_contactpricelist Contact Price List Specific sales price list for this customer to capture special pricing agreements for products, roles, and categories.
msdyn_contractlineinvoiceschedule Project Contract Line Invoice Schedule List of dates that shows when invoicing for this customer should be run. This list is used by the invoice creation job.
msdyn_contractlinescheduleofvalue Project Contract Line Milestone List of billing milestones and invoice amounts for this project contract line.
msdyn_customerasset Customer Asset
msdyn_dataexport Actual Data Export (Deprecated) Data export entity for the actual entity.
msdyn_delegation Delegation Delegation of time, expense entities among users
msdyn_estimate Estimate Labor, cost, and revenue estimates for a project.
msdyn_estimateline Estimate Line Estimates on a per day timescale.
msdyn_expense Expense Main container that holds expense information.
msdyn_expensecategory Expense Category Main container that holds expense category information.
msdyn_expensereceipt Expense Receipt Table that contains expense receipt information.
msdyn_fact Fact Aggregated fact entity for actual transactions.
msdyn_fieldcomputation Field Computation Product properties whose values are to be considered as factors for quantity computation on a transaction line.
msdyn_fieldservicepricelistitem Field Service Price List Item Pricing options in addition to or above the Price List Items
msdyn_fieldservicesetting Field Service Setting Settings controlling functionality related to Field Service
msdyn_fieldservicesystemjob Field Service System Job An internal entity used to track field service system jobs.
msdyn_findworkevent Find Work Event Entity used for counting the number of times resources apply for open positions and other behavioral attributes of resources.
msdyn_incidenttype Incident Type Incident types define the various types of incidents (issues) that a customer could report, on which work orders are based.
msdyn_incidenttypecharacteristic Incident Type Characteristic Specify characteristic insident type.
msdyn_incidenttypeproduct Incident Type Product This entity gives the ability to pre-configure products to be added to a work order when the related incident is added to the work order
msdyn_incidenttypeservice Incident Type Service This entity gives the ability to pre-configure services to be added to a work order when the related incident is added to the work order
msdyn_incidenttypeservicetask Incident Type Service Task In this entity you define all the default service tasks that should be added to the work order as soon as this incident type is added to the work order
msdyn_integrationjob Integration Job Staging table for integration data
msdyn_integrationjobdetail Integration Job Detail Staging table for integration data lines
msdyn_inventoryadjustment Inventory Adjustment Records inventory adjustments
msdyn_inventoryadjustmentproduct Inventory Adjustment Product Records product affected by an inventory adjustment or inventory transfer
msdyn_inventoryjournal Inventory Journal Inventory change tracking
msdyn_inventorytransfer Inventory Transfer Records inventory adjustments
msdyn_invoicefrequency Invoice Frequency Setup entity for invoice schedules.
msdyn_invoicefrequencydetail Invoice Frequency Detail List of days expressed as dates or day of week for a specific invoice schedule template.
msdyn_invoicelinetransaction Invoice Line Detail Transactions that are associated to an invoice line.
msdyn_iotalert IoT Alert
msdyn_iotdevice IoT Device Represents a connected device that can registered with an IoT hub.
msdyn_iotdevicecategory IoT Device Category Used to categorize IoT devices.
msdyn_iotdevicecommand IoT Device Command Represents an outgoing message to a device connected to an IoT hub.
msdyn_iotdeviceregistrationhistory IoT Device Registration History Tracks registration activities on an IoT device.
msdyn_journal Journal Unposted business transactions, for example, time and expense.
msdyn_journalline Journal Line Unposted business transaction line details.
msdyn_mlresultcache Result Cache Cache for scored work items per resource that are returned from Azure Machine Learning.
msdyn_opportunitylineresourcecategory Opportunity Line Resource Category List of roles that will be considered as costs when understanding the profit of an opportunity line.
msdyn_opportunitylinetransaction Opportunity Line Detail Sales estimate detail of an opportunity line.
msdyn_opportunitylinetransactioncategory Opportunity Line Transaction Category List of transaction categories that will be considered as costs when computing the profit of an opportunity line.
msdyn_opportunitylinetransactionclassificatio Opportunity Line Transaction Classification List of transaction classification heads, which are four broad cost categories of time, expense, material, and fee, that will be considered as costs when computing the profit of an opportunity line.
msdyn_opportunitypricelist Opportunity Project Price List Sales price list that will used by the opportunity to set default sales prices on all project-based components such as time and expense.
msdyn_orderinvoicingdate Order Invoicing Date
msdyn_orderinvoicingproduct Order Invoicing Product
msdyn_orderinvoicingsetup Order Invoicing Setup
msdyn_orderinvoicingsetupdate Order Invoicing Setup Date
msdyn_orderlineresourcecategory Project Contract Line Resource Category List of roles that will be considered as costs when computing the profit of a project contract line.
msdyn_orderlinetransaction Project Contract Line Detail Sales estimate detail of an project contract line.
msdyn_orderlinetransactioncategory Project Contract Line Transaction Category List of transaction categories that will be considered as costs when computing the profit of a project contract line.
msdyn_orderlinetransactionclassification Project Contract Line Transaction Classification List of transaction classification heads, which are four broad cost categories of time, expense, material, and fee, that will be considered as costs when computing the profit of a project contract line.
msdyn_orderpricelist Project Contract Project Price List Sales price list used on the contract to set default sales prices on all project-based components such as time and expense.
msdyn_organizationalunit Organizational Unit Division of the company or organization that has a specific cost price list associated to it.
msdyn_payment Payment Specify payment.
msdyn_paymentdetail Payment Detail Specify payment details.
msdyn_paymentmethod Payment Method Specify payment method.
msdyn_paymentterm Payment Term Specify payment terms used for billing.
msdyn_postalbum Profile Album Contains user profile images that are stored as attachments and displayed in posts.
msdyn_postalcode Postal Code Specify postal codes and their relationship to territories.
msdyn_postconfig Post Configuration Enable or disable entities for Activity Feeds and Yammer collaboration.
msdyn_postruleconfig Post Rule Configuration Enable or disable system post rules for an entity for Activity Feeds and Yammer.
msdyn_priority Priority Priorities to be used on bookings. In addition, a color could be specified for each priority type and the color selected will be shown visually on the schedule board.
msdyn_processnotes Process Notes Stores messages or notes relevant to an operation or process executed by an entity.
msdyn_productinventory Product Inventory Inventory Record
msdyn_project Project Delivery entity in an engagement.
msdyn_projectapproval Project Approval
msdyn_projectparameter Project Parameter List of settings that determine the behavior of the project-based service solution.
msdyn_projectparameterpricelist Project Parameter Price List Set of default cost and sales price lists that the company uses when there are no specific pricing agreements for cost and sales.
msdyn_projectpricelist Project Price List
msdyn_projecttask Project Task Tasks related to project.
msdyn_projecttaskdependency Project Task Dependency Dependency data between tasks.
msdyn_projecttaskstatususer Project Task Status User User status for project tasks.
msdyn_projectteam Project Team Member Entity used to model relationship between resources and project teams.
msdyn_projectteammembersignup Project Team Member Sign-Up Entity used to capture all resources that have applied for open position on projects.
msdyn_projecttransactioncategory Project Transaction Category
msdyn_purchaseorder Purchase Order Record Purchase Orders pertaining to Work Orders or otherwise
msdyn_purchaseorderbill Purchase Order Bill Specify purchase order bill.
msdyn_purchaseorderproduct Purchase Order Product Record products to be ordered on purchase order
msdyn_purchaseorderreceipt Purchase Order Receipt Specify purchase order receipt.
msdyn_purchaseorderreceiptproduct Purchase Order Receipt Product Specify product for purchase order receipt.
msdyn_purchaseordersubstatus Purchase Order Sub Status Specify custom PO sub-statuses, which can be used to specify the current PO status more precisely.
msdyn_quotebookingincident Quote Booking Incident Stores the Incidents associated with Quote and Quote Booking Setup
msdyn_quotebookingproduct Quote Booking Product Provides ability to store information about the products that are associated with Quote Booking Setup
msdyn_quotebookingservice Quote Booking Service Stores details about the services associated with Quote Booking Setup
msdyn_quotebookingservicetask Quote Booking Service Task
msdyn_quotebookingsetup Quote Booking Setup Specify the maintenance bookings for the agreement.
msdyn_quoteinvoicingproduct Quote Invoicing Product
msdyn_quoteinvoicingsetup Quote Invoicing Setup
msdyn_quotelineanalyticsbreakdown Quote Line Analytics Breakdown Reporting entity that is used to show quoted sales and estimated cost amounts by various dimensions.
msdyn_quotelineinvoiceschedule Quote Line Invoice Schedule List of dates on which invoicing for this customer should be run. This list is used by an invoice creation job.
msdyn_quotelineresourcecategory Quote Line Resource Category List of roles that will be considered as costs when understanding the profit of a quote line.
msdyn_quotelinescheduleofvalue Quote Line Milestone List of billing milestones and invoice amounts for this quote line.
msdyn_quotelinetransaction Quote Line Detail Sales estimate detail of a quote line.
msdyn_quotelinetransactioncategory Quote Line Transaction Category List of transaction categories that will be considered as costs when computing the profit of a quote line.
msdyn_quotelinetransactionclassification Quote Line Transaction Classification List of transaction classification heads, the four broad cost classifications of time, expense, material, and fee, that will be considered as costs when computing the profit of a quote line.
msdyn_quotepricelist Quote Project Price List Sales price list that will used by the quote to default sales prices on all project-based components such as time and expense.
msdyn_requirementcharacteristic Requirement Characteristic Requirement Characteristic
msdyn_requirementorganizationunit Requirement Organization Unit Requirement of Organization Unit
msdyn_requirementresourcecategory Requirement Resource Category Requirement Resource Category
msdyn_requirementresourcepreference Requirement Resource Preference Requirement Resource Preference
msdyn_requirementstatus Requirement Status Requirement Status
msdyn_resourceassignment Resource Assignment Entity used to keep track of resource assignment header information on tasks.
msdyn_resourceassignmentdetail Resource Assignment Detail Entity used to keep track of resource assignment details on tasks.
msdyn_resourcecategorypricelevel Role Price List of prices by role on a price list.
msdyn_resourcepaytype Resource Pay Type Pay Types of resources hourly rate to calculate the resource cost
msdyn_resourcerequest Resource Request Entity that wraps the resource requirement to capture the type of resources, skills, and location required.
msdyn_resourcerequirement Resource Requirement Entity used to track the high-level information about resource requirements.
msdyn_resourcerequirementdetail Resource Requirement Detail Entity used to track the detailed information about resource requirements.
msdyn_resourceterritory Resource Territory Allows to specify for which territory a resource could provide services for
msdyn_rma RMA Records RMAs for products to be retuned from customers
msdyn_rmaproduct RMA Product Records products to be returned on an RMA
msdyn_rmareceipt RMA Receipt Specify RMA receipt.
msdyn_rmareceiptproduct RMA Receipt Product Specify RMA receipt product.
msdyn_rmasubstatus RMA Sub-Status Specify custom RMA sub-statuses, which can be used to specify the current RMA status more precisely.
msdyn_rolecompetencyrequirement Role competency requirement Entity used to associate skills in a role.
msdyn_roleutilization Role Utilization Gathers data about utilization per role to display in a chart
msdyn_rtv RTV Records RTVs for products to be retuned to vendors
msdyn_rtvproduct RTV Product Records products to be returned on an RTV
msdyn_rtvsubstatus RTV Sub-Status Specify custom RTV sub-statuses, which can be used to specify the current RTV status more precisely.
msdyn_scheduleboardsetting Schedule Board Setting To store settings of SB by user & tabs
msdyn_schedulingparameter Scheduling Parameter Scheduling Parameters
msdyn_servicetasktype Service Task Type Specify the different service task and labor types that your resources perform as part of their work orders.
msdyn_shipvia Ship Via Specify the different shipping methods used.
msdyn_systemuserschedulersetting System User Scheduler Setting Stores user-specific settings for the schedule board.
msdyn_taxcode Tax Code 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.
msdyn_taxcodedetail Tax Code Detail In this entity you can link multiple tax codes together to form a group of tax codes to be charged for the customer to form the total tax.
msdyn_timeentry Time Entry Entity used for time entry.
msdyn_timegroup Time Group Specify time groups consisting of multiple time windows to be used for scheduling, for example.
msdyn_timegroupdetail Time Group Detail Specify individual time windows under a time group.
msdyn_timeoffcalendar Time Off Calendar Relationship table for time off calendar entries.
msdyn_timeoffrequest Time Off Request Specify time resource time off request.
msdyn_transactioncategory Transaction Category Business transaction categories to classify costs and revenue.
msdyn_transactioncategoryclassification Transaction Category Classification Entity used to associate a category broadly as time, expense or material.
msdyn_transactioncategoryhierarchyelement Transaction Category Hierarchy Element Hierarchical relationship of the transaction category with a root node.
msdyn_transactioncategorypricelevel Transaction Category Price List of prices by category on a price list.
msdyn_transactionconnection Transaction Connection System entity used to establish connections between the cost, unbilled revenue, and billed revenue components of a transaction as they happen.
msdyn_transactionorigin Transaction Origin System entity used to record the source of a project cost or sales actual.
msdyn_transactiontype Transaction Type Broad classification, such as time or expense, and the context such cost, unbilled revenue, or billed revenue of a project actual.
msdyn_uniquenumber Unique Number Internal entity used to store unique number.
msdyn_userworkhistory User Work History Entity used to look up resources based on demonstrated skills.
msdyn_wallsavedquery Wall View Contains information regarding which views are available for users to display on their personal walls. Only an administrator can specify the views that users can choose from to display on their personal walls.
msdyn_wallsavedqueryusersettings Filter Contains user personalization information regarding which of the administrator’s selected views to display on a user’s personal wall.
msdyn_warehouse Warehouse Warehouses where inventory products are stored and managed
msdyn_workhourtemplate Work template Template where resource working hours can be saved and reused.
msdyn_workorder Work Order Work orders store all information about the job performed for an account. Stores incident details, resource, expenses, tasks, communications, billing and more
msdyn_workordercharacteristic Work Order Characteristic (Deprecated) This entity is deprecated.
msdyn_workorderdetailsgenerationqueue Work Order Details Generation Queue (Deprecated) Pool for WO Generation
msdyn_workorderincident Work Order Incident Specify work order incidents reported to you by the client. These are also referred to as problem codes.
msdyn_workorderproduct Work Order Product In this entity you record all the products proposed and used for a work order
msdyn_workorderresourcerestriction Resource Restriction (Deprecated) This entity is deprecated.
msdyn_workorderservice Work Order Service Record all services proposed and performed for work order
msdyn_workorderservicetask Work Order Service Task Store service tasks that are to be performed for this work order
msdyn_workordersubstatus Work Order Sub-Status Specify custom work order sub-statuses, which can be used to specify the current work order status more precisely.
msdyn_workordertype Work Order Type Create different work order types to reflect the different types of work that your company offers. Work Order types are used to control various settings on a work order.
opportunity Opportunity Potential revenue-generating event, or sale to an account, which needs to be tracked through a sales process to completion.

See Also