{"id":2351,"date":"2021-03-18T20:10:54","date_gmt":"2021-03-18T17:10:54","guid":{"rendered":"https:\/\/guvensahin.com\/?p=2351"},"modified":"2021-03-18T20:10:56","modified_gmt":"2021-03-18T17:10:56","slug":"dynamics-365-fo-data-entitye-dimension-alan-eklemek","status":"publish","type":"post","link":"https:\/\/guvensahin.com\/tr\/dynamics-365-fo-data-entitye-dimension-alan-eklemek\/","title":{"rendered":"Dynamics 365 F&#038;O \u2013 Data Entity&#8217;e Dimension Alan Eklemek"},"content":{"rendered":"\n<p>Data Entity&#8217;e LedgerDimension yada DefaultDimension tipinde bir alan ekledi\u011finiz zaman build s\u0131ras\u0131nda a\u015fa\u011f\u0131daki hata ile kar\u015f\u0131la\u015f\u0131rs\u0131n\u0131z.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>The 'DefaultDimension' entity field must have the Access Modifier property set to Private or Internal.<\/code><\/pre>\n\n\n\n<p>D365 F&amp;O standartta dimension alanlar\u0131n\u0131n Data Entity \u00fczerinden sistem d\u0131\u015f\u0131na (Public olarak) yay\u0131nlanmas\u0131na izin vermiyor. Hata da dedi\u011fi gibi alan\u0131n <strong>AccessModifier<\/strong> \u00f6zelli\u011fini Private yada Internal yaparsan\u0131z build hatas\u0131n\u0131 a\u015fars\u0131n\u0131z fakat sadece D365 F&amp;O i\u00e7indeki kullan\u0131mlarda bu alanlara eri\u015febilirsiniz. \u00d6rne\u011fin Power BI \u00fczerinden Data Entity&#8217;e eri\u015fti\u011finizde dimension alanlar\u0131n\u0131 g\u00f6remessiniz.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00c7\u00f6z\u00fcm<\/h2>\n\n\n\n<p>\u00d6ncelikle ekledi\u011finiz alan\u0131n <strong>AccessModifier<\/strong> \u00f6zelli\u011fini <strong>Private<\/strong> yapal\u0131m.<\/p>\n\n\n\n<p>Dimension&#8217;\u0131n <strong>DisplayValue<\/strong> de\u011ferini g\u00f6stermek i\u00e7in dimension t\u00fcr\u00fcne g\u00f6re a\u015fa\u011f\u0131daki i\u015flemleri yapman\u0131z gerekiyor. Ben standartta bulunan <strong>LedgerJournalLineEntity<\/strong>&#8216;si \u00fczerinden anlatt\u0131m.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DefaultDimension<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>DimensionSetEntity <\/strong>isimli tablo Data Entity&#8217;nin datasource&#8217;una eklenir. A\u015fa\u011f\u0131daki resimde g\u00f6sterdi\u011fim gibi gerekli ili\u015fki verilir.<\/li><li>Ekledi\u011fimiz tablodaki DisplayValue alan\u0131 Data Entity&#8217;nin alanlar\u0131na dahil edilir. Gerekli isimlendirme yap\u0131l\u0131r.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"383\" src=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_1-1024x383.png\" alt=\"\" class=\"wp-image-2367\" srcset=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_1-1024x383.png 1024w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_1-300x112.png 300w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_1-768x287.png 768w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_1.png 1080w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"595\" src=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_2-1024x595.png\" alt=\"\" class=\"wp-image-2368\" srcset=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_2-1024x595.png 1024w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_2-300x174.png 300w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_2-768x446.png 768w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_def_dim_2.png 1124w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">LedgerDimension<\/h3>\n\n\n\n<ul class=\"wp-block-list\" id=\"block-4d36a968-8d0e-4627-990e-f360d7b72bac\"><li><strong>DimensionCombinationEntity<\/strong> isimli tablo Data Entity&#8217;nin datasource&#8217;una eklenir. A\u015fa\u011f\u0131daki resimde g\u00f6sterdi\u011fim gibi gerekli ili\u015fki verilir.<\/li><li>Ekledi\u011fimiz tablodaki DisplayValue alan\u0131 Data Entity&#8217;nin alanlar\u0131na dahil edilir. Gerekli isimlendirme yap\u0131l\u0131r.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"348\" src=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_1-1024x348.png\" alt=\"\" class=\"wp-image-2369\" srcset=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_1-1024x348.png 1024w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_1-300x102.png 300w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_1-768x261.png 768w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_1.png 1116w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"501\" src=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_2-1024x501.png\" alt=\"\" class=\"wp-image-2370\" srcset=\"https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_2-1024x501.png 1024w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_2-300x147.png 300w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_2-768x376.png 768w, https:\/\/guvensahin.com\/tr\/wp-content\/uploads\/2021\/03\/d365fo_data_entity_ledger_dim_2.png 1130w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Int64 De\u011fer G\u00f6stermek<\/h3>\n\n\n\n<p>E\u011fer size mutlaka Int64 tipindeki de\u011fer gerekiyor ise dimension alan\u0131n\u0131 computed column kullanarak yay\u0131nlarsan\u0131z bu standart kontrol\u00fc a\u015fabilirsiniz. Data Entity&#8217;ler asl\u0131nda birer view oldu\u011fu i\u00e7in ayn\u0131 view&#8217;a ekledi\u011finiz computed column&#8217;lar\u0131 Data Entity&#8217;e de ekleyebilirsiniz. \u00d6rnek method:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static server DimensionDefault defaultDimension()\n{\n    return SysComputedColumn::returnField(tableStr(LedgerJournalLineEntity), identifierStr(LedgerJournalTrans), fieldStr(LedgerJournalTrans, DefaultDimension))\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Son Olarak<\/h2>\n\n\n\n<p>Data Entity ile ilgili di\u011fer yaz\u0131lar\u0131ma&nbsp;<a href=\"https:\/\/guvensahin.com\/tr\/tag\/data-entity\/\">bu adresten<\/a>&nbsp;ula\u015fabilirsiniz.<\/p>\n\n\n\n<p>D365 F&amp;O ile ilgili yaz\u0131lar\u0131ma&nbsp;<a href=\"https:\/\/guvensahin.com\/tr\/category\/dynamics-365\/\">\u015furadan<\/a>, Dynamics AX yaz\u0131lar\u0131ma da&nbsp;<a href=\"https:\/\/guvensahin.com\/tr\/category\/dynamics-ax\/\">buradan<\/a>&nbsp;bakabilirsiniz.<\/p>\n\n\n\n<p>Ho\u015f\u00e7akal\u0131n.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Data Entity&#8217;e LedgerDimension yada DefaultDimension tipinde bir alan ekledi\u011finiz zaman build s\u0131ras\u0131nda a\u015fa\u011f\u0131daki hata ile kar\u015f\u0131la\u015f\u0131rs\u0131n\u0131z. D365 F&amp;O standartta dimension alanlar\u0131n\u0131n Data Entity \u00fczerinden sistem d\u0131\u015f\u0131na (Public olarak) yay\u0131nlanmas\u0131na izin vermiyor. Hata da dedi\u011fi gibi alan\u0131n AccessModifier \u00f6zelli\u011fini Private yada Internal yaparsan\u0131z build hatas\u0131n\u0131 a\u015fars\u0131n\u0131z fakat sadece D365 F&amp;O i\u00e7indeki kullan\u0131mlarda bu alanlara eri\u015febilirsiniz. \u00d6rne\u011fin&hellip;&nbsp;<a href=\"https:\/\/guvensahin.com\/tr\/dynamics-365-fo-data-entitye-dimension-alan-eklemek\/\" rel=\"bookmark\">Daha fazlas\u0131n\u0131 oku &raquo;<span class=\"screen-reader-text\">Dynamics 365 F&#038;O \u2013 Data Entity&#8217;e Dimension Alan Eklemek<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2371,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[405],"tags":[193,446,394,438,198,285],"class_list":["post-2351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365-fo","tag-axapta","tag-data-entity","tag-dynamics-365","tag-dynamics-365-finance-and-operations","tag-dynamics-ax-2","tag-x"],"_links":{"self":[{"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/posts\/2351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/comments?post=2351"}],"version-history":[{"count":16,"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/posts\/2351\/revisions"}],"predecessor-version":[{"id":2411,"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/posts\/2351\/revisions\/2411"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/media\/2371"}],"wp:attachment":[{"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/media?parent=2351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/categories?post=2351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guvensahin.com\/tr\/wp-json\/wp\/v2\/tags?post=2351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}