Dynamics365 Table Entity Statecodes

When referencing the various record states, these are stored as a numerical value in the Dynamics tables. Here’s your cheat sheet!


Table/Entity StateCode StateCode
Explanation
StatusCode StatusCode
Explanation
Account 0Active 1Active
1Inactive 2Inactive
Activity (activitypointer) 0Open 1Open
1Completed 2Completed
2Canceled 3Canceled
3Scheduled 4Scheduled
Appointment 0Open 1Free
2Tentative
1Completed 3Completed
2Canceled 4Canceled
3Scheduled 5Busy
6Out of Office
Article (kbarticle) 1Draft 1Draft
2Unapproved 2Unapproved
3Published 3Published
Campaign 0Active 0Proposed
1Ready To Launch
2Launched
3Completed
4Canceled
5Suspended
Campaign Activity 0Open 0In Progress
1Proposed
4Pending
5System Aborted
6Completed
1Closed 2Closed
2Canceled 3Canceled
Campaign Response 0Open 1Open
1Closed 2Closed
2Canceled 3Canceled
Case (incident) 0Active 1In Progress
2On Hold
3Waiting for Details
4Researching
1Resolved 5Problem Solved
2Canceled 6Canceled
Case Resolution (incidentresolution, notcustomizable) 0Open 1Open
1Completed 2Closed
2Canceled 3Canceled
Contact 0Active 1Active
1Inactive 2Inactive
Contract 0Draft 1Draft
1Invoiced 2Invoiced
2Active 3Active
3On Hold 4On Hold
4Canceled 5Canceled
5Expired 6Expired
Contract Line (contractdetail) 0Existing 1New
1Renewed 2Renewed
2Canceled 3Canceled
3Expired 4Expired
Currency (transactioncurrency) 0Active 0Active
1Inactive 1Inactive
Discount (discounttype) 0Active 100001Active
1Inactive 100002Inactive
E-mail 0Open 1Draft
8Failed
1Completed 2Completed
3Sent
4Received
6Pending Send
7Sending
2Canceled 5Canceled
Fax 0Open 1Open
1Completed 2Completed
3Sent
4Received
2Canceled 5Canceled
Invoice 0Active 1New
2Partially Shipped
4Billed
5Booked (applies to services)
6Installed (applies to services)
1Closed (deprecated) 3Canceled (deprecated)
7Paid in Full (deprecated
2Paid 100001Complete
100002Parial
3Canceled 100003Canceled
Lead 0Open 1New
2Contacted
1Qualified 3Qualified
2Disqualified 4Lost
5Cannot Contact
6No Longer Interested
7Canceled
Letter 0Open 1Open
2Draft
1Completed 3Received
4Sent
2Canceled 5Canceled
Marketing List (list) 0Active 0Active
1Inactive 1Inactive
Opportunity 0Open 1In Progress
2On Hold
1Won 3Won
2Lost 4Canceled
5Out-Sold
Order (salesorder) 0Active 1New
2Pending
1Submitted 3In Progress
2Canceled 4No Money
3Fulfilled 100001Complete
100002Partial
4Invoiced 100003Invoiced
Phone Call 0Open 1Open
1Completed 2Made
4Received
2Canceled 3Canceled
Price List (pricelevel) 0Active 100001Active
1Inactive 100002Inactive
Product 0Active 1Active
1Inactive 2Inactive
Quote 0Draft 1In Progress
1Active 2In Progress
3Open
2Won 4Won
5Out-Sold
3Closed 5Lost
6Canceled
7Revised
Service Activity (serviceappointment) 0Open 1Requested
2Tentative
1Closed 8Completed
2Canceled 9Canceled
10No Show
3Scheduled 3Pending
4Reserved
6In Progress
7Arrived
Task 0Open 2Not Started
3In Progress
4Waiting on someone else
7Deferred
1Completed 5Completed
2Canceled 6Canceled

Previous
Previous

Power-Platform from Microsoft Training