Quantcast
Channel: Martin Dráb's Activities
Viewing all 17532 articles
Browse latest View live

Subscribe delegate in multiple classes in Dynamics 365 for operations

$
0
0

Hi,

My requirement is to subscribe same delegate in many classes depending upon the logic to be executed.

Say Class A, Class B. Is there any attribute which can be set in order to setup the execution sequence of the handler class's subscriptions. Class A's delegate subscription need to be executed first, followed by Class B's delegate subscription. 

In dynamics 365 wiki, they have mentioned like mentioned below. 

https://ax.help.dynamics.com/en/wiki/delegates-for-migration/

“There can be more than one handler per delegate. There is not a defined order in the processing of handler methods. If order is important, delegate handler pairs
should be chained together.”


If so, How to chain the delegates handlers? Or is there a way to specify the sequence in which the handlers will execute?

Thanks,

Elamathi. S


Approach to take on adding a new report destination option in AX 365?

$
0
0

Can anyone give me a general idea on  how to add a new report destination option in AX 365?

I took a look into the standard report printer code and realized that I will need to modify the SRSReportRunPrinter and some other related classes to implement the new print destination option.  However I found the objects belong to Application foundation package can’t be customized, and I am not sure if it can be accomplished by extension method.   

To rephrase , I can extend the SRSReportRunPrinter class to add a new method  for the Web service option, but I will still have to customize the SrsReportRunService class to call the new extension method. However the SrsReportRunService class belongs to Application foundation package, it can’t be customized. What to do here?

Thanks in advance.

System error 1067(the process terminated unexpectedly) when starting AOS service for dynamics AX

$
0
0

Hi All ,

I am getting the error when  i start AOS service every time.

'System error 1067 has occurred, the process terminated unexpectedly'

I tried starting AOS  directly from services and also from command prompt both gives the same error.

I did some search and found that the issue is at the kernel level of the system OS

Anyone experience the same error previously?

Please look if anyone can help me.

Thanks in advance.

Regards,

Use table in different packages

$
0
0

How can i use table in application suite package  from another package ??

Inbound ASN related issue in AX7

$
0
0

Hello All

After importing the XML file , it displays that the mappings are done correctly for all entities. But once I click Import Now, the import operation stays in execution status and the target status is Error but the staging status is showing ended. Please Help!

Batch process in AX 7

$
0
0

Hi all ,

how do i create batch process in ax 7 using SysOperation Framework.
Suggest me .

Thanks.

How to implement Generate methods in Dynamics AX 365 for Data import & export

$
0
0

I am able to implement data entities for data migration in visual studio and it's not generating classes to write Generate methods. How to approach generate methods which resides in DMFClasses?

Difference between AX7 and Microsoft Dynamcs 365 for operations

$
0
0

Hi All,

can anybody explain me what is the exact difference between AX7 and Dynamics 365 for operations.

1. Both are same?

2. For AX7 they renamed as Dynamcis 365 for operations.

3. on premise and cloud both are available or not?

4.on premise is released Microsoft Dynamcs 365 for operations? 

Thanks,

Krish


Labels in EDT - showing the label identifier like @ABS123 but not Label text

$
0
0

Hello.

I have Bing all over the net, but I don't find any answers about this silly questions. Maybe I haven't looked enough though, so sorry for this interuption.

1) I have create my own label Identifier @ABC

2) I'm working in en-us language mode.

3) When I create new label in en-us language mode, I mark the label in another language, like Danish or Norsk for example.

4) Sometimes, like in table fields name the label text appear in danish, because it's just one language modified for that label, so in en-us the only available label text is used.

-But the problem is, that is not always the chase. I have create an Enum with Danish text labels, I added the Enum in a table, and there I only see the label identification numbers like @abs123, @abs124 and so on.

-How can I be sure that all objects who have labels that are in different language than en-us should appear the label text, because the idea was to send label collection @abc later to an translator.

Remove case sensitive duplicates from lookup ax 2012

$
0
0

I have a lookup in which I am inserting values on run time, all things are going fine. Requirement is to avoid replicating values if case sensitive. Like ABCD and abcd should not be there in lookup at a time.

Below is my code that I've tried so far.

public void lookup()
{

   Query query = new Query();
    QueryBuildDataSource queryBuildDataSource;
    QueryBuildRange queryBuildRange;
    SysTableLookup sysTableLookup = SysTableLookup::newParameters(tableNum(InventJournalTrans), this);

    sysTableLookup.addLookupField(fieldNum(InventJournalTrans,vehicleNo));


    queryBuildDataSource = query.addDataSource(tableNum(InventJournalTrans));
    queryBuildDataSource.addSortField(fieldNum(InventJournalTrans,vehicleNo),SortOrder::Descending);
    queryBuildDataSource.addRange(fieldNum(InventJournalTrans, vehicleNo)).value(SysQuery::valueNotEmptyString());

    sysTableLookup.parmQuery(query);
    QueryBuildDataSource.orderMode(OrderMode::GroupBy);
    sysTableLookup.performFormLookup();



    this.replaceOnLookup();
}

Here is the image of lookup.

enter image description here

Table does not exist error

$
0
0

Hello guys, 

my project has model that extends Application Suite package, but in the same solution I have to customize different package, so I created a project with different model that extends that Directory package. The problem is that this second project has table (DirPerson) that references to other (CustomMade) table, but DirPerson cannot see it as I build the solution and throws an error. Do I have to deploy it in someway or what? Thanks in advance for your ideas.

How to track FULL CIL history

$
0
0

hi all,

i have a need to track the history of FULL CIL process, how do i do that?

usually i use "UtilElements" to track the history of AOT compile, but did not find any way to use the "UtilElements" to track he FULL CIL history.

we have policy to not doing compile and full CIL on office hour because usually bad things will happen. 

thank you for the share and info.

how to transit to another screen by pressing button

$
0
0

I would like to create a system that can transit to another screens by pressing the button

like InventOnHandItemListPage form.

I investigated properties and methods of InventOnHandItemListPage, but I did not understand how to do it.

Would you please let me know if I need to set property settings and methods?

<Image : From InventOnHandItemListPage To InventOnhandItem by pressing Details button>

Control the records in the table per user currently logged in.

$
0
0

I would like to be able to control the records in the table per user currently logged in.

I want to know a common unique key among the AX standard table to realize it.

Please let me know if you know the unique key.

CU 11 Demo VM taking long time to boot

$
0
0

Hi all,

so we have downloaded the Dynamics AX 2012 CU 11 Demo VM from LCS and having Trouble with the booting.

it is taking exactly 1 HOUR. Has anyone an idea on how to fix this Problem? Is it trying to connect to some sort of Azure Services?

(btw. the VM HAS Internet Connection!)

thanks for the replies.

regards. Ruben


Failed to update database "MicrosoftDynamicsAX" because the database is read-only.'0' 'Sales order header' record(s) inserted in staging

$
0
0

Dear

Following error found in DMF while Uploading Sales Order Header File

How Can i resolve it

regards

How to pass parameter between 2 forms

$
0
0

Dear All,

Can you please let me know how to pass parameter between 2 forms :

Form : Indent Form

Form : Trsnafer Order Form

Please give me more shed on this.

Thanks!

Arpan Sen

Dynamics 365 cloud based - CALS

$
0
0

Hi,

We are planning to deploy Dynamics 365 Plan 1 Enterprise Edition Cloud version via Office 365 and would like to know if we require CAL license for Dynamics 365 (Cloud).

Thanks,

Mitesh

Table extension in AX 2012

$
0
0

Dear All,

I have a doubt in extending a table from Standard table (HcmWorker). Earlier, I had added new fields in Hcmworker table. But now, I want to move the customizations to a new customized table. For table inheritance, SupportInheritance property should be set to Yes. But Hcmworker table doesn't have it. I referred the link http://daxonline.org/9-table-extension-framework.html. But it also requires a delete action to be created in standard table & I don't need it. Is there anyother way to extend a new table from Hcmworker?

Thanks in advance!!

Is there a way to hardcode range in the query to show on the report?

$
0
0

I'm creating a simple sales table/sales line report. I'd like to only show only sales ids >0000030,

So I've entered ">0000030" in the Queries Range..

When I run the report, there is no specified range for the Sales ID, so it's showing Sales IDs less than 30 still..

I'd like to be able to hardcode the range, then allow the user to apply their own range, is this possible for reports?

I'd like to show only SalesID = 0000022 or SalesID > 0000022 in the report from the Query level.. how can I achieve this?

Viewing all 17532 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>