# Developer Forum

**URL:** https://www.dynamicsuser.net/c/dynamics-365-for-finance-and-operations-ax-user-gr/developer-forum/18.md?page=1

[Latest](https://www.dynamicsuser.net/latest.md) · [Categories](https://www.dynamicsuser.net/categories.md) · [Tags](https://www.dynamicsuser.net/tags.md)

**Page:** 2

---

## [How to populate a display-method-based field during import](https://www.dynamicsuser.net/t/how-to-populate-a-display-method-based-field-during-import/87859)

<div class="topic-metadata">

**Author:** [@TolerantClown9](https://www.dynamicsuser.net/u/TolerantClown9)\
**Replies:** 7\
**Last updated:** [April 28, 2025, 9:43am UTC](https://www.dynamicsuser.net/t/how-to-populate-a-display-method-based-field-during-import/87859 "2025-04-28T09:43:06Z")

</div>

Hi all, I’m working on a requirement involving the ExpenseJournalLineEntity. One of our ISVs includes a field called SID, which has a relationship with ActivityNumber. As part of the requirement, we implemented logic so…

---

## [Can't login/debug D365 F&O development environment](https://www.dynamicsuser.net/t/cant-login-debug-d365-f-o-development-environment/87664)

<div class="topic-metadata">

**Author:** [@Wilk0](https://www.dynamicsuser.net/u/Wilk0)\
**Replies:** 1\
**Last updated:** [April 24, 2025, 7:14am UTC](https://www.dynamicsuser.net/t/cant-login-debug-d365-f-o-development-environment/87664 "2025-04-24T07:14:21Z")

</div>

Hello everyone, I am currently having an issue where I cannot connect to my developer environment when IISExpress is started. I don’t get any errors but my browser is stuck loading. I can still connect to the normal IIS…

---

## [In Custom Entity, how to autopopulate field in excel Data Connector add-in](https://www.dynamicsuser.net/t/in-custom-entity-how-to-autopopulate-field-in-excel-data-connector-add-in/87764)

<div class="topic-metadata">

**Author:** [@Arvind\_Narayanan](https://www.dynamicsuser.net/u/Arvind_Narayanan)\
**Replies:** 9\
**Last updated:** [April 22, 2025, 9:06am UTC](https://www.dynamicsuser.net/t/in-custom-entity-how-to-autopopulate-field-in-excel-data-connector-add-in/87764 "2025-04-22T09:06:37Z")

</div>

Hi All, I have a requirement where I need to create a custom entity, similar to the expense journal entity, and add an ID field called SID from an isv that we have. Now this SID and the Activity Number field in the ledg…

---

## [When Creating Custom entity, how do you filter?](https://www.dynamicsuser.net/t/when-creating-custom-entity-how-do-you-filter/87774)

<div class="topic-metadata">

**Author:** [@Arvind\_Narayanan](https://www.dynamicsuser.net/u/Arvind_Narayanan)\
**Replies:** 1\
**Last updated:** [April 19, 2025, 5:48pm UTC](https://www.dynamicsuser.net/t/when-creating-custom-entity-how-do-you-filter/87774 "2025-04-19T17:48:36Z")

</div>

Creating a custom entity where I would need to filter for records where Item Group is Group A, Group B, and Group D (for example). But how do I do this in visual studio/x++? Is it via a class or a method?

---

## [How to get field's data blank when created a new record in form](https://www.dynamicsuser.net/t/how-to-get-fields-data-blank-when-created-a-new-record-in-form/87786)

<div class="topic-metadata">

**Author:** [@Shivaji\_Anagandula](https://www.dynamicsuser.net/u/Shivaji_Anagandula)\
**Replies:** 3\
**Last updated:** [April 4, 2025, 5:58am UTC](https://www.dynamicsuser.net/t/how-to-get-fields-data-blank-when-created-a-new-record-in-form/87786 "2025-04-04T05:58:25Z")

</div>

Hi all, I did add a few fields on a form, and “Site” is the field in one of them. When I try to create a new record in the form, it’s using the previously used data automatically instead of getting blank. I need the d…

---

## [Data Entity not exporting Data](https://www.dynamicsuser.net/t/data-entity-not-exporting-data/87761)

<div class="topic-metadata">

**Author:** [@TolerantClown9](https://www.dynamicsuser.net/u/TolerantClown9)\
**Replies:** 1\
**Last updated:** [March 27, 2025, 6:13am UTC](https://www.dynamicsuser.net/t/data-entity-not-exporting-data/87761 "2025-03-27T06:13:58Z")

</div>

I am creating a new data entity that is primarily sourced by InventTable. Brought in a few fields from the table, and the solution had successfully built, and the DB Sync had been successful. I had also refreshed entitie…

---

## [How to Insert SalesID from Active Record in SalesTable Form to a Custom Table Linked to SalesTable Form](https://www.dynamicsuser.net/t/how-to-insert-salesid-from-active-record-in-salestable-form-to-a-custom-table-linked-to-salestable-form/87755)

<div class="topic-metadata">

**Author:** [@Deepak\_chauhan](https://www.dynamicsuser.net/u/Deepak_chauhan)\
**Replies:** 2\
**Last updated:** [March 27, 2025, 4:40am UTC](https://www.dynamicsuser.net/t/how-to-insert-salesid-from-active-record-in-salestable-form-to-a-custom-table-linked-to-salestable-form/87755 "2025-03-27T04:40:24Z")

</div>

I’m trying to take the SalesID from the active record in the SalesTable form and insert it into a custom table. The custom table should be associated with the SalesTable form. Could anyone guide me on how to achieve this…

---

## [How to show a word file content on SSRS report](https://www.dynamicsuser.net/t/how-to-show-a-word-file-content-on-ssrs-report/87731)

<div class="topic-metadata">

**Author:** [@Rahul\_Singh](https://www.dynamicsuser.net/u/Rahul_Singh)\
**Replies:** 1\
**Last updated:** [March 23, 2025, 8:09pm UTC](https://www.dynamicsuser.net/t/how-to-show-a-word-file-content-on-ssrs-report/87731 "2025-03-23T20:09:41Z")

</div>

Hi, I have word doc file which I converted into a container and saved into a container field in a regular custom table. that word file have some content like txt screenshots, it could be 3-5 pages. Is their any option …

---

## [Product Receipt Default Quantity to Zero](https://www.dynamicsuser.net/t/product-receipt-default-quantity-to-zero/87524)

<div class="topic-metadata">

**Author:** [@TolerantClown9](https://www.dynamicsuser.net/u/TolerantClown9)\
**Replies:** 18\
**Last updated:** [March 20, 2025, 10:04pm UTC](https://www.dynamicsuser.net/t/product-receipt-default-quantity-to-zero/87524 "2025-03-20T22:04:07Z")

</div>

I have a requirement when we are opening the Product Receipt page (PurchEditLines), the Quantity (RecieveNow) should default to zero. Currently it defaults to the Quantity Ordered Value We are navigating to this via: AP…

---

## [Issues Importing in Custom Entity](https://www.dynamicsuser.net/t/issues-importing-in-custom-entity/87723)

<div class="topic-metadata">

**Author:** [@Karl\_Dugen](https://www.dynamicsuser.net/u/Karl_Dugen)\
**Replies:** 6\
**Last updated:** [March 20, 2025, 8:58pm UTC](https://www.dynamicsuser.net/t/issues-importing-in-custom-entity/87723 "2025-03-20T20:58:10Z")

</div>

Hello, I had a requirement to create a copy of the Expense Journal Line entity in order to add fields from several ISVs that we are using. We chose to duplicate the entity instead of modifying the standard one to avoid …

---

## [Blocking Product Receipt Posting for ReceiveNow Quantity Less Than 1](https://www.dynamicsuser.net/t/blocking-product-receipt-posting-for-receivenow-quantity-less-than-1/87673)

<div class="topic-metadata">

**Author:** [@TolerantClown9](https://www.dynamicsuser.net/u/TolerantClown9)\
**Replies:** 6\
**Last updated:** [March 13, 2025, 10:12pm UTC](https://www.dynamicsuser.net/t/blocking-product-receipt-posting-for-receivenow-quantity-less-than-1/87673 "2025-03-13T22:12:15Z")

</div>

I’m trying to implement a new requirement within the Product Receipt form (PurchEditLines) where users should be blocked from posting ReceiveNow quantities less than 1. Some users have been able to post receipts with val…

---

## [How to add Data Method to Entity as a field](https://www.dynamicsuser.net/t/how-to-add-data-method-to-entity-as-a-field/87688)

<div class="topic-metadata">

**Author:** [@Frank\_Miller44](https://www.dynamicsuser.net/u/Frank_Miller44)\
**Replies:** 1\
**Last updated:** [March 10, 2025, 9:37am UTC](https://www.dynamicsuser.net/t/how-to-add-data-method-to-entity-as-a-field/87688 "2025-03-10T09:37:07Z")

</div>

I need to add the ARPTaskId\_Wbs field (from an ISV) to a copied version of the ExpenseJournalLineEntity data entity. The field is not stored in the database but is calculated in the form using the following method in th…

---

## [Setting "ReceiveNow" to Zero Hides Lines on Product Receipt Form](https://www.dynamicsuser.net/t/setting-receivenow-to-zero-hides-lines-on-product-receipt-form/87681)

<div class="topic-metadata">

**Author:** [@Vikram\_Tej](https://www.dynamicsuser.net/u/Vikram_Tej)\
**Replies:** 9\
**Last updated:** [March 10, 2025, 5:36am UTC](https://www.dynamicsuser.net/t/setting-receivenow-to-zero-hides-lines-on-product-receipt-form/87681 "2025-03-10T05:36:38Z")

</div>

Hi All, I have a requirement that the quantity field (ReceiveNow) on the product receipt form should default to zero when the form opens. To achieve this, I’m editing the PurcheditLine form by extending PurchFormLetterP…

---

## [Create multiselect dialog field](https://www.dynamicsuser.net/t/create-multiselect-dialog-field/87634)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salam](https://www.dynamicsuser.net/u/Ahmed_Salam)\
**Replies:** 5\
**Last updated:** [March 3, 2025, 5:38am UTC](https://www.dynamicsuser.net/t/create-multiselect-dialog-field/87634 "2025-03-03T05:38:24Z")

</div>

How can I make the dialog field support multiselection ? I have this code in X++ and i want to add a multitselect field in dialog for journalnameid and filter the query based on this result from dialog \[Form\] public c…

---

## [Grid cell focus event handler](https://www.dynamicsuser.net/t/grid-cell-focus-event-handler/87603)

<div class="topic-metadata">

**Author:** [@Abdelwahed\_Askel](https://www.dynamicsuser.net/u/Abdelwahed_Askel)\
**Replies:** 15\
**Last updated:** [February 28, 2025, 3:08pm UTC](https://www.dynamicsuser.net/t/grid-cell-focus-event-handler/87603 "2025-02-28T15:08:48Z")

</div>

Hello guys, can we get the value of the focused cell in the grid row each time we navigate it using the button Tab ?

---

## [How to widen the width of a dialog item](https://www.dynamicsuser.net/t/how-to-widen-the-width-of-a-dialog-item/87621)

<div class="topic-metadata">

**Author:** [@red\_wan](https://www.dynamicsuser.net/u/red_wan)\
**Replies:** 2\
**Last updated:** [February 28, 2025, 2:08am UTC](https://www.dynamicsuser.net/t/how-to-widen-the-width-of-a-dialog-item/87621 "2025-02-28T02:08:57Z")

</div>

Creating file upload functionality. I have created a dialog and set the file name and button using “FileUploadStyle::MinimalWithFilename”. I would like to expand the range of file names, How can I achieve this? Th…

---

## [Copy Customer from One Legal Entity to Another](https://www.dynamicsuser.net/t/copy-customer-from-one-legal-entity-to-another/87459)

<div class="topic-metadata">

**Author:** [@Elonna](https://www.dynamicsuser.net/u/Elonna)\
**Replies:** 1\
**Last updated:** [February 21, 2025, 8:47am UTC](https://www.dynamicsuser.net/t/copy-customer-from-one-legal-entity-to-another/87459 "2025-02-21T08:47:52Z")

</div>

Hello, We have just brought on another legal entity and we want to be able to copy new customer accounts from LE to the new LE as they are created. We use dual write, so we can not use cross company data sharing. We di…

---

## [Saving SSRS report to PDF causes all processes to get stuck](https://www.dynamicsuser.net/t/saving-ssrs-report-to-pdf-causes-all-processes-to-get-stuck/86195)

<div class="topic-metadata">

**Author:** [@Krupa](https://www.dynamicsuser.net/u/Krupa)\
**Replies:** 1\
**Last updated:** [February 21, 2025, 8:45am UTC](https://www.dynamicsuser.net/t/saving-ssrs-report-to-pdf-causes-all-processes-to-get-stuck/86195 "2025-02-21T08:45:20Z")

</div>

Our client has existing batch job with code to save sales invoice to PDF & then the PDF is sent in an email. The job was running perfectly since a long time. No errors we can see in the last 6 months. However, since las…

---

## [Parse json using x++ without contract classes](https://www.dynamicsuser.net/t/parse-json-using-x-without-contract-classes/87570)

<div class="topic-metadata">

**Author:** [@Pranav\_Anbu](https://www.dynamicsuser.net/u/Pranav_Anbu)\
**Replies:** 11\
**Last updated:** [February 20, 2025, 3:24pm UTC](https://www.dynamicsuser.net/t/parse-json-using-x-without-contract-classes/87570 "2025-02-20T15:24:00Z")

</div>

Hi Martin, As discussed creating a separate thread on yhis. I need your help to parse the JSON to get the text value “Hello” str jsonResponse = ‘\[{“translations”:\[{“text”:“hello”,“to”:“en”}\]}\]’; “JsonArray jsonArray …

---

## [Translate table data form one language to another](https://www.dynamicsuser.net/t/translate-table-data-form-one-language-to-another/87550)

<div class="topic-metadata">

**Author:** [@Pranav\_Anbu](https://www.dynamicsuser.net/u/Pranav_Anbu)\
**Replies:** 29\
**Last updated:** [February 20, 2025, 6:24am UTC](https://www.dynamicsuser.net/t/translate-table-data-form-one-language-to-another/87550 "2025-02-20T06:24:17Z")

</div>

Hi Team, I have a POC task to convert the table records from one language to other. I tried using Azure cognitive API translator service ,but I couldn’t able to invoke the storage key and url in x++ code. Can I get some…

---

## [Print SSRS report in text format](https://www.dynamicsuser.net/t/print-ssrs-report-in-text-format/87457)

<div class="topic-metadata">

**Author:** [@Pravasti\_Ra](https://www.dynamicsuser.net/u/Pravasti_Ra)\
**Replies:** 17\
**Last updated:** [February 19, 2025, 1:20pm UTC](https://www.dynamicsuser.net/t/print-ssrs-report-in-text-format/87457 "2025-02-19T13:20:57Z")

</div>

Hi Team, I got a requirement where user wants to print all the reports into text format. Currently other than text I can see all other options. So need your expertise advise whether the option is feasible or not.

---

## [Translate the language from Arabic to english](https://www.dynamicsuser.net/t/translate-the-language-from-arabic-to-english/87489)

<div class="topic-metadata">

**Author:** [@Pravasti\_Ra](https://www.dynamicsuser.net/u/Pravasti_Ra)\
**Replies:** 6\
**Last updated:** [February 7, 2025, 8:39am UTC](https://www.dynamicsuser.net/t/translate-the-language-from-arabic-to-english/87489 "2025-02-07T08:39:56Z")

</div>

Hi Team, I have a requirement to translate the language for specific fields form Arabic language to English in the staging table. Middleware team doesn’t have the capability to do the translation.Can anyone help to hand…

---

## [City is not updated while updating Zipcode](https://www.dynamicsuser.net/t/city-is-not-updated-while-updating-zipcode/87477)

<div class="topic-metadata">

**Author:** [@Marcus\_Mark](https://www.dynamicsuser.net/u/Marcus_Mark)\
**Replies:** 3\
**Last updated:** [February 6, 2025, 7:56am UTC](https://www.dynamicsuser.net/t/city-is-not-updated-while-updating-zipcode/87477 "2025-02-06T07:56:32Z")

</div>

Hi Experts, I have a runnable job to update the primary address based on inventlocation. When i was manually adding zip code in the address, corresponding city is automatically updated. But via x++ Runnable class, city …

---

## [Use the tables from external DB , and bound to grid](https://www.dynamicsuser.net/t/use-the-tables-from-external-db-and-bound-to-grid/87447)

<div class="topic-metadata">

**Author:** [@John\_Smith](https://www.dynamicsuser.net/u/John_Smith)\
**Replies:** 6\
**Last updated:** [January 31, 2025, 6:28am UTC](https://www.dynamicsuser.net/t/use-the-tables-from-external-db-and-bound-to-grid/87447 "2025-01-31T06:28:34Z")

</div>

Hi all, I want to use tables from an external database and bind them to a GridView control to display the data. Is it possible to use a database other than AXDB? I know we can perform CRUD operations using SqlConnectio…

---

## [Trusted .cer certificates in tier 2 cloud environments D365FO](https://www.dynamicsuser.net/t/trusted-cer-certificates-in-tier-2-cloud-environments-d365fo/87418)

<div class="topic-metadata">

**Author:** [@Roman\_Lukyanchikov](https://www.dynamicsuser.net/u/Roman_Lukyanchikov)\
**Replies:** 0\
**Last updated:** [January 26, 2025, 1:44pm UTC](https://www.dynamicsuser.net/t/trusted-cer-certificates-in-tier-2-cloud-environments-d365fo/87418 "2025-01-26T13:44:56Z")

</div>

Hello everyone, I am a d365fo developer. I need to sign xml files using an external crypto library in .dll format. However, this library requires that I have a .сer certificate installed in the trusted root certificatio…

---

## [Index defragmentation](https://www.dynamicsuser.net/t/index-defragmentation/87407)

<div class="topic-metadata">

**Author:** [@Antar\_Busvushi](https://www.dynamicsuser.net/u/Antar_Busvushi)\
**Replies:** 0\
**Last updated:** [January 24, 2025, 10:48am UTC](https://www.dynamicsuser.net/t/index-defragmentation/87407 "2025-01-24T10:48:12Z")

</div>

Hello . Can anyone tell me who is responsible for the regular index de-fragmentation on D365 DB in PROD and in UAT (cloud)? Thank you

---

## [Display method refresh issue for the existing lined](https://www.dynamicsuser.net/t/display-method-refresh-issue-for-the-existing-lined/87272)

<div class="topic-metadata">

**Author:** [@Pranav\_Anbu](https://www.dynamicsuser.net/u/Pranav_Anbu)\
**Replies:** 12\
**Last updated:** [January 20, 2025, 6:20am UTC](https://www.dynamicsuser.net/t/display-method-refresh-issue-for-the-existing-lined/87272 "2025-01-20T06:20:47Z")

</div>

I have extended the discpercent() display method in the Sales Line table using COC to calculate the discount dynamically based on the Sales Pool ID. when I select the salespoolid,the display value is showing correct,but …

---

## [Date and time format based on language in AX 2012](https://www.dynamicsuser.net/t/date-and-time-format-based-on-language-in-ax-2012/87258)

<div class="topic-metadata">

**Author:** [@omkar\_a](https://www.dynamicsuser.net/u/omkar_a)\
**Replies:** 2\
**Last updated:** [January 8, 2025, 9:45am UTC](https://www.dynamicsuser.net/t/date-and-time-format-based-on-language-in-ax-2012/87258 "2025-01-08T09:45:55Z")

</div>

I am working on SSRS report. For date and time field on my report I observed that when vendor’s language is finnish time is in 24hr format but for EN-US and swedish time is in 12hr format. My question is how can I insur…

---

## [Adding run time grid controls in on-hand form field not allowing to export into excel](https://www.dynamicsuser.net/t/adding-run-time-grid-controls-in-on-hand-form-field-not-allowing-to-export-into-excel/87266)

<div class="topic-metadata">

**Author:** [@Pranav\_Anbu](https://www.dynamicsuser.net/u/Pranav_Anbu)\
**Replies:** 3\
**Last updated:** [January 8, 2025, 7:25am UTC](https://www.dynamicsuser.net/t/adding-run-time-grid-controls-in-on-hand-form-field-not-allowing-to-export-into-excel/87266 "2025-01-08T07:25:18Z")

</div>

Hi Team, I had a requirement to add around 15 fields in on hand inventory form. I had successfully added those using formbuildgridcontrol in the form to avoid the performance issue .But the challenge here is ,when I ex…

---

## [How to add custom fields in price disc view trade agreement view form](https://www.dynamicsuser.net/t/how-to-add-custom-fields-in-price-disc-view-trade-agreement-view-form/87223)

<div class="topic-metadata">

**Author:** [@Pravasti\_Ra](https://www.dynamicsuser.net/u/Pravasti_Ra)\
**Replies:** 10\
**Last updated:** [January 8, 2025, 6:21am UTC](https://www.dynamicsuser.net/t/how-to-add-custom-fields-in-price-disc-view-trade-agreement-view-form/87223 "2025-01-08T06:21:19Z")

</div>

Hello Team, I need to populate the custom field value from pricediscadmtrans to pricedisctable. I had used pricediscadmcheckpost class to add the custom field in the field list macro.I also added the initFrompricedisca…

[Previous page](https://www.dynamicsuser.net/c/dynamics-365-for-finance-and-operations-ax-user-gr/developer-forum/18.md)

[Next page](https://www.dynamicsuser.net/c/dynamics-365-for-finance-and-operations-ax-user-gr/developer-forum/18.md?page=2)
