Guys,
i tried to create payment journal from AIF service and i got that error!!
Guys,
i tried to create payment journal from AIF service and i got that error!!
Good morning, I am working in the integration of ax 2012 R3 and TFS 2018. actually it works, my problem is how to custumize the Check in form in order to add some Tfs fields such as "AssignedTo" fields. I could add the field in the form" SysVersionControlCheckIn" and in the table, but i could not retreive information ( I mean the value of the field assigned To refering to the WorkItem) from TFS. After searching the place where they populate values i found the class SysVersionControlWorkItemProviderTFS, exactly in the methode insertWorkItemToTable, but i didn't find how they populate values from tfs. Can you help me please. Thank you so much
Hi
I have the following code (excerpt only, not full method) to both email a SSRS report and save it as a file:
// create email contract emailContract = new SrsReportEMailDataContract(); // fill in the email contract details emailContract.parmAttachmentFileFormat(SRSReportFileFormat::PDF); emailContract.parmSubject("My Report"); emailContract.parmTo("someone@someone.com"); // email report certificateController.parmReportContract().parmPrintSettings().printMediumType(SRSPrintMediumType::Email); certificateController.parmReportContract().parmPrintSettings().parmEmailContract(emailContract); certificateController.parmReportContract().parmPrintSettings().fileFormat(SRSReportFileFormat::PDF); certificateController.parmReportContract().parmPrintSettings().fileName(tSaveParameters.CertificateUNCPath + '\\' + fileNamePDF); certificateController.runReport(); // generate file for archiving certificateController.parmReportContract().parmPrintSettings().printMediumType(SRSPrintMediumType::File); certificateController.parmReportContract().parmPrintSettings().overwriteFile(true); certificateController.parmReportContract().parmPrintSettings().fileFormat(SRSReportFileFormat::PDF); certificateController.parmReportContract().parmPrintSettings().fileName(tMFilesParameters.FLW_MFilesCertificateUNCPath + '\\' + fileNamePDF); certificateController.runReport();
When the email is received, the report as an email attachment is the AOT name of the report eg. Reportname.PrecisionDesign1.pdf
When the report is saved to a file share, it is the name I gave it.
Can I change the name of the attachment on the email, in the same way I change the name of the saved file?
Many thanks in advance!
Why x++ is not supporting WHEREIN or contain in sql? Is there any workaround of doing in x++? I have been searching for one hour but haven't found anything.
Please remove Microsoft Dynamics AX filter as not it is called D365 For Operation it is so confusing :(
Hi
I created a extension table for CustTable, and insert two new fields (NewestDate and NewestBy). Then I wrote a code to insert record. Code run successfully, but when I was debugging, it has a error. (My purpose is, if the record has already existed, I can update new value, if the record does not exist, I can insert a new record.) Who know reasons?
Hello friends,
I have a scenario where I have to modify a dialog form by adding my new fields in D365O.
The standard class is extended with runbasebatch class.
I have used Chain Of Command method to create extension of this standard class and to add my four dialog fields.
Now my second requirement is that, based on one of my custom field's value the standard dialog field value will be enabled or disabled.
I have tried the approach explained in the below links, but no luck:
http://dynamicsaxforum.blogspot.com/2012/10/override-event-methods-on-dialog.html
This may be working in Ax 2012, but not working in D365O in my case.
Had anyone gone through this requirement in D365O before?
Any suggestions will be helpful.
Best Regards
Pranav
Please anybody provides me with a useful knowledge if possible
Hello Everyone,
It is possible to use locally installed Visual Studio to doing customization/developement on D365. If its possible then tell me how we can implemented on my local system . Basically i am use D365 VM (application version 8.0) and i have also LCS credential.
Hello everyone,
I am trying to install deployable package on Build and Test environment on cloud. I read on the Microsoft website that I can only install the deployable package using command line. Also, there is no admin account in Microsoft subscription.
I have already unblocked the file.
But when I follow the steps, I get the error "Access is denied".
Hi all,
I have a Query based SSRS report. Just a simple query with no complex stuff in it but gets huge data and the report runs fine. When the data is exported to CSV, after a while I get the below error. Please suggest how to fix this and export the data smoothly.
The maximum message size quota for incoming messages (2147483647) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
Thank you,
Praveen.
Hello,
my requirement to add a new value to an existing report so followed the following steps:
1-create an extension of the temp table then adds the field.
2- create Extension class of the RDP and used the COC for the processReport function, but I counter an Issue here
when trying to use the Temp Table I could but when try to update the temp table it through a syntax error "Temp is not declared" as shown in the following Image.
the remaining steps to create a new report and copy the old design and edit the design as I want, then create an extension of the report menu item and choose the new report as an object.
Is there any issue in this steps and why it allows us to assign a value to the temp but through error when trying to select or update it.\
thanks in advance.
Hi,
is it possible to integrate whatsApp with D365. If yes then please guide me for the same.
Dear All,
We have one Customized BOM Report. In one query, we are taking values from table InventSum, making ranges of fields Closed=0, and ClosedQty=0. That is working fine.
But if i remove the ranges or updating like Closed in (0,1) and ClosedQty in (0,1), report is not loading in ax 2012.
I tried the same query in SQL Server and that is working fine.
Could you please help me to sort this out?
Regards,
Workkb
Good morning, I am working in the integration of ax 2012 R3 and TFS 2018. actually it works, my problem is how to custumize the Check in form in order to add some Tfs fields such as "AssignedTo" fields. I could add the field in the form" SysVersionControlCheckIn" and in the table, but i could not retreive information ( I mean the value of the field assigned To refering to the WorkItem) from TFS. After searching the place where they populate values i found the class SysVersionControlWorkItemProviderTFS, exactly in the methode insertWorkItemToTable, but i didn't find how they populate values from tfs. Can you help me please. Thank you so much
Hello All,
I have a JSON list am trying to send to a custom service.
[
{
"EmployeeId":"ERS/CONS/67898",
"Gross":30567.90,
"NetPay":7890.89,
"EmployeePension":578564,
"EmployerPension":898789,
"PAYE":68798
}
,
{
"EmployeeId":"ERS/CONS/9087",
"Gross":30567.90,
"NetPay":7890.89,
"EmployeePension":578564,
"EmployerPension":898789,
"PAYE":68798
}
,
{
"EmployeeId":"ERS/CONS/6745",
"Gross":30567.90,
"NetPay":7890.89,
"EmployeePension":578564,
"EmployerPension":898789,
"PAYE":68798
}
,
{
"EmployeeId":"ERS/CONS/2345",
"Gross":30567.90,
"NetPay":7890.89,
"EmployeePension":578564,
"EmployerPension":898789,
"PAYE":68798
}
]
The code for the custom service is as follows;
[
DataCollectionAttribute(Types::Class, classStr(ERSPayrollRecordContract)),
]
public str createRecords(List _records)
{
ERSPayrollRecordContract payrollRecord;
ListEnumerator listEnum = _records.getEnumerator();
str txt="";
while(listEnum.moveNext())
{
payrollRecord = listEnum.current();
txt +=strFmt("%1, ", payrollRecord.EmployeeId());
}
return txt;
}
but i get this error in my API tester
Hello,
I need to create a job that shows a message box to a user of ax that I indicate based on its id. To a user or to several, to show a notification to all the users indicated. I do not know how to create the job, is there a code for it?
Thank you
Alex
Hi All,
We have a requirement to consume JSON based Web API in AX 2012 R3. I am new to this requirement and with the help of some posts I tried to use the below sample code by executing in a Job in X++.
RetailWebRequest request;
RetailWebResponse response;
str rawResponse;
Map responseData;
str responseValue;
RetailCommonWebAPI webApi = RetailCommonWebAPI::construct();
request = RetailWebRequest::newUrl("echo.jsontest.com/.../Clark");
response = webApi.getResponse(request);
rawResponse = response.parmData();
responseData = RetailCommonWebAPI::getMapFromJsonString(rawResponse);
responseValue = responseData.lookup("Kent");
info(strFmt("Element name: %1", responseValue));
However, I could not get any response. Can anyone please help me on this?
Regards
Ana