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

Epic User Stories

$
0
0

Has anyone ever used Epic user stories as part of an agile implementation methodology and can provide examples as we are a bit stumped as to why this would be required outside of a development environment?


Data source delete() method gets called infinitely

$
0
0

Hello all,

I have a weird issue with form. I have a form named X. It has almost similar design of PurchTable form. So, as usual form X also have datasources for its header and lines.

Now, when I mark more than one record on the line grid and try to delete, the form goes to "Not responding" state. And apparently no line gets deleted. But it works fine for one record.

I have debugged the form. I have found that the debugger hits the Line datasource > delete() and keeps on running that method again and again and never comes out of it.  

Can anyone of you tell me what may be the reason of such behavior of the system?  What should I follow to fix this issue? 

Thanks in advance!

Upload a file on SFTP server through X++ batch classes

AX 2012 R3 Build number 6.3.164.0 Compatibility with SQL Server Version

$
0
0

We are running AX 2012 R3 Build number 6.3.164.0 , and planning to upgrade current SQL Server 2012 to higher version...

Please advise us which version is compatible with AX 2012 R3

Getting the local file path of selected file

$
0
0

I browse the file system to select a file. It gives me the file name. I need the complete file location on device to give as input to my function. This code works well when the parameter passed to the UplaodFunction is hard coded path. When trying to pass dynamically, it throws an exception

AzureViacSharp1.CSharpClass  testingDll;

           InteropPermission p;

           str fileUrl;

           FileUploadTemporaryStorageResult result = File::GetFileFromUser() as FileUploadTemporaryStorageResult;

           if (result && result.getUploadStatus())

           {

               fileUrl = result.getDownloadUrl();

               info(fileUrl);

           }

           p = new InteropPermission(InteropKind::DllInterop);

           p.assert();

           testingDLL = new AzureViacSharp1.CSharpClass();

           System.IO.Path::Combine();

           testingDll.UploadFunction(@'fileUrl');

           info(strFmt("Success"));

How can I arrange Custom service XML schema elements?

$
0
0

Hi All, 

I have developed a custom service in AX 2012, in which the expected XML response schema should be as shown below.

<?xml version="1.0"?>

<LoginResponse>

    <CustId>1234ab5678</CustId>

    <EmailId>abc.xyz@gmail.com</EmailId>

    <Authentication>

        <ResponseCode>900</ResponseCode>

        <ReasonCode>901</ReasonCode>

        <ReasonDescription>Invalid Email Address</ReasonDescription>

    </Authentication>

  </LoginResponse>

 

However, the schema generated through the custom service is build with a slight differences where the order of the xml elements [CustID, EmailID, Authentication, ResponseCode, ReasonCode, Description] and the root element label name “WebServiceValidateLoginResponse  xmlns='http://tempuri.org'”  are incorrect when compared with the expected xml.

Generated Schema:

 

<?xml version="1.0"?>

<WebServiceValidateLoginResponse  xmlns='http://tempuri.org'>   

    <Authentication>        

        <ReasonCode>901</ReasonCode>

        <ReasonDescription>Invalid Email Address</ReasonDescription>

        <ResponseCode>900</ResponseCode>

    </Authentication>

    <CustId>1234ab5678</CustId>

    <EmailId>abc.xyz@gmail.com</EmailId>    

  </WebServiceValidateLoginResponse>

 


I Observe that, the elements in the generated schema are arranged in the alphabetic order.

 

To change the tag name, I have tried by changing the label for DataContract class in the [DataContractAttribute] and the same is updated in the Service reference, but in the xml schema it is not getting updated accordingly. And to get the xml elements in sequence as per the requirement I have tried changing the sequence of the parm methods using SysOperationDisplayOrderAttribute("1") in the data contract class and also changed the sequence in the service reference but still I am facing challenges in generating the xml schema.

 

Request you to help me out by sharing your ideas on the same. Thank you in advance.

 

 

How can I use a temporary table (in memory) in a SRSS Report?

$
0
0

I have my class RDP, contract and controller.

But when I try to add the class to the dataset, it shows me the message "the table must be normal and the createdtransactionid property must be yes".

I need the table to be temporary

Thanks in advance !!!

Put custom code in the middle of standard extended method in extension class

$
0
0

Hi,

I create an extension class and i would like to put a custom code in the middle of a standard extended method and i don't like to execute the standard method but only the extended method that contain my custom code.

Have you any idea to do this ? 

Thanks. 


Sending Custom Response in 2009 web service

$
0
0

Hi guys,

I am facing some issues in sending custom fields (which are not a primary key)as response in a web service. 

can anyone help me in this.

Problem filling my Temp table and getting the data for may report

$
0
0

Hello, 
I'm customizing a SSRS Report, it's the CustCollectionJuor Report. I made an extension from the Data Provider class and am trying to fill some existing fields. 

This is my code 

    public CustCollectionJourTmp setGetCustCollectionJourTmp()
    {
        return custCollectionJourTmp;
    }

    protected void populateCustCollectionJourTmp(
            CustCollectionLetterJour _custCollectionLetterJour,
            CustTable _custTable,
            CustCollectionLetterTrans _custCollectionLetterTrans,
            FormLetterRemarks _formLetterRemarks,
            TaxSpec _taxSpec,
            TransDate _postingsUntil)
    {

        CustCollectionLetterLine    custCollectionLetterLine;

        CustCollectionJourTmp setCustCollectionJourTmp = this.setGetCustCollectionJourTmp();


        select Notes from custCollectionLetterLine
            where custCollectionLetterLine.CollectionLetterCode == _custCollectionLetterJour.CollectionLetterCode;

        setCustCollectionJourTmp.CustCollectionLetterJour_Notes = custCollectionLetterLine.Notes;


I debugged it and when I put a watch on "setCustCollectionJourTmp.CustCollectionLetterJour_Notes" I can see the string goes in there but it does not show up on my report. I tried using "=Fields!CustCollectionLetterJour_Notes.Value" on my desing and I also tried "=First(Fields!CustCollectionLetterJour_Notes.Value)"

What am I missing? 

Using SSRS

$
0
0

I am looking to find how SSRS is used within the Dynamics 365 for Finance and Operations environment. Can you point me to some documentation that describes the server and database that is being used for SSRS reports (for example, demo-1 -- AxDB, AxDW), how to access the existing out of the box SSRS reports in order to make changes, what the URL address is for the report server, how to access the SSRS report development environment in Visual Studio (or SQL Server Data Tools), how to deploy SSRS reports to Dynamics 365 (what server name to use), how to add the reports as a link to the D365 user interface module.

 

I am currently using a one-box Sandbox D365 environment.

 

Thank you.

 

David

A calendar month in advanced filter

$
0
0

Is there a way to easily filter a date for a calendar month?

For example, if I want to filter June2013 I can write "010613..300613", but is there an easier way?

Deploy Package from D365 Platform Update 10 to D365 Platform Update 15

$
0
0

Dear All,

I have a Package in D365 which was previously upgraded from AX 2012 R3 to D365 Update 10.

Now i can use the package in D365 Platform Update 10.

But now, when i try to deploy the same package in D365 Platform Update 15 it is not getting deployed.

How can i deploy the package in Update 15?

Awaiting for  your responses.

Thank you

Manikandan.

Activities Functionality implementation

$
0
0

Hi All,

I have a requirement to implement activities (as in vendor master) for my new form.I follwed standard codes which they followed...

and found SysPluginFactory classes which is involved...i created my own methods to implement this ...but when opening the association tab in activities form and selecting parent id i was getting "object reference not set error"

I debugged and checked it was causing from SysPluginFactory class which is there in SmmActivityParentLink class

caseIActivities = SysPluginFactory::Instance('Dynamics.AX.Application', classStr(CaseIActivities), metadataCollection);

i was unable to resolve it.has anyone faced this issue or any resolution which would be appreciated.

Thanks.

Using insert recordset in temporary table

$
0
0

I have created two instance of single temporary table eg: table1 and table2,

First i filled table1 data and then,

I am trying to insert table1 data into table2 using insert_recordset through following code

insert_recordset table2 (field1,field2)

select field1,field2 from table 2;

But it when debugger comes to execution of this statement, AX doesn't respond and have to restart.

What could be the problem...? 


MB6-869 exam preparation

$
0
0

Hi.

I m going to pass MB6-869 exam certification. Can anyone tell me any genuine website or PDF were I can prepare the questions

Thank you in advance

model of MB6-894 certification exam

$
0
0

I am looking for a model of MB6-894 certification exam
Development, Extensions, and Deployment for Microsoft Dynamics 365 for Finance and Operations.

Please, help me.

Thank You.

Certification Exam (Technical ) Exam code for Dynamics 365 for finance and operation

$
0
0

Good Morning,

As i am trying to do certification on Microsoft dynamics 365 for finance and operation  (Technical).

Please can anyone tell me the name of exam and share some tips to get succeed.

Regards.

Have a great day.

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

Unidentifiable substring 'iif' in expression. The parser reported error message: Unrecognized identifier

$
0
0

Hi Community, 

does anybody ever faced this error: 

Severity Code Description Project File Line Suppression State
Error Path: [AxReport/ABCFreeTextInvoice1/Designs/Report/Expression]:Report: Unidentifiable substring 'iif' in expression. The parser reported error message: Unrecognized identifier. Report_experiment (CUS) [ABC_ApplicationSuiteExtension] C:\AOSService\PackagesLocalDirectory\ABC_ApplicationSuiteExtension\ABC_ApplicationSuiteExtension\AxReportABCFreeTextInvoice1.xml 0

 

I have added a new textBox and put in this expression: =First(Fields!ABCPeriodOfPerformance.Value, "FreeTextInvoiceDS")

 

Any recommendations on how to solve this error ?

Viewing all 17532 articles
Browse latest View live


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