Table 6408 FS Work Order Substatus
src/Layers/W1/BaseApp/Integration/FieldService/FSWorkOrderSubstatus.Table.al238 lines, Copyright (c) Microsoft Corporation. MIT
#if not CLEANSCHEMA28 // ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Integration.FieldService;using Microsoft.Integration.D365Sales;table 6408 "FS Work Order Substatus"{ ExternalName = 'msdyn_workordersubstatus'; TableType = CRM; Description = 'Specify custom work order substatuses, which can be used to specify the current work order status more precisely.'; DataClassification = SystemMetadata; ObsoleteReason = 'Field Service is moved to Field Service Integration app.'; ObsoleteState = Removed; ObsoleteTag = '28.0'; fields { field(1; WorkOrderSubstatusId; GUID) { ExternalName = 'msdyn_workordersubstatusid'; ExternalType = 'Uniqueidentifier'; ExternalAccess = Insert; Description = 'Shows the entity instances.'; Caption = 'Work Order Substatus'; DataClassification = SystemMetadata; } field(2; CreatedOn; Datetime) { ExternalName = 'createdon'; ExternalType = 'DateTime'; ExternalAccess = Read; 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.'; Caption = 'Created On'; DataClassification = SystemMetadata; } field(3; CreatedBy; GUID) { ExternalName = 'createdby'; ExternalType = 'Lookup'; ExternalAccess = Read; Description = 'Unique identifier of the user who created the record.'; Caption = 'Created By'; TableRelation = "CRM Systemuser".SystemUserId; DataClassification = SystemMetadata; } field(4; ModifiedOn; Datetime) { ExternalName = 'modifiedon'; ExternalType = 'DateTime'; ExternalAccess = Read; 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.'; Caption = 'Modified On'; DataClassification = SystemMetadata; } field(5; ModifiedBy; GUID) { ExternalName = 'modifiedby'; ExternalType = 'Lookup'; ExternalAccess = Read; Description = 'Unique identifier of the user who modified the record.'; Caption = 'Modified By'; TableRelation = "CRM Systemuser".SystemUserId; DataClassification = SystemMetadata; } field(6; CreatedOnBehalfBy; GUID) { ExternalName = 'createdonbehalfby'; ExternalType = 'Lookup'; ExternalAccess = Read; Description = 'Shows who created the record on behalf of another user.'; Caption = 'Created By (Delegate)'; TableRelation = "CRM Systemuser".SystemUserId; DataClassification = SystemMetadata; } field(7; ModifiedOnBehalfBy; GUID) { ExternalName = 'modifiedonbehalfby'; ExternalType = 'Lookup'; ExternalAccess = Read; Description = 'Shows who last updated the record on behalf of another user.'; Caption = 'Modified By (Delegate)'; TableRelation = "CRM Systemuser".SystemUserId; DataClassification = SystemMetadata; } field(16; OwnerId; GUID) { ExternalName = 'ownerid'; ExternalType = 'Owner'; Description = 'Owner Id'; Caption = 'Owner'; DataClassification = SystemMetadata; } field(21; OwningBusinessUnit; GUID) { ExternalName = 'owningbusinessunit'; ExternalType = 'Lookup'; ExternalAccess = Read; Description = 'Unique identifier for the business unit that owns the record'; Caption = 'Owning Business Unit'; TableRelation = "CRM Businessunit".BusinessUnitId; DataClassification = SystemMetadata; } field(22; OwningUser; GUID) { ExternalName = 'owninguser'; ExternalType = 'Lookup'; ExternalAccess = Read; Description = 'Unique identifier for the user that owns the record.'; Caption = 'Owning User'; TableRelation = "CRM Systemuser".SystemUserId; DataClassification = SystemMetadata; } field(23; OwningTeam; GUID) { ExternalName = 'owningteam'; ExternalType = 'Lookup'; ExternalAccess = Read; Description = 'Unique identifier for the team that owns the record.'; Caption = 'Owning Team'; TableRelation = "CRM Team".TeamId; DataClassification = SystemMetadata; } field(25; StateCode; Option) { ExternalName = 'statecode'; ExternalType = 'State'; ExternalAccess = Modify; Description = 'Status of the Work Order Substatus'; Caption = 'Status'; InitValue = " "; OptionMembers = " ",Active,Inactive; OptionOrdinalValues = -1, 0, 1; DataClassification = SystemMetadata; } field(27; StatusCode; Option) { ExternalName = 'statuscode'; ExternalType = 'Status'; Description = 'Reason for the status of the Work Order Substatus'; Caption = 'Status Reason'; InitValue = " "; OptionMembers = " ",Active,Inactive; OptionOrdinalValues = -1, 1, 2; DataClassification = SystemMetadata; } field(29; VersionNumber; BigInteger) { ExternalName = 'versionnumber'; ExternalType = 'BigInt'; ExternalAccess = Read; Description = 'Version Number'; Caption = 'Version Number'; DataClassification = SystemMetadata; } field(30; ImportSequenceNumber; Integer) { ExternalName = 'importsequencenumber'; ExternalType = 'Integer'; ExternalAccess = Insert; Description = 'Shows the sequence number of the import that created this record.'; Caption = 'Import Sequence Number'; DataClassification = SystemMetadata; } field(31; OverriddenCreatedOn; Date) { ExternalName = 'overriddencreatedon'; ExternalType = 'DateTime'; ExternalAccess = Insert; Description = 'Shows the date and time that the record was migrated.'; Caption = 'Record Created On'; DataClassification = SystemMetadata; } field(32; TimeZoneRuleVersionNumber; Integer) { ExternalName = 'timezoneruleversionnumber'; ExternalType = 'Integer'; Description = 'For internal use only.'; Caption = 'Time Zone Rule Version Number'; DataClassification = SystemMetadata; } field(33; UTCConversionTimeZoneCode; Integer) { ExternalName = 'utcconversiontimezonecode'; ExternalType = 'Integer'; Description = 'Shows the time zone code that was in use when the record was created.'; Caption = 'UTC Conversion Time Zone Code'; DataClassification = SystemMetadata; } field(34; Name; Text[100]) { ExternalName = 'msdyn_name'; ExternalType = 'String'; Description = 'Shows the work order status name.'; Caption = 'Name'; DataClassification = SystemMetadata; } field(35; DefaultSubStatus; Boolean) { ExternalName = 'msdyn_defaultsubstatus'; ExternalType = 'Boolean'; Description = 'Specify whether this substatus should be the default substatus for this status type.'; Caption = 'Default Substatus'; DataClassification = SystemMetadata; } field(37; SystemStatus; Option) { ExternalName = 'msdyn_systemstatus'; ExternalType = 'Picklist'; Description = 'Specify the system status.'; Caption = 'System Status'; InitValue = " "; OptionMembers = " ",Unscheduled,Scheduled,InProgress,Completed,Posted,Canceled; OptionOrdinalValues = -1, 690970000, 690970001, 690970002, 690970003, 690970004, 690970005; DataClassification = SystemMetadata; } } keys { key(PK; WorkOrderSubstatusId) { Clustered = true; } key(Name; Name) { } } fieldgroups { fieldgroup(DropDown; Name) { } }} #endif