{"title":"OptionOrdinalValues Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-optionordinalvalues-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-optionordinalvalues-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-optionordinalvalues-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Specifies the list of option values.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":157,"chars":27},{"level":2,"title":"Property values","slug":"property-values","at":184,"chars":143},{"level":2,"title":"Syntax","slug":"syntax","at":327,"chars":53},{"level":2,"title":"Remarks","slug":"remarks","at":380,"chars":202},{"level":2,"title":"Related information","slug":"related-information","at":582,"chars":124}],"text":"> Version: _Available or changed with runtime version 1.0._\nSpecifies the list of option values. Can be set if the property ExternalType is set to Picklist.\n## Applies to\n Table field\n## Property values\nThe position of the option members value in the external database. You can set -1, 1, 2, but you cannot set the value to 0.\n## Syntax\n```al\nOptionOrdinalValues = 1,2,3,4,5;\n```\n## Remarks\nThis property is used when you specify CDS in the TableType property. These tables use a different SQL Server connection than the normal tables in the Dynamics 365 Business Central database.\n## Related information\ndevenv-properties\nTable Properties<devenv-table-property-overview>\n../devenv-al-table-proxy-generator"}