How can I temporary turn off AOT compile dynamics AX in my dev environment?
I can add temporary code in order to jump the object compile.
I'm here to ask a trick like to jump Synch, dbSynchronize method, I want to jump the compile too.
Thanks
How can I temporary turn off AOT compile dynamics AX in my dev environment?
I can add temporary code in order to jump the object compile.
I'm here to ask a trick like to jump Synch, dbSynchronize method, I want to jump the compile too.
Thanks
Hi all. When form opens I get this error-Query does not contain 1 data source(s). I checked task no addition data source addings required. Mentioned one table. That's all.How to solve this.
Sincerely,
Zymantas
I have an entity with a field (LedgerDimension) that cannot be set to public, but need in my BYOD export. My idea is to clone it as a computed field.
According to the article below,
"it's easier to come up with the SQL definition in Microsoft SQL Server Management Studio (SSMS) before using it in X++."
The example shows T-SQL code after X++ Code, is it supposed to be included there? Can't I just edit the view directly from SSMS and add the computed column there?
Hi Everyone,
I am doing multiselect multiparameter SSRS Report in D365 Finance and Operation.
I have written my Logic with 4 classes which are Contract, Controller, UIBuilder and Data Provider.
Now one of my Parameter is Date Field.
And I have to display the Report Data Customer wise as shown in attached Screenshot.
To achieve this requirement, I have used below logic in "processReport" method of my Data Provider Class,
query = new Query(querystr(WSPLDailyReportQuery_14102019));
qbds = query.dataSourceTable(tableNum(WSPLInvTransTable_2307));
qbds.addRange(fieldNum(WSPLInvTransTable_2307, PhysicalDate)).value(queryRange(asOnDate, asOnDate));
qbds.addRange(fieldNum(WSPLInvTransTable_2307, SOBusinessChannelValue)).value(businessChannelStr);
qbds.addRange(fieldNum(WSPLInvTransTable_2307, SOCustomerAccount)).value(custAccountStr);
qbds.addRange(fieldNum(WSPLInvTransTable_2307, SiteId)).value(siteIdStr);
qbds.addRange(fieldNum(WSPLInvTransTable_2307, SOProductGroupValue)).value(productGroupStr);
queryRun = new QueryRun(query);
while (queryRun.next())
{
wsplInvTransTable = queryRun.get(tableNum(WSPLInvTransTable_2307));
this.insertDayData();
}
In above Logic businessChannelStr, custAccountStr, siteIdStr, productGroupStr are comma(,) separated strings.
As per the requirement the data has to be shown for a day, for a month and for a financial year.
Hence I want to change the date range of my query three times for each Customer selected in filter screen.
And also want to display the sum of those transactions in single row as shown in attached screenshot.
How can I achieve this with minimum execution time? Need help on this urgently.
Thank you in advance.
An invoice received from a vendor for services obtained from the vendor. The amount of Tax was posted in an interim payable account. When the payment is done to vendor, the tax amount is still in interim account.
Hi every one,
I had a simple requirement to upload a csv file to the FTP server.
Below is my code,
void export()
{
ProjPlanVersion projPlanVersion;
ProjPlanVersionDetail projPlanVersionDetail;
CompanyInfo companyInfo = CompanyInfo::find();
String10 dataAreaId;
TextStreamIo commaIO = TextStreamIo::constructForWrite();
commaIO.outFieldDelimiter(#Semicolon);
System.Object webRequest,response,credential;
System.Net.FtpWebRequest ftpWebRequest;
System.Net.FtpWebResponse ftpWebResponse;
System.IO.Stream requestStream;
System.Byte[] bytes;
System.Text.Encoding getUTF8;
CLRObject sysException;
Hours hr;
Minutes minute;
str hrStr;
str minuteStr;
hr = DateTimeUtil::hour(DateTimeUtil::getSystemDateTime());
hrStr = hr > 9 ? any2str(hr) : ('0' + any2Str(hr));
minute = DateTimeUtil::minute(DateTimeUtil::getSystemDateTime());
minuteStr = minute > 9 ? any2str(minute) : ('0' + any2Str(minute));
//str ftpurl = "">ftp.current.no/testfile.csv";
str ftpurl = "">ftp.current.no/.../" + 'Project' + #Underscore + date2Str(DateTimeUtil::getSystemDate(DateTimeUtil::getUserPreferredTimeZone()), 321, DateDay::Digits2, DateSeparator::None, DateMonth::Digits2, DateSeparator::None,DateYear::Digits4) + #Underscore + hrStr + minuteStr + #csv;
new InteropPermission(InteropKind::ClrInterop).assert();
str ftpfullpath = ftpurl;
}
// wirite content to file
commaIO.writeExp([dataAreaId,companyInfo.Name,ProjTable::find(projPlanVersionDetail.ProjId).Name,projPlanVersionDetail.ProjId,ProjTable::find(projPlanVersionDetail.ProjId).Name,projPlanVersionDetail.ProjId,projPlanVersion.TaskCategory]);
try
{
// read csv file
System.IO.Stream stream = commaIO.getStream();
stream.Position = 0;
System.IO.StreamReader reader = new System.IO.StreamReader(stream);
getUTF8 = System.Text.Encoding::get_UTF8();
bytes = getUTF8.GetBytes(reader.ReadToEnd());
reader.Close();
// write file in FTP
webRequest = System.Net.WebRequest::Create(ftpfullpath);
ftpWebRequest = webRequest;
credential = new System.Net.NetworkCredential('bakke', #Ftppassword);
ftpWebRequest.set_Credentials(credential);
ftpWebRequest.set_ContentLength(bytes.get_Length());
ftpWebRequest.set_Method('STOR');
ftpWebRequest.set_Proxy(NULL); //SIYE, commented only because to avoid Build errors from Build Automation while SDP.
requestStream = ftpWebRequest.GetRequestStream();
requestStream.Write(bytes,0,bytes.get_Length());
requestStream.Close();
response = ftpWebRequest.GetResponse();
ftpWebResponse = response;
}
Catch(Exception::CLRError)
{
sysException = CLRInterop::getLastException();
info(sysException.get_Message());
}
}
}
from the above code I am getting build error CLR type System.Net.IwebProxy is not found in any reference assembly.
but I included all the assemblies. Does any one know how to solve this.
Hi. I want to run a standard sales report to a CSV file by batch. How do I find where D365 stores the exported CSV file? Cheers. James
Dear Experts
a report i need about the managers workflow approval in a day? means how many workflows approved by a person whether on 2nd level or 3rd level?
Thanks in advance for your replies
Regards
Hello..
I activated the auto settlement option in 1-10-2019 but I have open transaction since July till the option is activated
How can I settle this transaction automatically , the new transaction now is settled the old transaction
Thanks
Hi All,
I am implementing Dynamics 365 Finance & Operations and have requirement from client regarding Credit limit approval.
The scenario is as follows:-
Suppose the Customer is "ABC LLC" and we set as credit limit = $100 over the period the credit limit is exhausted and when creating the new transaction system prompt a message that credit limit is exceed.
SO the requirement is when we get the error message of credit limit exceed then the workflow has to be trigger and then it has to be approve by the proper authority. But they are not going to change the credit limit immediately only they want workflow approval so that it can be tracked.
Is this requirement is possible without any customization or can be configurable?
Thankig you in anticipation
rgds
dhananjay
Hi All,
While implementing D365 F & O have one requirement to set up payment terms as 50 % at the time of delivery and remaining 50% will be after 20 days.
How this can be configure or any other way around for this method?
Thanking you in anticipation.
rgds
dhananjay
HI All,
Greetings
I have AX 2012 version. We have appraisal system developed. The workflow defined is
Start->First Appraiser-->2nd Appraiser-->1st reviewer-->2nd reviewer(Hr setup-Hr workflows-The workflow is defined here)
The 1st, 2nd appraiser and reviewer are defined in workers form
The 2nd reviewer is HR in most of the cases-
the new requirement is that for 2nd reviewer(approve, reject, change request, delegate-options enabled in portal) want to push back to 2nd reviewer.
After pushing it to 2nd Reviewer it should come back the HR for final completion
Can anyone guide me how can I achieve this
Kindly help
Hi Friends,
We have a terminal server for all users to remote in and run AX, how to setup default client configuration for all users?
I setup one, but that apparently only works for myself.
Many thanks.
I have customization to load a audio file into resource node.
D365 team,
When i Firm production orders from MRP i use Standard marking so sub assemblies production orders are marked to its upper level.
but because of BOM changes sometime i have to bring top assembly production order to created status(Copy BOM feature is only available on Created status.), when i do that all sub assembly production orders linked to this production order get unmarked .
i want marking to stay regardless the status change on production order, can someone suggest on this issue
Hi Friends,
Some users are getting following error when accessing their expense report in EP, and they are in on separate company, other users in different company are fine.
Where can I start looking into?
Many thanks.
===========================
An unexpected error has occurred.
Access to the menu item 'TrvExpenseReportsWorkerListPage' has been denied. Contact your system administrator.
Microsoft.Dynamics.AX.Framework.Services.Client.InteractionServiceException
at Microsoft.Dynamics.AX.Framework.Services.Client.ServiceClientHelper.InvokeChannelOperation[TResult,TChannel](IServiceClient`1 client, Func`2 operationInvoker, Func`2 exceptionWrapper)
at Microsoft.Dynamics.AX.Framework.Services.Client.InteractionService.InteractionServiceClient.Initialize(IInteractionArguments interactionArguments, IInteractionObjectIdentifier interactionObjectIdentifier)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxListPageContentArea.InitializeListPageContentArea()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxListPageContentArea.OnLoad(EventArgs e)
Access to the menu item 'TrvExpenseReportsWorkerListPage' has been denied. Contact your system administrator.
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.AX.Framework.Services.InteractionService.IInteractionService.Initialize(InteractionArguments interactionArguments, InteractionObjectIdentifier interactionObjectIdentifier)
at Microsoft.Dynamics.AX.Framework.Services.Client.ServiceClientHelper.InvokeChannelOperation[TResult,TChannel](IServiceClient`1 client, Func`2 operationInvoker, Func`2 exceptionWrapper)
Hi All,
The issue is in Dynamics 365 Production environment, the quarantine order generates automatically after purchase order confirmation.
In Test environment the Quarantine order generates after Product receipt.
Could some one please help me know what can be the reason that in Production environment quarantine order generates after confirmation.It should generate after Product receipt.
Thanks!
Hi experts
I have PO where part no line was created and register a certain amount of the stock to a project. I trying to unregister the stock but I can't as it is reserved to the transaction. Can anybody help how to cancel tris reservation? can anybody help
I have a requirement where I need to list out all the active vendors which have no transactions since some date(say 2018). How do I list out all those vendors in AX 2009?