microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
722 stars 242 forks source link

Altgen proxy table command error (AL Table Proxy Generator Error) #7657

Closed Shathika94 closed 4 months ago

Shathika94 commented 5 months ago

1. Describe the bug I'm trying to sychronize dataverse with Business Central onprem and I have synced User, Account, Business Unit, Work Order Substatus tables from dataverse to Business central using AL Table Proxy Generator which is available with the AL Language extension. However msdynfunctionallocation table is not syncing and giving an error as System.NullReferenceException: Object reference not set to an instance of an object._

Below are the queries that I used to perform the syncing. .\altpgen -project:"C:\Users\abc1\Documents\AL*" -packagecachepath:"C:\Users\abc1\Documents\AL*.alpackages" -serviceuri:"[https://***.crm3.dynamics.com/"](https://*.crm3.dynamics.com/%22) -entities:msdyn_functionallocation -tabletype:CDS**

below is the complete error message I'm receiving.

How to resolve this?

PS C:\Users\adnm1.vscode\extensions\ms-dynamics-smb.al-12.5.914975\bin> .\altpgen -project:"C:\Users\abc1\Documents\AL*" -packagecachepath:"C:\Users\abc1\Documents\AL*.alpackages" -serviceuri:"https://***.crm3.dynamics.com/" -entities:msdyn_functionallocation -tabletype:CDS Microsoft (R) AL Table Proxy Generator version 12.5.13.63033 Copyright (C) Microsoft Corporation. All rights reserved

Authenticating Dataverse using ServiceUri=https://***.crm3.dynamics.com/ Authenticated. Retrieving entity metadata. System.NullReferenceException: Object reference not set to an instance of an object. at System.Collections.Immutable.ImmutableArray`1.get_Length() at Microsoft.Dynamics.Nav.TableProxyGenerator.BuilderBase.CalcDataType(XrmEntityAttribute attr) in D:\a_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\BuilderBase.cs:line 456 at Microsoft.Dynamics.Nav.TableProxyGenerator.BuilderBase.AddNormalField(XrmEntityAttribute attr) in D:\a_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\BuilderBase.cs:line 84 at Microsoft.Dynamics.Nav.TableProxyGenerator.BuilderBase.BuildFields() in D:\a_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\BuilderBase.cs:line 56 at Microsoft.Dynamics.Nav.TableProxyGenerator.BuildContext.BuildFields() in D:\a_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\BuildContext.cs:line 140 at Microsoft.Dynamics.Nav.TableProxyGenerator.TableProxyGeneratorTool.RunCore(CompilerTextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) in D:\a_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\TableProxyGeneratorTool.cs:line 62 at Microsoft.Dynamics.Nav.CodeAnalysis.CompilationDependentTool.Run(CompilerTextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) in D:\a_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\CompilationDependentTool.cs:line 125 at Microsoft.Dynamics.Nav.CodeAnalysis.CompilationDependentTool.Run(CompilerTextWriter consoleOutput, CancellationToken cancellationToken) in D:\a_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\CompilationDependentTool.cs:line 77 at Microsoft.Dynamics.Nav.TableProxyGenerator.TableProxyGeneratorCommandLineTool.Run(String clientDirectory, String baseDirectory, String[] args) in D:\a_work\1\s\source\Prod\altpgen\TableProxyGeneratorCommandLineTool.cs:line 29

onbuyuka commented 5 months ago

Works fine on my end:

image

Generated file:

table 50101 "CDS msdyn_FunctionalLocation"
{
  ExternalName = 'msdyn_functionallocation';
  TableType = CDS;
  Description = '';

  fields
  {
    field(1; msdyn_FunctionalLocationId; GUID)
    {
      ExternalName = 'msdyn_functionallocationid';
      ExternalType = 'Uniqueidentifier';
      ExternalAccess = Insert;
      Description = 'Unique identifier for entity instances';
      Caption = 'Functional Location';
    }
    field(2; CreatedOn; Datetime)
    {
      ExternalName = 'createdon';
      ExternalType = 'DateTime';
      ExternalAccess = Read;
      Description = 'Date and time when the record was created.';
      Caption = 'Created On';
    }
    field(4; ModifiedOn; Datetime)
    {
      ExternalName = 'modifiedon';
      ExternalType = 'DateTime';
      ExternalAccess = Read;
      Description = 'Date and time when the record was modified.';
      Caption = 'Modified On';
    }
    field(25; statecode; Option)
    {
      ExternalName = 'statecode';
      ExternalType = 'State';
      ExternalAccess = Modify;
      Description = 'Status of the Functional Location';
      Caption = 'Status';
      InitValue = " ";
      OptionMembers = " ", Active, Inactive;
      OptionOrdinalValues = -1, 0, 1;
    }
    field(27; statuscode; Option)
    {
      ExternalName = 'statuscode';
      ExternalType = 'Status';
      Description = 'Reason for the status of the Functional Location';
      Caption = 'Status Reason';
      InitValue = " ";
      OptionMembers = " ", Active, Inactive;
      OptionOrdinalValues = -1, 1, 2;
    }
    field(29; VersionNumber; BigInteger)
    {
      ExternalName = 'versionnumber';
      ExternalType = 'BigInt';
      ExternalAccess = Read;
      Description = 'Version Number';
      Caption = 'Version Number';
    }
    field(30; ImportSequenceNumber; Integer)
    {
      ExternalName = 'importsequencenumber';
      ExternalType = 'Integer';
      ExternalAccess = Insert;
      Description = 'Sequence number of the import that created this record.';
      Caption = 'Import Sequence Number';
    }
    field(31; OverriddenCreatedOn; Date)
    {
      ExternalName = 'overriddencreatedon';
      ExternalType = 'DateTime';
      ExternalAccess = Insert;
      Description = 'Date and time that the record was migrated.';
      Caption = 'Record Created On';
    }
    field(32; TimeZoneRuleVersionNumber; Integer)
    {
      ExternalName = 'timezoneruleversionnumber';
      ExternalType = 'Integer';
      Description = 'For internal use only.';
      Caption = 'Time Zone Rule Version Number';
    }
    field(33; UTCConversionTimeZoneCode; Integer)
    {
      ExternalName = 'utcconversiontimezonecode';
      ExternalType = 'Integer';
      Description = 'Time zone code that was in use when the record was created.';
      Caption = 'UTC Conversion Time Zone Code';
    }
    field(34; msdyn_Name; Text[60])
    {
      ExternalName = 'msdyn_name';
      ExternalType = 'String';
      Description = 'Required name field';
      Caption = 'Name';
    }
    field(35; msdyn_ParentFunctionalLocation; GUID)
    {
      ExternalName = 'msdyn_parentfunctionallocation';
      ExternalType = 'Lookup';
      Description = '';
      Caption = 'Parent Functional Location';
      TableRelation = "CDS msdyn_FunctionalLocation".msdyn_FunctionalLocationId;
    }
    field(36; msdyn_Sequence; Integer)
    {
      ExternalName = 'msdyn_sequence';
      ExternalType = 'Integer';
      Description = 'Relative order of functional location entity node in hierarchy control';
      Caption = 'Sequence';
    }
    field(38; msdyn_CostCenter; Text[100])
    {
      ExternalName = 'msdyn_costcenter';
      ExternalType = 'String';
      Description = '';
      Caption = 'Cost Center';
    }
    field(39; msdyn_EmailAddress; Text[100])
    {
      ExternalName = 'msdyn_emailaddress';
      ExternalType = 'String';
      Description = '';
      Caption = 'Email Address';
    }
    field(40; msdyn_LocationOpenDate; Date)
    {
      ExternalName = 'msdyn_locationopendate';
      ExternalType = 'DateTime';
      Description = '';
      Caption = 'Location Open Date';
    }
    field(42; msdyn_PrimaryTimeZone; Integer)
    {
      ExternalName = 'msdyn_primarytimezone';
      ExternalType = 'Integer';
      Description = '';
      Caption = 'Primary Time Zone';
    }
    field(43; msdyn_ShortName; Text[100])
    {
      ExternalName = 'msdyn_shortname';
      ExternalType = 'String';
      Description = '';
      Caption = 'Short Name';
    }
    field(45; msdyn_Address1; Text[250])
    {
      ExternalName = 'msdyn_address1';
      ExternalType = 'String';
      Description = '';
      Caption = 'Street 1';
    }
    field(46; msdyn_Address2; Text[250])
    {
      ExternalName = 'msdyn_address2';
      ExternalType = 'String';
      Description = 'Street 2';
      Caption = 'Street 2';
    }
    field(47; msdyn_Address3; Text[250])
    {
      ExternalName = 'msdyn_address3';
      ExternalType = 'String';
      Description = 'Street 3';
      Caption = 'Street 3';
    }
    field(48; msdyn_AddressName; Text[250])
    {
      ExternalName = 'msdyn_addressname';
      ExternalType = 'String';
      Description = 'Address Name';
      Caption = 'Address Name';
    }
    field(49; msdyn_City; Text[80])
    {
      ExternalName = 'msdyn_city';
      ExternalType = 'String';
      Description = 'City';
      Caption = 'City';
    }
    field(50; msdyn_Country; Text[80])
    {
      ExternalName = 'msdyn_country';
      ExternalType = 'String';
      Description = 'Country/Region';
      Caption = 'Country/Region';
    }
    field(51; msdyn_Latitude; Decimal)
    {
      ExternalName = 'msdyn_latitude';
      ExternalType = 'Double';
      Description = 'Latitude';
      Caption = 'Latitude';
    }
    field(52; msdyn_Longitude; Decimal)
    {
      ExternalName = 'msdyn_longitude';
      ExternalType = 'Double';
      Description = 'Longitude';
      Caption = 'Longitude';
    }
    field(53; msdyn_PostalCode; Text[20])
    {
      ExternalName = 'msdyn_postalcode';
      ExternalType = 'String';
      Description = 'Postal Code';
      Caption = 'Postal Code';
    }
    field(54; msdyn_StateOrProvince; Text[50])
    {
      ExternalName = 'msdyn_stateorprovince';
      ExternalType = 'String';
      Description = 'State Or Province';
      Caption = 'State Or Province';
    }
  }
  keys
  {
    key(PK; msdyn_FunctionalLocationId)
    {
      Clustered = true;
    }
    key(Name; msdyn_Name)
    {
    }
  }
  fieldgroups
  {
    fieldgroup(DropDown; msdyn_Name)
    {
    }
  }
}

From the stack trace, it looks like error comes from a Picklist type field. I have only two Picklist fields on my standard Field Service solution:

field(25; statecode; Option)
    {
      ExternalName = 'statecode';
      ExternalType = 'State';
      ExternalAccess = Modify;
      Description = 'Status of the Functional Location';
      Caption = 'Status';
      InitValue = " ";
      OptionMembers = " ", Active, Inactive;
      OptionOrdinalValues = -1, 0, 1;
    }
    field(27; statuscode; Option)
    {
      ExternalName = 'statuscode';
      ExternalType = 'Status';
      Description = 'Reason for the status of the Functional Location';
      Caption = 'Status Reason';
      InitValue = " ";
      OptionMembers = " ", Active, Inactive;
      OptionOrdinalValues = -1, 1, 2;
    }

Do you have more? Or are these ones customized? Is this the only entity you are seeing this error? Keep in my mind you can always create proxy tables manually, you can take the one created above and add more fields if needed.

Shathika94 commented 5 months ago

Yes I have three more Picklist type fields. Yes this is the only entity I'm getting the error. Previously I successfully did on Business Unit, Customer Asset, Work Order, User and Work Order Substatus.

Any Help?

onbuyuka commented 5 months ago

It is clearly caused by one of the three picklists, what is the output of below query? You can call this in a browser tab.

GET [Organization URI]/api/data/v9.2/EntityDefinitions(LogicalName='msdyn_functionallocation')/Attributes/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet,GlobalOptionSet

If this is blocking you, repeating that you can always create proxy tables manually, you can take the one created above and add more fields if needed.

BazookaMusic commented 5 months ago

The initial stack trace points to a null ref exception due to trying to get the length of an uninitialized immutable array. I'm marking it for triage as this is a bug

Shathika94 commented 5 months ago

onbuyuka can you please share the Work Order table as well. I want to see the functionlocation field to add it manually.

onbuyuka commented 5 months ago

Work order also worked for me. If you want this to be fixed then please provide information on what I have asked previously.

table 50101 "CDS msdyn_FunctionalLocation"
{
  ExternalName = 'msdyn_functionallocation';
  TableType = CRM;
  Description = '';

  fields
  {
    field(1; msdyn_FunctionalLocationId; GUID)
    {
      ExternalName = 'msdyn_functionallocationid';
      ExternalType = 'Uniqueidentifier';
      ExternalAccess = Insert;
      Description = 'Unique identifier for entity instances';
      Caption = 'Functional Location';
    }
    field(2; CreatedOn; Datetime)
    {
      ExternalName = 'createdon';
      ExternalType = 'DateTime';
      ExternalAccess = Read;
      Description = 'Date and time when the record was created.';
      Caption = 'Created On';
    }
    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;
    }
    field(4; ModifiedOn; Datetime)
    {
      ExternalName = 'modifiedon';
      ExternalType = 'DateTime';
      ExternalAccess = Read;
      Description = 'Date and time when the record was modified.';
      Caption = 'Modified On';
    }
    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;
    }
    field(6; CreatedOnBehalfBy; GUID)
    {
      ExternalName = 'createdonbehalfby';
      ExternalType = 'Lookup';
      ExternalAccess = Read;
      Description = 'Unique identifier of the delegate user who created the record.';
      Caption = 'Created By (Delegate)';
      TableRelation = "CRM Systemuser".SystemUserId;
    }
    field(7; ModifiedOnBehalfBy; GUID)
    {
      ExternalName = 'modifiedonbehalfby';
      ExternalType = 'Lookup';
      ExternalAccess = Read;
      Description = 'Unique identifier of the delegate user who modified the record.';
      Caption = 'Modified By (Delegate)';
      TableRelation = "CRM Systemuser".SystemUserId;
    }
    field(16; OwnerId; GUID)
    {
      ExternalName = 'ownerid';
      ExternalType = 'Owner';
      Description = 'Owner Id';
      Caption = 'Owner';
    }
    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;
    }
    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;
    }
    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;
    }
    field(25; statecode; Option)
    {
      ExternalName = 'statecode';
      ExternalType = 'State';
      ExternalAccess = Modify;
      Description = 'Status of the Functional Location';
      Caption = 'Status';
      InitValue = " ";
      OptionMembers = " ", Active, Inactive;
      OptionOrdinalValues = -1, 0, 1;
    }
    field(27; statuscode; Option)
    {
      ExternalName = 'statuscode';
      ExternalType = 'Status';
      Description = 'Reason for the status of the Functional Location';
      Caption = 'Status Reason';
      InitValue = " ";
      OptionMembers = " ", Active, Inactive;
      OptionOrdinalValues = -1, 1, 2;
    }
    field(29; VersionNumber; BigInteger)
    {
      ExternalName = 'versionnumber';
      ExternalType = 'BigInt';
      ExternalAccess = Read;
      Description = 'Version Number';
      Caption = 'Version Number';
    }
    field(30; ImportSequenceNumber; Integer)
    {
      ExternalName = 'importsequencenumber';
      ExternalType = 'Integer';
      ExternalAccess = Insert;
      Description = 'Sequence number of the import that created this record.';
      Caption = 'Import Sequence Number';
    }
    field(31; OverriddenCreatedOn; Date)
    {
      ExternalName = 'overriddencreatedon';
      ExternalType = 'DateTime';
      ExternalAccess = Insert;
      Description = 'Date and time that the record was migrated.';
      Caption = 'Record Created On';
    }
    field(32; TimeZoneRuleVersionNumber; Integer)
    {
      ExternalName = 'timezoneruleversionnumber';
      ExternalType = 'Integer';
      Description = 'For internal use only.';
      Caption = 'Time Zone Rule Version Number';
    }
    field(33; UTCConversionTimeZoneCode; Integer)
    {
      ExternalName = 'utcconversiontimezonecode';
      ExternalType = 'Integer';
      Description = 'Time zone code that was in use when the record was created.';
      Caption = 'UTC Conversion Time Zone Code';
    }
    field(34; msdyn_Name; Text[60])
    {
      ExternalName = 'msdyn_name';
      ExternalType = 'String';
      Description = 'Required name field';
      Caption = 'Name';
    }
    field(35; msdyn_ParentFunctionalLocation; GUID)
    {
      ExternalName = 'msdyn_parentfunctionallocation';
      ExternalType = 'Lookup';
      Description = '';
      Caption = 'Parent Functional Location';
      TableRelation = "CDS msdyn_FunctionalLocation".msdyn_FunctionalLocationId;
    }
    field(36; msdyn_Sequence; Integer)
    {
      ExternalName = 'msdyn_sequence';
      ExternalType = 'Integer';
      Description = 'Relative order of functional location entity node in hierarchy control';
      Caption = 'Sequence';
    }
    field(37; msdyn_ParentFunctionalLocationName; Text[60])
    {
      FieldClass = FlowField;
      CalcFormula = lookup("CDS msdyn_FunctionalLocation".msdyn_Name where(msdyn_FunctionalLocationId=field(msdyn_ParentFunctionalLocation)));
      ExternalName = 'msdyn_parentfunctionallocationname';
      ExternalType = 'String';
      ExternalAccess = Read;
    }
    field(38; msdyn_CostCenter; Text[100])
    {
      ExternalName = 'msdyn_costcenter';
      ExternalType = 'String';
      Description = '';
      Caption = 'Cost Center';
    }
    field(39; msdyn_EmailAddress; Text[100])
    {
      ExternalName = 'msdyn_emailaddress';
      ExternalType = 'String';
      Description = '';
      Caption = 'Email Address';
    }
    field(40; msdyn_LocationOpenDate; Date)
    {
      ExternalName = 'msdyn_locationopendate';
      ExternalType = 'DateTime';
      Description = '';
      Caption = 'Location Open Date';
    }
    field(42; msdyn_PrimaryTimeZone; Integer)
    {
      ExternalName = 'msdyn_primarytimezone';
      ExternalType = 'Integer';
      Description = '';
      Caption = 'Primary Time Zone';
    }
    field(43; msdyn_ShortName; Text[100])
    {
      ExternalName = 'msdyn_shortname';
      ExternalType = 'String';
      Description = '';
      Caption = 'Short Name';
    }
    field(45; msdyn_Address1; Text[250])
    {
      ExternalName = 'msdyn_address1';
      ExternalType = 'String';
      Description = '';
      Caption = 'Street 1';
    }
    field(46; msdyn_Address2; Text[250])
    {
      ExternalName = 'msdyn_address2';
      ExternalType = 'String';
      Description = 'Street 2';
      Caption = 'Street 2';
    }
    field(47; msdyn_Address3; Text[250])
    {
      ExternalName = 'msdyn_address3';
      ExternalType = 'String';
      Description = 'Street 3';
      Caption = 'Street 3';
    }
    field(48; msdyn_AddressName; Text[250])
    {
      ExternalName = 'msdyn_addressname';
      ExternalType = 'String';
      Description = 'Address Name';
      Caption = 'Address Name';
    }
    field(49; msdyn_City; Text[80])
    {
      ExternalName = 'msdyn_city';
      ExternalType = 'String';
      Description = 'City';
      Caption = 'City';
    }
    field(50; msdyn_Country; Text[80])
    {
      ExternalName = 'msdyn_country';
      ExternalType = 'String';
      Description = 'Country/Region';
      Caption = 'Country/Region';
    }
    field(51; msdyn_Latitude; Decimal)
    {
      ExternalName = 'msdyn_latitude';
      ExternalType = 'Double';
      Description = 'Latitude';
      Caption = 'Latitude';
    }
    field(52; msdyn_Longitude; Decimal)
    {
      ExternalName = 'msdyn_longitude';
      ExternalType = 'Double';
      Description = 'Longitude';
      Caption = 'Longitude';
    }
    field(53; msdyn_PostalCode; Text[20])
    {
      ExternalName = 'msdyn_postalcode';
      ExternalType = 'String';
      Description = 'Postal Code';
      Caption = 'Postal Code';
    }
    field(54; msdyn_StateOrProvince; Text[50])
    {
      ExternalName = 'msdyn_stateorprovince';
      ExternalType = 'String';
      Description = 'State Or Province';
      Caption = 'State Or Province';
    }
  }
  keys
  {
    key(PK; msdyn_FunctionalLocationId)
    {
      Clustered = true;
    }
    key(Name; msdyn_Name)
    {
    }
  }
  fieldgroups
  {
    fieldgroup(DropDown; msdyn_Name)
    {
    }
  }
}

table 50102 "CDS msdyn_workorder"
{
  ExternalName = 'msdyn_workorder';
  TableType = CRM;
  Description = 'Work orders store all information about the job performed for an account. Stores incident details, resource, expenses, tasks, communications, billing and more';

  fields
  {
    field(1; msdyn_workorderId; GUID)
    {
      ExternalName = 'msdyn_workorderid';
      ExternalType = 'Uniqueidentifier';
      ExternalAccess = Insert;
      Description = 'Shows the entity instances.';
      Caption = 'WO Number';
    }
    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';
    }
    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;
    }
    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';
    }
    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;
    }
    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;
    }
    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;
    }
    field(16; OwnerId; GUID)
    {
      ExternalName = 'ownerid';
      ExternalType = 'Owner';
      Description = 'Owner Id';
      Caption = 'Owner';
    }
    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;
    }
    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;
    }
    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;
    }
    field(25; statecode; Option)
    {
      ExternalName = 'statecode';
      ExternalType = 'State';
      ExternalAccess = Modify;
      Description = 'Status of the Work Order';
      Caption = 'Status';
      InitValue = " ";
      OptionMembers = " ", Active, Inactive;
      OptionOrdinalValues = -1, 0, 1;
    }
    field(27; statuscode; Option)
    {
      ExternalName = 'statuscode';
      ExternalType = 'Status';
      Description = 'Reason for the status of the Work Order';
      Caption = 'Status Reason';
      InitValue = " ";
      OptionMembers = " ", Active, Inactive;
      OptionOrdinalValues = -1, 1, 2;
    }
    field(29; VersionNumber; BigInteger)
    {
      ExternalName = 'versionnumber';
      ExternalType = 'BigInt';
      ExternalAccess = Read;
      Description = 'Version Number';
      Caption = 'Version Number';
    }
    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';
    }
    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';
    }
    field(32; TimeZoneRuleVersionNumber; Integer)
    {
      ExternalName = 'timezoneruleversionnumber';
      ExternalType = 'Integer';
      Description = 'For internal use only.';
      Caption = 'Time Zone Rule Version Number';
    }
    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';
    }
    field(34; msdyn_name; Text[100])
    {
      ExternalName = 'msdyn_name';
      ExternalType = 'String';
      Description = 'Enter the name of the custom entity.';
      Caption = 'Work Order Number';
    }
    field(35; processid; GUID)
    {
      ExternalName = 'processid';
      ExternalType = 'Uniqueidentifier';
      Description = 'Shows the ID of the process associated with the entity.';
      Caption = 'Process Id';
    }
    field(36; stageid; GUID)
    {
      ExternalName = 'stageid';
      ExternalType = 'Uniqueidentifier';
      Description = 'Shows the ID of the stage where the entity is located.';
      Caption = 'Stage Id';
    }
    field(37; traversedpath; Text[1250])
    {
      ExternalName = 'traversedpath';
      ExternalType = 'String';
      Description = 'Shows a comma-separated list of string values representing the unique identifiers of stages in a business process flow instance in the order that they occur.';
      Caption = 'Traversed Path';
    }
    field(38; msdyn_Address1; Text[250])
    {
      ExternalName = 'msdyn_address1';
      ExternalType = 'String';
      Caption = 'Street 1';
    }
    field(39; msdyn_Address2; Text[250])
    {
      ExternalName = 'msdyn_address2';
      ExternalType = 'String';
      Caption = 'Street 2';
    }
    field(40; msdyn_Address3; Text[250])
    {
      ExternalName = 'msdyn_address3';
      ExternalType = 'String';
      Caption = 'Street 3';
    }
    field(41; msdyn_AddressName; Text[250])
    {
      ExternalName = 'msdyn_addressname';
      ExternalType = 'String';
      Caption = 'Address Name';
    }
    field(43; msdyn_AutoNumbering; Text[100])
    {
      ExternalName = 'msdyn_autonumbering';
      ExternalType = 'String';
      Description = 'Internal field used to generate the next name upon entity creation. It is optionally copied to the msdyn_name field.';
      Caption = 'Auto-Numbering';
    }
    field(44; msdyn_BillingAccount; GUID)
    {
      ExternalName = 'msdyn_billingaccount';
      ExternalType = 'Lookup';
      Description = 'Account to be billed. If a billing account has been set on service account it will be populated by default. Otherwise, the billing account will be the same as the service account.';
      Caption = 'Billing Account';
      TableRelation = "CRM Account".AccountId;
    }
    field(45; msdyn_BookingSummary; BLOB)
    {
      ExternalName = 'msdyn_bookingsummary';
      ExternalType = 'Memo';
      Description = 'For internal use only.';
      Caption = 'Booking Summary';
      Subtype = Memo;
    }
    field(46; msdyn_ChildIndex; Integer)
    {
      ExternalName = 'msdyn_childindex';
      ExternalType = 'Integer';
      Caption = 'Child Index';
    }
    field(47; msdyn_City; Text[80])
    {
      ExternalName = 'msdyn_city';
      ExternalType = 'String';
      Caption = 'City';
    }
    field(48; msdyn_ClosedBy; GUID)
    {
      ExternalName = 'msdyn_closedby';
      ExternalType = 'Lookup';
      Description = 'The user that last closed this work order';
      Caption = 'Closed By';
      TableRelation = "CRM Systemuser".SystemUserId;
    }
    field(49; msdyn_Country; Text[80])
    {
      ExternalName = 'msdyn_country';
      ExternalType = 'String';
      Caption = 'Country/Region';
    }
    field(51; msdyn_DateWindowEnd; Date)
    {
      ExternalName = 'msdyn_datewindowend';
      ExternalType = 'DateTime';
      Caption = 'Date Window End';
    }
    field(52; msdyn_DateWindowStart; Date)
    {
      ExternalName = 'msdyn_datewindowstart';
      ExternalType = 'DateTime';
      Caption = 'Date Window Start';
    }
    field(53; msdyn_EstimateSubtotalAmount; Decimal)
    {
      ExternalName = 'msdyn_estimatesubtotalamount';
      ExternalType = 'Money';
      Description = 'Enter the summary of total estimated billing amount for this work order';
      Caption = 'Estimate Subtotal Amount';
    }
    field(54; TransactionCurrencyId; GUID)
    {
      ExternalName = 'transactioncurrencyid';
      ExternalType = 'Lookup';
      Description = 'Unique identifier of the currency associated with the entity.';
      Caption = 'Currency';
      TableRelation = "CRM Transactioncurrency".TransactionCurrencyId;
    }
    field(56; ExchangeRate; Decimal)
    {
      ExternalName = 'exchangerate';
      ExternalType = 'Decimal';
      ExternalAccess = Read;
      Description = 'Shows the exchange rate for the currency associated with the entity with respect to the base currency.';
      Caption = 'Exchange Rate';
    }
    field(57; msdyn_estimatesubtotalamount_Base; Decimal)
    {
      ExternalName = 'msdyn_estimatesubtotalamount_base';
      ExternalType = 'Money';
      ExternalAccess = Read;
      Description = 'Shows the value of the estimate subtotal amount in the base currency.';
      Caption = 'Estimate Subtotal Amount (Base)';
    }
    field(58; msdyn_FollowUpNote; BLOB)
    {
      ExternalName = 'msdyn_followupnote';
      ExternalType = 'Memo';
      Description = 'Indicate the details of the follow up work';
      Caption = 'Follow Up Note (Deprecated)';
      Subtype = Memo;
    }
    field(59; msdyn_FollowUpRequired; Boolean)
    {
      ExternalName = 'msdyn_followuprequired';
      ExternalType = 'Boolean';
      Description = 'Allows indication if follow up work is required for a work order.';
      Caption = 'Follow Up Required (Deprecated)';
    }
    field(61; msdyn_Instructions; BLOB)
    {
      ExternalName = 'msdyn_instructions';
      ExternalType = 'Memo';
      Description = 'Shows instructions for booked resources. By default, this information is taken from the work order instructions field on the service account.';
      Caption = 'Instructions';
      Subtype = Memo;
    }
    field(62; msdyn_InternalFlags; BLOB)
    {
      ExternalName = 'msdyn_internalflags';
      ExternalType = 'Memo';
      Description = 'For internal use only.';
      Caption = 'Internal Flags';
      Subtype = Memo;
    }
    field(63; msdyn_IsFollowUp; Boolean)
    {
      ExternalName = 'msdyn_isfollowup';
      ExternalType = 'Boolean';
      Caption = 'Is FollowUp (Deprecated)';
    }
    field(65; msdyn_IsMobile; Boolean)
    {
      ExternalName = 'msdyn_ismobile';
      ExternalType = 'Boolean';
      Caption = 'Is Mobile';
    }
    field(67; msdyn_Latitude; Decimal)
    {
      ExternalName = 'msdyn_latitude';
      ExternalType = 'Double';
      Description = '';
      Caption = 'Latitude';
    }
    field(68; msdyn_Longitude; Decimal)
    {
      ExternalName = 'msdyn_longitude';
      ExternalType = 'Double';
      Description = '';
      Caption = 'Longitude';
    }
    field(69; msdyn_mapcontrol; Text[100])
    {
      ExternalName = 'msdyn_mapcontrol';
      ExternalType = 'String';
      ExternalAccess = Read;
      Description = '';
      Caption = 'This field should only be used to load the custom map control';
    }
    field(70; msdyn_OpportunityId; GUID)
    {
      ExternalName = 'msdyn_opportunityid';
      ExternalType = 'Lookup';
      Description = 'Unique identifier for Opportunity associated with Work Order.';
      Caption = 'Opportunity';
      TableRelation = "CRM Opportunity".OpportunityId;
    }
    field(71; msdyn_ParentWorkOrder; GUID)
    {
      ExternalName = 'msdyn_parentworkorder';
      ExternalType = 'Lookup';
      Description = 'Unique identifier for Work Order associated with Work Order.';
      Caption = 'Parent Work Order';
      TableRelation = "CDS msdyn_workorder".msdyn_workorderId;
    }
    field(72; msdyn_PostalCode; Text[20])
    {
      ExternalName = 'msdyn_postalcode';
      ExternalType = 'String';
      Caption = 'Postal Code';
    }
    field(74; msdyn_PriceList; GUID)
    {
      ExternalName = 'msdyn_pricelist';
      ExternalType = 'Lookup';
      Description = 'Price List that controls pricing for products / services added to this work order. By default the system will use the Price List specified on the account';
      Caption = 'Price List';
      TableRelation = "CRM Pricelevel".PriceLevelId;
    }
    field(75; msdyn_PrimaryIncidentDescription; BLOB)
    {
      ExternalName = 'msdyn_primaryincidentdescription';
      ExternalType = 'Memo';
      Description = 'Incident description';
      Caption = 'Primary Incident Description';
      Subtype = Memo;
    }
    field(76; msdyn_PrimaryIncidentEstimatedDuration; Integer)
    {
      ExternalName = 'msdyn_primaryincidentestimatedduration';
      ExternalType = 'Integer';
      Description = 'Shows the time estimated to resolve this incident.';
      Caption = 'Primary Incident Estimated Duration';
    }
    field(79; msdyn_ReportedByContact; GUID)
    {
      ExternalName = 'msdyn_reportedbycontact';
      ExternalType = 'Lookup';
      Description = 'The contact that reported this Work Order';
      Caption = 'Reported By Contact';
      TableRelation = "CRM Contact".ContactId;
    }
    field(80; msdyn_ServiceAccount; GUID)
    {
      ExternalName = 'msdyn_serviceaccount';
      ExternalType = 'Lookup';
      Description = 'Account to be serviced';
      Caption = 'Service Account';
      TableRelation = "CRM Account".AccountId;
    }
    field(81; msdyn_ServiceRequest; GUID)
    {
      ExternalName = 'msdyn_servicerequest';
      ExternalType = 'Lookup';
      Description = 'Case of which this work order originates from';
      Caption = 'Case';
      TableRelation = "CRM Incident".IncidentId;
    }
    field(83; msdyn_StateOrProvince; Text[50])
    {
      ExternalName = 'msdyn_stateorprovince';
      ExternalType = 'String';
      Caption = 'State Or Province';
    }
    field(85; msdyn_SubtotalAmount; Decimal)
    {
      ExternalName = 'msdyn_subtotalamount';
      ExternalType = 'Money';
      Description = 'Enter the summary of subtotal billing amount excluding tax for this work order.';
      Caption = 'Subtotal Amount';
    }
    field(86; msdyn_subtotalamount_Base; Decimal)
    {
      ExternalName = 'msdyn_subtotalamount_base';
      ExternalType = 'Money';
      ExternalAccess = Read;
      Description = 'Shows the value of the subtotal amount in the base currency.';
      Caption = 'Subtotal Amount (Base)';
    }
    field(88; msdyn_SystemStatus; Option)
    {
      ExternalName = 'msdyn_systemstatus';
      ExternalType = 'Picklist';
      Description = 'Tracks the current system status.';
      Caption = 'System Status';
      InitValue = " ";
      OptionMembers = " ", Unscheduled, Scheduled, InProgress, Completed, Posted, Canceled;
      OptionOrdinalValues = -1, 690970000, 690970001, 690970002, 690970003, 690970004, 690970005;
    }
    field(90; msdyn_Taxable; Boolean)
    {
      ExternalName = 'msdyn_taxable';
      ExternalType = 'Boolean';
      Description = 'Shows whether sales tax is to be charged for this work order.';
      Caption = 'Taxable';
    }
    field(93; msdyn_TimeClosed; Datetime)
    {
      ExternalName = 'msdyn_timeclosed';
      ExternalType = 'DateTime';
      Description = 'Enter the time this work order was last closed.';
      Caption = 'Closed On';
    }
    field(94; msdyn_TimeFromPromised; Datetime)
    {
      ExternalName = 'msdyn_timefrompromised';
      ExternalType = 'DateTime';
      Description = 'Enter the starting range of the time promised to the account that incidents will be resolved.';
      Caption = 'Time From Promised';
    }
    field(97; msdyn_TimeToPromised; Datetime)
    {
      ExternalName = 'msdyn_timetopromised';
      ExternalType = 'DateTime';
      Description = 'Enter the ending range of the time promised to the account that incidents will be resolved.';
      Caption = 'Time To Promised';
    }
    field(98; msdyn_TimeWindowEnd; Datetime)
    {
      ExternalName = 'msdyn_timewindowend';
      ExternalType = 'DateTime';
      Caption = 'Time Window End';
    }
    field(99; msdyn_TimeWindowStart; Datetime)
    {
      ExternalName = 'msdyn_timewindowstart';
      ExternalType = 'DateTime';
      Caption = 'Time Window Start';
    }
    field(100; msdyn_TotalAmount; Decimal)
    {
      ExternalName = 'msdyn_totalamount';
      ExternalType = 'Money';
      Description = 'Enter the summary of total billing amount for this work order.';
      Caption = 'Total Amount';
    }
    field(101; msdyn_totalamount_Base; Decimal)
    {
      ExternalName = 'msdyn_totalamount_base';
      ExternalType = 'Money';
      ExternalAccess = Read;
      Description = 'Shows the value of the total amount in the base currency.';
      Caption = 'Total Amount (Base)';
    }
    field(102; msdyn_TotalSalesTax; Decimal)
    {
      ExternalName = 'msdyn_totalsalestax';
      ExternalType = 'Money';
      Description = 'Enter the summary of total sales tax charged for this work order.';
      Caption = 'Total Sales Tax';
    }
    field(103; msdyn_totalsalestax_Base; Decimal)
    {
      ExternalName = 'msdyn_totalsalestax_base';
      ExternalType = 'Money';
      ExternalAccess = Read;
      Description = 'Shows the value of the total sales tax in the base currency.';
      Caption = 'Total Sales Tax (Base)';
    }
    field(105; msdyn_WorkLocation; Option)
    {
      ExternalName = 'msdyn_worklocation';
      ExternalType = 'Picklist';
      Caption = 'Work Location';
      InitValue = Onsite;
      OptionMembers = Onsite, Facility, LocationAgnostic;
      OptionOrdinalValues = 690970000, 690970001, 690970002;
    }
    field(109; msdyn_WorkOrderSummary; BLOB)
    {
      ExternalName = 'msdyn_workordersummary';
      ExternalType = 'Memo';
      Description = 'Type a summary description of the job.';
      Caption = 'Work Order Summary';
      Subtype = Memo;
    }
    field(128; msdyn_ParentWorkOrderName; Text[100])
    {
      FieldClass = FlowField;
      CalcFormula = lookup("CDS msdyn_workorder".msdyn_name where(msdyn_workorderId=field(msdyn_ParentWorkOrder)));
      ExternalName = 'msdyn_parentworkordername';
      ExternalType = 'String';
      ExternalAccess = Read;
    }
    field(138; msdyn_completedon; Datetime)
    {
      ExternalName = 'msdyn_completedon';
      ExternalType = 'DateTime';
      Description = 'When Bookings are used on a Work Order, this field is auto-populated based on the latest End Time from the related Bookings. Otherwise, this field is populated based on the change of System Status.';
      Caption = 'Completed On';
    }
    field(139; msdyn_CostNTEPercent; Integer)
    {
      ExternalName = 'msdyn_costntepercent';
      ExternalType = 'Integer';
      Description = 'Indicates the percentage proximity or overage of the work order cost based on applied Cost not-to-exceed (rounded up to the nearest whole number).';
      Caption = 'Cost not-to-exceed';
    }
    field(140; msdyn_firstarrivedon; Datetime)
    {
      ExternalName = 'msdyn_firstarrivedon';
      ExternalType = 'DateTime';
      Description = 'When Bookings are used on a Work Order, this field is auto-populated based on the earliest Actual Arrival Time from the related Bookings.';
      Caption = 'First Arrived On';
    }
    field(141; msdyn_FunctionalLocation; GUID)
    {
      ExternalName = 'msdyn_functionallocation';
      ExternalType = 'Lookup';
      Description = 'Workorder''s functional location';
      Caption = 'Functional Location';
      TableRelation = "CDS msdyn_FunctionalLocation".msdyn_FunctionalLocationId;
    }
    field(142; msdyn_nottoexceedcostamount; Decimal)
    {
      ExternalName = 'msdyn_nottoexceedcostamount';
      ExternalType = 'Money';
      Description = 'The value of not-to-exceed cost for the work order in base currency.';
      Caption = 'Cost not-to-exceed';
    }
    field(143; msdyn_nottoexceedcostamount_Base; Decimal)
    {
      ExternalName = 'msdyn_nottoexceedcostamount_base';
      ExternalType = 'Money';
      ExternalAccess = Read;
      Description = 'Value of the Cost not-to-exceed in base currency.';
      Caption = 'Cost not-to-exceed (Base)';
    }
    field(144; msdyn_nottoexceedpriceamount; Decimal)
    {
      ExternalName = 'msdyn_nottoexceedpriceamount';
      ExternalType = 'Money';
      Description = 'The value of not-to-exceed price for the work order in base currency.';
      Caption = 'Price not-to-exceed';
    }
    field(145; msdyn_nottoexceedpriceamount_Base; Decimal)
    {
      ExternalName = 'msdyn_nottoexceedpriceamount_base';
      ExternalType = 'Money';
      ExternalAccess = Read;
      Description = 'Value of the Price not-to-exceed in base currency.';
      Caption = 'Price not-to-exceed (Base)';
    }
    field(146; msdyn_phoneNumber; Text[250])
    {
      ExternalName = 'msdyn_phoneNumber';
      ExternalType = 'String';
      Caption = 'Customer Phone Number';
    }
    field(147; msdyn_PriceNTEPercent; Integer)
    {
      ExternalName = 'msdyn_pricentepercent';
      ExternalType = 'Integer';
      Description = 'Indicates the percentage proximity or overage of the work order price based on applied Price not-to-exceed (rounded up to the nearest whole number).';
      Caption = 'Price not-to-exceed';
    }
    field(149; msdyn_productsservicescost; Decimal)
    {
      ExternalName = 'msdyn_productsservicescost';
      ExternalType = 'Money';
      Description = 'The total actual cost of the products and services';
      Caption = 'Total Cost';
    }
    field(150; msdyn_productsservicescost_Base; Decimal)
    {
      ExternalName = 'msdyn_productsservicescost_base';
      ExternalType = 'Money';
      Description = 'Value of the Total Cost in base currency.';
      Caption = 'Total Cost (Base)';
    }
    field(151; msdyn_productsservicesestimatedcost; Decimal)
    {
      ExternalName = 'msdyn_productsservicesestimatedcost';
      ExternalType = 'Money';
      Description = 'The total estimated cost of the products and services';
      Caption = 'Total Estimated Cost';
    }
    field(152; msdyn_productsservicesestimatedcost_Base; Decimal)
    {
      ExternalName = 'msdyn_productsservicesestimatedcost_base';
      ExternalType = 'Money';
      Description = 'Value of the Total Estimated Cost in base currency.';
      Caption = 'Total Estimated Cost (Base)';
    }
    field(153; msdyn_totalestimatedaftertaxprice; Decimal)
    {
      ExternalName = 'msdyn_totalestimatedaftertaxprice';
      ExternalType = 'Money';
      Description = 'The estimated price after adding tax to the subtotal';
      Caption = 'Total Estimated After Tax Price';
    }
    field(154; msdyn_totalestimatedaftertaxprice_Base; Decimal)
    {
      ExternalName = 'msdyn_totalestimatedaftertaxprice_base';
      ExternalType = 'Money';
      Description = 'Value of the Total Estimated After Tax Price in base currency.';
      Caption = 'Total Estimated After Tax Price (Base)';
    }
    field(155; msdyn_totalestimatedduration; Integer)
    {
      ExternalName = 'msdyn_totalestimatedduration';
      ExternalType = 'Integer';
      Description = 'Calculated from the estimated duration of Work Order Incidents and Work Order Service Tasks not related to a Work Order Incident on the Work Order. Intended to be read-only.';
      Caption = 'Total Estimated Duration';
    }
    field(157; msdyn_FunctionalLocationName; Text[60])
    {
      FieldClass = FlowField;
      CalcFormula = lookup("CDS msdyn_FunctionalLocation".msdyn_Name where(msdyn_FunctionalLocationId=field(msdyn_FunctionalLocation)));
      ExternalName = 'msdyn_functionallocationname';
      ExternalType = 'String';
      ExternalAccess = Read;
    }
    field(162; msdyn_DisplayAddress; Text[2048])
    {
      ExternalName = 'msdyn_displayaddress';
      ExternalType = 'String';
      ExternalAccess = Read;
      Description = 'Combined address field suitable for display';
      Caption = 'Display Address';
    }
  }
  keys
  {
    key(PK; msdyn_workorderId)
    {
      Clustered = true;
    }
    key(Name; msdyn_name)
    {
    }
  }
  fieldgroups
  {
    fieldgroup(DropDown; msdyn_name)
    {
    }
  }
}
Shathika94 commented 5 months ago

It is clearly caused by one of the three picklists, what is the output of below query? You can call this in a browser tab.

GET [Organization URI]/api/data/v9.2/EntityDefinitions(LogicalName='msdyn_functionallocation')/Attributes/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet,GlobalOptionSet

If this is blocking you, repeating that you can always create proxy tables manually, you can take the one created above and add more fields if needed.

I have tried it and it is not blocking but giving me the datalist in json.

onbuyuka commented 5 months ago

@Shathika94 I meant if this issue is blocking you or not. As I said it is caused by one of those picklists hence why I wanted to see the definitions of them. I can try to reproduce the issue that way. Could you please share the output of the query above?

Shathika94 commented 4 months ago

GET [Organization URI]/api/data/v9.2/EntityDefinitions(LogicalName='msdyn_functionallocation')/Attributes/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet,GlobalOptionSet

Here's the output of the query. {"@odata.context":https://boutiqueqa.crm3.dynamics.com/api/data/v9.2/$metadata#EntityDefinitions('msdyn_functionallocation')/Attributes/Microsoft.Dynamics.CRM.PicklistAttributeMetadata(LogicalName,OptionSet(),GlobalOptionSet()),"value":[{"LogicalName":"fen_amiantecode","MetadataId":"d4d697bf-fada-46ad-899d-9d34d7d2c906","OptionSet":{"MetadataId":"6c319958-b192-4bb6-8642-10c9db40c356","HasChanged":null,"IsCustomOptionSet":true,"IsGlobal":true,"IsManaged":true,"Name":"yesornoselectiontype","ExternalTypeName":"","OptionSetType":"Boolean","IntroducedVersion":"9.1.0.0","ParentOptionSetName":null,"Description":{"LocalizedLabels":[{"Label":"Options to select yes or no.","LanguageCode":1033,"IsManaged":true,"MetadataId":"8f2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null},{"Label":"Options pour s\u00e9lectionner Oui ou Non.","LanguageCode":1036,"IsManaged":true,"MetadataId":"8819263d-d039-42d7-8349-8b82d670a12b","HasChanged":null}],"UserLocalizedLabel":{"Label":"Options to select yes or no.","LanguageCode":1033,"IsManaged":true,"MetadataId":"8f2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null}},"DisplayName":{"LocalizedLabels":[{"Label":"Option to select yes or no","LanguageCode":1033,"IsManaged":true,"MetadataId":"8e2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null},{"Label":"Option pour s\u00e9lectionner Oui ou Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"9b8706f4-fab6-44ca-b6c0-2105c277750d","HasChanged":null}],"UserLocalizedLabel":{"Label":"Option to select yes or no","LanguageCode":1033,"IsManaged":true,"MetadataId":"8e2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null}},"IsCustomizable":{"Value":false,"CanBeChanged":false,"ManagedPropertyLogicalName":"iscustomizable"},"Options":[{"Value":0,"Color":"#0000ff","IsManaged":true,"ExternalValue":"0","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"No","LanguageCode":1033,"IsManaged":true,"MetadataId":"e552aa13-dec8-473b-a5e6-3700182bfc18","HasChanged":null},{"Label":"Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"6ad3317a-2ac7-45c4-bfa0-5d662ed00f29","HasChanged":null}],"UserLocalizedLabel":{"Label":"No","LanguageCode":1033,"IsManaged":true,"MetadataId":"e552aa13-dec8-473b-a5e6-3700182bfc18","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"option for no","LanguageCode":1033,"IsManaged":true,"MetadataId":"bc4b8a84-6064-4c18-a769-29ecc76572f8","HasChanged":null},{"Label":"option pour s\u00e9lectionner Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"8ea33cb4-13b9-48af-b5e2-e11fde98f353","HasChanged":null}],"UserLocalizedLabel":{"Label":"option for no","LanguageCode":1033,"IsManaged":true,"MetadataId":"bc4b8a84-6064-4c18-a769-29ecc76572f8","HasChanged":null}}},{"Value":1,"Color":"#0000ff","IsManaged":true,"ExternalValue":"1","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"Yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"537d0125-5b83-4339-9f06-b8f9c13d7c1e","HasChanged":null},{"Label":"Oui","LanguageCode":1036,"IsManaged":true,"MetadataId":"fd01037f-d6b8-4f5b-b079-20862840fc8e","HasChanged":null}],"UserLocalizedLabel":{"Label":"Yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"537d0125-5b83-4339-9f06-b8f9c13d7c1e","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"option for yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"6c42c36a-8ba1-40ea-9e4b-7f20cb451a5c","HasChanged":null},{"Label":"option pour s\u00e9lectionner Oui","LanguageCode":1036,"IsManaged":true,"MetadataId":"322fbbb4-504b-4065-b8b5-88141e6f1e10","HasChanged":null}],"UserLocalizedLabel":{"Label":"option for yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"6c42c36a-8ba1-40ea-9e4b-7f20cb451a5c","HasChanged":null}}}]},"GlobalOptionSet":{"MetadataId":"6c319958-b192-4bb6-8642-10c9db40c356","HasChanged":null,"IsCustomOptionSet":true,"IsGlobal":true,"IsManaged":true,"Name":"yesornoselectiontype","ExternalTypeName":"","OptionSetType":"Boolean","IntroducedVersion":"9.1.0.0","ParentOptionSetName":null,"Description":{"LocalizedLabels":[{"Label":"Options to select yes or no.","LanguageCode":1033,"IsManaged":true,"MetadataId":"8f2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null},{"Label":"Options pour s\u00e9lectionner Oui ou Non.","LanguageCode":1036,"IsManaged":true,"MetadataId":"8819263d-d039-42d7-8349-8b82d670a12b","HasChanged":null}],"UserLocalizedLabel":{"Label":"Options to select yes or no.","LanguageCode":1033,"IsManaged":true,"MetadataId":"8f2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null}},"DisplayName":{"LocalizedLabels":[{"Label":"Option to select yes or no","LanguageCode":1033,"IsManaged":true,"MetadataId":"8e2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null},{"Label":"Option pour s\u00e9lectionner Oui ou Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"9b8706f4-fab6-44ca-b6c0-2105c277750d","HasChanged":null}],"UserLocalizedLabel":{"Label":"Option to select yes or no","LanguageCode":1033,"IsManaged":true,"MetadataId":"8e2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null}},"IsCustomizable":{"Value":false,"CanBeChanged":false,"ManagedPropertyLogicalName":"iscustomizable"},"Options":[{"Value":0,"Color":"#0000ff","IsManaged":true,"ExternalValue":"0","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"No","LanguageCode":1033,"IsManaged":true,"MetadataId":"e552aa13-dec8-473b-a5e6-3700182bfc18","HasChanged":null},{"Label":"Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"6ad3317a-2ac7-45c4-bfa0-5d662ed00f29","HasChanged":null}],"UserLocalizedLabel":{"Label":"No","LanguageCode":1033,"IsManaged":true,"MetadataId":"e552aa13-dec8-473b-a5e6-3700182bfc18","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"option for no","LanguageCode":1033,"IsManaged":true,"MetadataId":"bc4b8a84-6064-4c18-a769-29ecc76572f8","HasChanged":null},{"Label":"option pour s\u00e9lectionner Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"8ea33cb4-13b9-48af-b5e2-e11fde98f353","HasChanged":null}],"UserLocalizedLabel":{"Label":"option for no","LanguageCode":1033,"IsManaged":true,"MetadataId":"bc4b8a84-6064-4c18-a769-29ecc76572f8","HasChanged":null}}},{"Value":1,"Color":"#0000ff","IsManaged":true,"ExternalValue":"1","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"Yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"537d0125-5b83-4339-9f06-b8f9c13d7c1e","HasChanged":null},{"Label":"Oui","LanguageCode":1036,"IsManaged":true,"MetadataId":"fd01037f-d6b8-4f5b-b079-20862840fc8e","HasChanged":null}],"UserLocalizedLabel":{"Label":"Yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"537d0125-5b83-4339-9f06-b8f9c13d7c1e","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"option for yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"6c42c36a-8ba1-40ea-9e4b-7f20cb451a5c","HasChanged":null},{"Label":"option pour s\u00e9lectionner Oui","LanguageCode":1036,"IsManaged":true,"MetadataId":"322fbbb4-504b-4065-b8b5-88141e6f1e10","HasChanged":null}],"UserLocalizedLabel":{"Label":"option for yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"6c42c36a-8ba1-40ea-9e4b-7f20cb451a5c","HasChanged":null}}}]}},{"LogicalName":"fen_regisccqcode","MetadataId":"0183f583-4665-4092-b76a-bc920da73ef0","OptionSet":{"MetadataId":"6c319958-b192-4bb6-8642-10c9db40c356","HasChanged":null,"IsCustomOptionSet":true,"IsGlobal":true,"IsManaged":true,"Name":"yesornoselectiontype","ExternalTypeName":"","OptionSetType":"Boolean","IntroducedVersion":"9.1.0.0","ParentOptionSetName":null,"Description":{"LocalizedLabels":[{"Label":"Options to select yes or no.","LanguageCode":1033,"IsManaged":true,"MetadataId":"8f2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null},{"Label":"Options pour s\u00e9lectionner Oui ou Non.","LanguageCode":1036,"IsManaged":true,"MetadataId":"8819263d-d039-42d7-8349-8b82d670a12b","HasChanged":null}],"UserLocalizedLabel":{"Label":"Options to select yes or no.","LanguageCode":1033,"IsManaged":true,"MetadataId":"8f2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null}},"DisplayName":{"LocalizedLabels":[{"Label":"Option to select yes or no","LanguageCode":1033,"IsManaged":true,"MetadataId":"8e2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null},{"Label":"Option pour s\u00e9lectionner Oui ou Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"9b8706f4-fab6-44ca-b6c0-2105c277750d","HasChanged":null}],"UserLocalizedLabel":{"Label":"Option to select yes or no","LanguageCode":1033,"IsManaged":true,"MetadataId":"8e2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null}},"IsCustomizable":{"Value":false,"CanBeChanged":false,"ManagedPropertyLogicalName":"iscustomizable"},"Options":[{"Value":0,"Color":"#0000ff","IsManaged":true,"ExternalValue":"0","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"No","LanguageCode":1033,"IsManaged":true,"MetadataId":"e552aa13-dec8-473b-a5e6-3700182bfc18","HasChanged":null},{"Label":"Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"6ad3317a-2ac7-45c4-bfa0-5d662ed00f29","HasChanged":null}],"UserLocalizedLabel":{"Label":"No","LanguageCode":1033,"IsManaged":true,"MetadataId":"e552aa13-dec8-473b-a5e6-3700182bfc18","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"option for no","LanguageCode":1033,"IsManaged":true,"MetadataId":"bc4b8a84-6064-4c18-a769-29ecc76572f8","HasChanged":null},{"Label":"option pour s\u00e9lectionner Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"8ea33cb4-13b9-48af-b5e2-e11fde98f353","HasChanged":null}],"UserLocalizedLabel":{"Label":"option for no","LanguageCode":1033,"IsManaged":true,"MetadataId":"bc4b8a84-6064-4c18-a769-29ecc76572f8","HasChanged":null}}},{"Value":1,"Color":"#0000ff","IsManaged":true,"ExternalValue":"1","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"Yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"537d0125-5b83-4339-9f06-b8f9c13d7c1e","HasChanged":null},{"Label":"Oui","LanguageCode":1036,"IsManaged":true,"MetadataId":"fd01037f-d6b8-4f5b-b079-20862840fc8e","HasChanged":null}],"UserLocalizedLabel":{"Label":"Yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"537d0125-5b83-4339-9f06-b8f9c13d7c1e","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"option for yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"6c42c36a-8ba1-40ea-9e4b-7f20cb451a5c","HasChanged":null},{"Label":"option pour s\u00e9lectionner Oui","LanguageCode":1036,"IsManaged":true,"MetadataId":"322fbbb4-504b-4065-b8b5-88141e6f1e10","HasChanged":null}],"UserLocalizedLabel":{"Label":"option for yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"6c42c36a-8ba1-40ea-9e4b-7f20cb451a5c","HasChanged":null}}}]},"GlobalOptionSet":{"MetadataId":"6c319958-b192-4bb6-8642-10c9db40c356","HasChanged":null,"IsCustomOptionSet":true,"IsGlobal":true,"IsManaged":true,"Name":"yesornoselectiontype","ExternalTypeName":"","OptionSetType":"Boolean","IntroducedVersion":"9.1.0.0","ParentOptionSetName":null,"Description":{"LocalizedLabels":[{"Label":"Options to select yes or no.","LanguageCode":1033,"IsManaged":true,"MetadataId":"8f2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null},{"Label":"Options pour s\u00e9lectionner Oui ou Non.","LanguageCode":1036,"IsManaged":true,"MetadataId":"8819263d-d039-42d7-8349-8b82d670a12b","HasChanged":null}],"UserLocalizedLabel":{"Label":"Options to select yes or no.","LanguageCode":1033,"IsManaged":true,"MetadataId":"8f2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null}},"DisplayName":{"LocalizedLabels":[{"Label":"Option to select yes or no","LanguageCode":1033,"IsManaged":true,"MetadataId":"8e2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null},{"Label":"Option pour s\u00e9lectionner Oui ou Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"9b8706f4-fab6-44ca-b6c0-2105c277750d","HasChanged":null}],"UserLocalizedLabel":{"Label":"Option to select yes or no","LanguageCode":1033,"IsManaged":true,"MetadataId":"8e2a5e41-c865-ee11-9ae7-000d3af46d37","HasChanged":null}},"IsCustomizable":{"Value":false,"CanBeChanged":false,"ManagedPropertyLogicalName":"iscustomizable"},"Options":[{"Value":0,"Color":"#0000ff","IsManaged":true,"ExternalValue":"0","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"No","LanguageCode":1033,"IsManaged":true,"MetadataId":"e552aa13-dec8-473b-a5e6-3700182bfc18","HasChanged":null},{"Label":"Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"6ad3317a-2ac7-45c4-bfa0-5d662ed00f29","HasChanged":null}],"UserLocalizedLabel":{"Label":"No","LanguageCode":1033,"IsManaged":true,"MetadataId":"e552aa13-dec8-473b-a5e6-3700182bfc18","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"option for no","LanguageCode":1033,"IsManaged":true,"MetadataId":"bc4b8a84-6064-4c18-a769-29ecc76572f8","HasChanged":null},{"Label":"option pour s\u00e9lectionner Non","LanguageCode":1036,"IsManaged":true,"MetadataId":"8ea33cb4-13b9-48af-b5e2-e11fde98f353","HasChanged":null}],"UserLocalizedLabel":{"Label":"option for no","LanguageCode":1033,"IsManaged":true,"MetadataId":"bc4b8a84-6064-4c18-a769-29ecc76572f8","HasChanged":null}}},{"Value":1,"Color":"#0000ff","IsManaged":true,"ExternalValue":"1","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"Yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"537d0125-5b83-4339-9f06-b8f9c13d7c1e","HasChanged":null},{"Label":"Oui","LanguageCode":1036,"IsManaged":true,"MetadataId":"fd01037f-d6b8-4f5b-b079-20862840fc8e","HasChanged":null}],"UserLocalizedLabel":{"Label":"Yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"537d0125-5b83-4339-9f06-b8f9c13d7c1e","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"option for yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"6c42c36a-8ba1-40ea-9e4b-7f20cb451a5c","HasChanged":null},{"Label":"option pour s\u00e9lectionner Oui","LanguageCode":1036,"IsManaged":true,"MetadataId":"322fbbb4-504b-4065-b8b5-88141e6f1e10","HasChanged":null}],"UserLocalizedLabel":{"Label":"option for yes","LanguageCode":1033,"IsManaged":true,"MetadataId":"6c42c36a-8ba1-40ea-9e4b-7f20cb451a5c","HasChanged":null}}}]}},{"LogicalName":"fen_typederevetementexterieurcode","MetadataId":"1df7519c-b59f-4505-88dc-c2da972a2864","OptionSet":{"MetadataId":"f38e99ab-a943-4ef0-b46c-b9d76c3d9e3f","HasChanged":null,"IsCustomOptionSet":true,"IsGlobal":true,"IsManaged":false,"Name":"fen_fentypederevetementexterieur","ExternalTypeName":"","OptionSetType":"Picklist","IntroducedVersion":"1.0.0.0","ParentOptionSetName":null,"Description":{"LocalizedLabels":[],"UserLocalizedLabel":null},"DisplayName":{"LocalizedLabels":[{"Label":"Fen Type de rev\u00eatement ext\u00e9rieur","LanguageCode":1033,"IsManaged":false,"MetadataId":"51da93b3-ce7b-ee11-8179-000d3a09d083","HasChanged":null}],"UserLocalizedLabel":{"Label":"Fen _ Type de rev\u00eatement ext\u00e9rieur","LanguageCode":1033,"IsManaged":false,"MetadataId":"51da93b3-ce7b-ee11-8179-000d3a09d083","HasChanged":null}},"IsCustomizable":{"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizable"},"Options":[{"Value":794870000,"Color":null,"IsManaged":false,"ExternalValue":"","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"Briques","LanguageCode":1033,"IsManaged":false,"MetadataId":"151448f5-c384-4fc1-948e-c893b1b3c5ef","HasChanged":null}],"UserLocalizedLabel":{"Label":"Briques","LanguageCode":1033,"IsManaged":false,"MetadataId":"151448f5-c384-4fc1-948e-c893b1b3c5ef","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"746867db-1b25-473a-b0f8-215f502e6e90","HasChanged":null}],"UserLocalizedLabel":{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"746867db-1b25-473a-b0f8-215f502e6e90","HasChanged":null}}},{"Value":794870001,"Color":null,"IsManaged":false,"ExternalValue":"","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"Vinyle","LanguageCode":1033,"IsManaged":false,"MetadataId":"57e0f631-c3f6-4663-ac3f-287a0fe2f3ef","HasChanged":null}],"UserLocalizedLabel":{"Label":"Vinyle","LanguageCode":1033,"IsManaged":false,"MetadataId":"57e0f631-c3f6-4663-ac3f-287a0fe2f3ef","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"bae3ece7-381f-4bca-af78-2a3257cf1af0","HasChanged":null}],"UserLocalizedLabel":{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"bae3ece7-381f-4bca-af78-2a3257cf1af0","HasChanged":null}}},{"Value":794870002,"Color":null,"IsManaged":false,"ExternalValue":"","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"Aluminium","LanguageCode":1033,"IsManaged":false,"MetadataId":"30d85ea5-2a39-4c21-9439-16c712ed0e67","HasChanged":null}],"UserLocalizedLabel":{"Label":"Aluminium","LanguageCode":1033,"IsManaged":false,"MetadataId":"30d85ea5-2a39-4c21-9439-16c712ed0e67","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"cd20fd2f-a7bb-4f02-a8b8-f34a12d7096f","HasChanged":null}],"UserLocalizedLabel":{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"cd20fd2f-a7bb-4f02-a8b8-f34a12d7096f","HasChanged":null}}}]},"GlobalOptionSet":{"MetadataId":"f38e99ab-a943-4ef0-b46c-b9d76c3d9e3f","HasChanged":null,"IsCustomOptionSet":true,"IsGlobal":true,"IsManaged":false,"Name":"fen_fentypederevetementexterieur","ExternalTypeName":"","OptionSetType":"Picklist","IntroducedVersion":"1.0.0.0","ParentOptionSetName":null,"Description":{"LocalizedLabels":[],"UserLocalizedLabel":null},"DisplayName":{"LocalizedLabels":[{"Label":"Fen Type de rev\u00eatement ext\u00e9rieur","LanguageCode":1033,"IsManaged":false,"MetadataId":"51da93b3-ce7b-ee11-8179-000d3a09d083","HasChanged":null}],"UserLocalizedLabel":{"Label":"Fen _ Type de rev\u00eatement ext\u00e9rieur","LanguageCode":1033,"IsManaged":false,"MetadataId":"51da93b3-ce7b-ee11-8179-000d3a09d083","HasChanged":null}},"IsCustomizable":{"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizable"},"Options":[{"Value":794870000,"Color":null,"IsManaged":false,"ExternalValue":"","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"Briques","LanguageCode":1033,"IsManaged":false,"MetadataId":"151448f5-c384-4fc1-948e-c893b1b3c5ef","HasChanged":null}],"UserLocalizedLabel":{"Label":"Briques","LanguageCode":1033,"IsManaged":false,"MetadataId":"151448f5-c384-4fc1-948e-c893b1b3c5ef","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"746867db-1b25-473a-b0f8-215f502e6e90","HasChanged":null}],"UserLocalizedLabel":{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"746867db-1b25-473a-b0f8-215f502e6e90","HasChanged":null}}},{"Value":794870001,"Color":null,"IsManaged":false,"ExternalValue":"","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"Vinyle","LanguageCode":1033,"IsManaged":false,"MetadataId":"57e0f631-c3f6-4663-ac3f-287a0fe2f3ef","HasChanged":null}],"UserLocalizedLabel":{"Label":"Vinyle","LanguageCode":1033,"IsManaged":false,"MetadataId":"57e0f631-c3f6-4663-ac3f-287a0fe2f3ef","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"bae3ece7-381f-4bca-af78-2a3257cf1af0","HasChanged":null}],"UserLocalizedLabel":{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"bae3ece7-381f-4bca-af78-2a3257cf1af0","HasChanged":null}}},{"Value":794870002,"Color":null,"IsManaged":false,"ExternalValue":"","ParentValues":[],"Tag":null,"IsHidden":false,"MetadataId":null,"HasChanged":null,"Label":{"LocalizedLabels":[{"Label":"Aluminium","LanguageCode":1033,"IsManaged":false,"MetadataId":"30d85ea5-2a39-4c21-9439-16c712ed0e67","HasChanged":null}],"UserLocalizedLabel":{"Label":"Aluminium","LanguageCode":1033,"IsManaged":false,"MetadataId":"30d85ea5-2a39-4c21-9439-16c712ed0e67","HasChanged":null}},"Description":{"LocalizedLabels":[{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"cd20fd2f-a7bb-4f02-a8b8-f34a12d7096f","HasChanged":null}],"UserLocalizedLabel":{"Label":"","LanguageCode":1033,"IsManaged":false,"MetadataId":"cd20fd2f-a7bb-4f02-a8b8-f34a12d7096f","HasChanged":null}}}]}}]}