Table 5362 CRM Uomschedule

Base Application, Microsoft.Integration.D365Sales

src/Layers/W1/BaseApp/Integration/D365Sales/CRMUomschedule.Table.al228 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// 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.D365Sales;table 5362 "CRM Uomschedule"{    // Dynamics CRM Version: 7.1.0.2040    Caption = 'CRM Uomschedule';    Description = 'Grouping of units.';    ExternalName = 'uomschedule';    TableType = CRM;    DataClassification = CustomerContent;    fields    {        field(1; UoMScheduleId; Guid)        {            Caption = 'Unit Group';            Description = 'Unique identifier for the unit group.';            ExternalAccess = Insert;            ExternalName = 'uomscheduleid';            ExternalType = 'Uniqueidentifier';        }        field(2; OrganizationId; Guid)        {            Caption = 'Organization';            Description = 'Unique identifier of the organization associated with the unit group.';            ExternalAccess = Read;            ExternalName = 'organizationid';            ExternalType = 'Lookup';            TableRelation = "CRM Organization".OrganizationId;        }        field(3; Name; Text[200])        {            Caption = 'Name';            ToolTip = 'Specifies the name of the record.';            Description = 'Name of the unit group.';            ExternalName = 'name';            ExternalType = 'String';        }        field(4; Description; BLOB)        {            Caption = 'Description';            Description = 'Description of the unit group.';            ExternalName = 'description';            ExternalType = 'Memo';            SubType = Memo;        }        field(5; CreatedOn; DateTime)        {            Caption = 'Created On';            Description = 'Date and time when the unit group was created.';            ExternalAccess = Read;            ExternalName = 'createdon';            ExternalType = 'DateTime';        }        field(6; CreatedBy; Guid)        {            Caption = 'Created By';            Description = 'Unique identifier of the user who created the unit group.';            ExternalAccess = Read;            ExternalName = 'createdby';            ExternalType = 'Lookup';            TableRelation = "CRM Systemuser".SystemUserId;        }        field(7; ModifiedOn; DateTime)        {            Caption = 'Modified On';            Description = 'Date and time when the unit group was last modified.';            ExternalAccess = Read;            ExternalName = 'modifiedon';            ExternalType = 'DateTime';        }        field(8; ModifiedBy; Guid)        {            Caption = 'Modified By';            Description = 'Unique identifier of the user who last modified the unit group.';            ExternalAccess = Read;            ExternalName = 'modifiedby';            ExternalType = 'Lookup';            TableRelation = "CRM Systemuser".SystemUserId;        }        field(9; VersionNumber; BigInteger)        {            Caption = 'Version Number';            Description = 'Version number of the unit group.';            ExternalAccess = Read;            ExternalName = 'versionnumber';            ExternalType = 'BigInt';        }        field(10; CreatedByName; Text[200])        {            CalcFormula = lookup("CRM Systemuser".FullName where(SystemUserId = field(CreatedBy)));            Caption = 'CreatedByName';            ExternalAccess = Read;            ExternalName = 'createdbyname';            ExternalType = 'String';            FieldClass = FlowField;        }        field(11; ModifiedByName; Text[200])        {            CalcFormula = lookup("CRM Systemuser".FullName where(SystemUserId = field(ModifiedBy)));            Caption = 'ModifiedByName';            ExternalAccess = Read;            ExternalName = 'modifiedbyname';            ExternalType = 'String';            FieldClass = FlowField;        }        field(12; OrganizationIdName; Text[160])        {            CalcFormula = lookup("CRM Organization".Name where(OrganizationId = field(OrganizationId)));            Caption = 'OrganizationIdName';            ExternalAccess = Read;            ExternalName = 'organizationidname';            ExternalType = 'String';            FieldClass = FlowField;        }        field(13; ImportSequenceNumber; Integer)        {            Caption = 'Import Sequence Number';            Description = 'Unique identifier of the data import or data migration that created this record.';            ExternalAccess = Insert;            ExternalName = 'importsequencenumber';            ExternalType = 'Integer';        }        field(14; BaseUoMName; Text[100])        {            Caption = 'Base Unit name';            ToolTip = 'Specifies the base unit of measure of the Dynamics 365 Sales record.';            Description = 'Name of the base unit.';            ExternalAccess = Insert;            ExternalName = 'baseuomname';            ExternalType = 'String';        }        field(15; OverriddenCreatedOn; Date)        {            Caption = 'Record Created On';            Description = 'Date and time that the record was migrated.';            ExternalAccess = Insert;            ExternalName = 'overriddencreatedon';            ExternalType = 'DateTime';        }        field(16; CreatedOnBehalfBy; Guid)        {            Caption = 'Created By (Delegate)';            Description = 'Unique identifier of the delegate user who created the uomschedule.';            ExternalAccess = Read;            ExternalName = 'createdonbehalfby';            ExternalType = 'Lookup';            TableRelation = "CRM Systemuser".SystemUserId;        }        field(17; CreatedOnBehalfByName; Text[200])        {            CalcFormula = lookup("CRM Systemuser".FullName where(SystemUserId = field(CreatedOnBehalfBy)));            Caption = 'CreatedOnBehalfByName';            ExternalAccess = Read;            ExternalName = 'createdonbehalfbyname';            ExternalType = 'String';            FieldClass = FlowField;        }        field(18; ModifiedOnBehalfBy; Guid)        {            Caption = 'Modified By (Delegate)';            Description = 'Unique identifier of the delegate user who last modified the uomschedule.';            ExternalAccess = Read;            ExternalName = 'modifiedonbehalfby';            ExternalType = 'Lookup';            TableRelation = "CRM Systemuser".SystemUserId;        }        field(19; ModifiedOnBehalfByName; Text[200])        {            CalcFormula = lookup("CRM Systemuser".FullName where(SystemUserId = field(ModifiedOnBehalfBy)));            Caption = 'ModifiedOnBehalfByName';            ExternalAccess = Read;            ExternalName = 'modifiedonbehalfbyname';            ExternalType = 'String';            FieldClass = FlowField;        }        field(20; StateCode; Option)        {            Caption = 'Status';            ToolTip = 'Specifies information related to the Dynamics 365 Sales connection.';            Description = 'Status of the Unit Group.';            ExternalAccess = Modify;            ExternalName = 'statecode';            ExternalType = 'State';            InitValue = Active;            OptionCaption = 'Active,Inactive';            OptionOrdinalValues = 0, 1;            OptionMembers = Active,Inactive;        }        field(21; StatusCode; Option)        {            Caption = 'Status Reason';            ToolTip = 'Specifies information related to the Dynamics 365 Sales connection.';            Description = 'Reason for the status of the Unit Group.';            ExternalName = 'statuscode';            ExternalType = 'Status';            InitValue = " ";            OptionCaption = ' ,Active,Inactive';            OptionOrdinalValues = -1, 1, 2;            OptionMembers = " ",Active,Inactive;        }    }    keys    {        key(Key1; UoMScheduleId)        {            Clustered = true;        }        key(Key2; Name)        {        }    }    fieldgroups    {        fieldgroup(DropDown; Name)        {        }    }}