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

Exporting positive pay file with a .csv extension

$
0
0

The previous posts were about AX2012 using AIF ports, which is why I'm creating a new question.

Is there a way I can export the positive pay file with a .csv extension instead of .xml? I know I'll need custom code for this, but I'm struggling to see where I can create a post-handler or extension for this, since there are two ways you can create the positive pay file (periodic tasks and through the bank accounts screen). 


How I will call or add new method or events in Standard objects in D365FO

$
0
0

Dear All,

Can you please let me know

A). I will add METHODS

1. New method in Standard Table.

2. New method in Standard Form 

3. New method in Standard Form DS

4. New method in Standard Form Control.

B). How I will call EVENTS in Standard(Table, Form, Form DS, Form Control) ? 

Example

Form> SalesTable > Event > OnActivated

Form> DS > SalesTable > OnCreated

Form Control> SalesTable_SalesTypeGrid > Event > OnValidating

Table> LedgerJournalTable > Event > OnDeleting

How I will call the above events from Standard Objects ?

Please give me more shed on this.

Thanks!

Getting System.Object[] when printing report to PDF

$
0
0

I am getting System.object[] value when i am receiving PDF report through Email.where as on screen view i am able to see Cash discount date, Cash discount value and Currency in Sales invoice report.

Can you please help me regarding this.

Thanks.

How to add tabs in SSRS report dialog (AX2012)?

$
0
0

Is it possible to add new tab in report's dialog, for holding parameter fields? I don't want to use forms.

Performance issues with AX development

$
0
0

Maybe this does not belong on this forum, but this is the only forum I am a member of and I only develop in AX. Please bare with me.

So I recently sold my soul to acquire a decent PC. I assigned my VM 40960MB RAM and 5 cores, with more than enough left on the host. Should say that is enough. The improvements are noticeable but not as great as I hoped:

1. Building a project of 10 to 15 elements still takes 3 to 6 minutes

2. Sometimes I get ahead of the text editor

3. Some AOT element designers are still laggy (for example Data Entites, Views, working with a table inheritance structure - especially on forms)

Further I noticed that the resources aren't actually used.... I took a screenshot of the task manager while building:

Like most things, I don't know much about hardware and performance. I provided the details I thought relevant.

Is there something I can do to speed up the process of building and designing? I think I've got the hardware part. Is there some settings I can play with to try and improve performance?

Thanks for reading

Adding two datasources for different tables to same query object for a SysQueryForm

$
0
0

Hi

A sysQueryForm is not filtering by a field correctly. This field is from a different table that has been joined after modifying the sysquery.

How to add two different tables as a data source of a query object and filter by the field of the joined table on a sys query form?

How to add a tab page to UI builder class for SSRS report?

$
0
0

Hi, I am using D365 and I want to add two tab pages to a report dialog using UI builder class. 

In one dynamics community post related to AX2012, it is suggested that we need to call this.dialog().addTabPage("Tab page caption") after super() in the build() method.

when I try the above mentioned approach, at the time of running the report it is throwing me the following error
"Unable to cast object of type 'Dynamics.AX.Application.FormBuildTabPageControl' to type 'Dynamics.AX.Application.FormBuildGroupControl'".
Further when I write "this.dialog()." and stop there to see the list of methods, "addTabPage" is not there.

can anyone please tell how to achieve this. Am I doing anything wrong or did anything change in D365?
Thanks in advance

Data entities indexes in Azure database

$
0
0

I'm using data entities to export data into a database in azure, it works fine but I don't know ho to add indexes in the table created in azure and I don't want to modify the table directly through sql management studio. As far as I see Dynamics adds a cluster index based on the data entity primary key, but although I add new keys in the entity, those keys are not added into the sql table when I launch the process to publish the entity into azure. Does anybody knows if it is possible to do it?


Argument to method setFieldValue out of range error

$
0
0

Dear Friends,

  While doing confirmation of the Purchase order I am getting an error "Argument to method setFieldValue out of range" in D365.

Can anyone suggest what is the problem? Any help much appriciated.

Regards

MA

QueryRun.next() taking too long to be completed

$
0
0

Hello,

Yesterday , i build batch that export data to excel using query with x++(the query is based on TaxTrans and TaxTrans_In  tables).It worked fine i can export 60000 line on 10minute.

Today, i run the export and ax client freeze and take a long time. when i debug the system blo on the ling QueryRun.next() 

I do not why QueryRun.next()  take too long to be completed.

Any regard in this point.

Thank you in advance

Stress Test with Dynamics 365 (on-premise, on-cloud)

$
0
0

Dear Friends,
I have a case:
1/ When one company implement Dynamics 365 (on-premise, on-cloud)
2/ I think we should do Stress Test (large volume, transaction volume, v.v...) in next 3 years.
3/ Example: After 3 years implemented ERP system, transaction volume is 60,000 - 80,000 transactions/ day, database volumes is 512GB, special case is a table have 30 million rows.
Question:
1/ Could you recommend tool support Stress Test to prevent huge data volume in this case?. Thank you.

Table events

$
0
0

Dear All,

Can you please let me know in I saw in

Vend Table > Method > Update and

Event > OnUpdated and OnUpdating.

Here OnUpdating means Pre event and OnUpdated means Post event.

Suppose If I do some code inside event OnUpdated

class MyEventHandlers
{
[DataEventHandler(tableStr(VendTable), DataEventType::Updated)]
public static void VendTable_onUpdated(Common sender, DataEventArgs e)
{  
      // My code
}
}
When I run my class then It will 1st execute the base method Update() and then my class "MyEventHandlers" ?
Please give me more shed on this.
Thanks!

User authentication without Active Directory

$
0
0

Would I be able to somehow authenticate users on AX 2012 R3 without using active directory and a domain controller? How could I set this up in the cloud for instance? I realize this is something more in line with Dynamics 365 but we're a ways off from adopting still.

Technical design document

$
0
0

Hi All ,

I'm aware about the purpose of the TDD.

The question is that do we have any option in VSTS to meticulously track the information what TDD contains or still we need to follow the traditional process of manual TDD ?

Does MS has any option in online or any tool available to track those changes against customizations which done by vendor ?

Any insights would highly appreciated ?

Customized workflow not showing in form

$
0
0

I have created customised workflow in AX7. But it is not showing in form. Can anybody can me help me on this.


Add extra fields to existing map(customization) and map the extra field to a new field in table(extension).

$
0
0

Hi,

Is there any way to map the new fields added in table extension to a new field added in a map through customisation.

Because, I have added new fields into the map through  customisation. I want to map this new field to a new field in table extension. In my scenario, map is already been added in the table mappings. So, I no need to add the map again.

But I cant able to view the new field added in map, in the mappings node.

I have done synchronising database and also built the models ins D365. But mappings didnt list the newly added fields in map.

Is there any way to solve this problem?

Thanks in advance,

Elamathi. S

Create labelfile through code

$
0
0

Hi All,

In AX2012, "SysLablefile' class is used to create label file through code. Since this is deprecated in D365, is there any replacement for this class? 

Thanks in advance!

How to get folder path when select file by FileUpload control

$
0
0

Hello,

Is it possible to get the path of the folder from where the file is being selected from fileUpload control?

I want to access the folder whenever a file is selected from file upload. Can anyone please guide me on this.

Thanks.

Master Data Management and Master Data Services

$
0
0

Hi All,

I have 2 question about Master Data Management and Master Data Services.

First one is  that I am gonna use Master Data Management  (MDM) but  I could not find how to install  Master Data Services  for  version of SQL Server 2012 ? Can you help me to install it for  version of SQL Server 2012?

Second one is that   i am gonna use  MDM for transactional data  but  there is an description like "Typically, transactional data is unique to a deployment and should not be used with MDM"   in description of MDM.    I wonder that is there any body who use MDM with transactional data? If you tried  it before, please tell me.

Best Regards,

How to add custom drop down field in ProjTable

$
0
0

Hi Everyone,

I want to add custom drop down field in projtable>report sorting tab, which will works like sorting1 , 2 , 3.

after clicking on new field the lookup menu form should be open .

please see the attached image.

thanks & regards

Viewing all 17532 articles
Browse latest View live


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