Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all 175888 articles
Browse latest View live

Email Notification sending Failed using Gmail SMTP Server

$
0
0

Email Issue Detail: (Email notifications failed from Dynamics AX 2012 R3 CU8)

 

  • Client using Gmail SMTP Server for managing employee emails (outgoing Mail Server: smtp.gmail.com / Port: 587)
  • Email configurations done using following URL (all email setting done successfully)

https://technet.microsoft.com/en-us/library/aa834374.aspx

  • Email sending failed after batch job execution. 

after debugging sysEmailDistributor Class - ProcessEmails Method following exception thrown:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. 61sm20055911wrs.29 - gsmtp

   at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)

   at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)

   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)

   at System.Net.Mail.SmtpClient.Send(MailMessage message)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at Microsoft.Dynamics.AX.ManagedInterop.ClrBridgeImpl.InvokeClrInstanceMethod(ClrBridgeImpl* , ObjectWrapper* objectWrapper, Char* pszMethodName, Int32 argsLength, ObjectWrapper** arguments, Boolean* argsAreByRef, Boolean* isException)

Please suggest? Is Dynamics AX support GMail smtp (SSL) or not?

 

 

 


RE: Difference between statuses cancel and lost on a sales quotation

$
0
0

Hi Steenbekepj,

Although they are both indicating there is no order won from a quotation, you can use it to determine if you or the other party canceled the quotation. When a competitor won, you can consider it as lost.

Sometimes you offer two or more quotations for the same opportunity. Then a status 'canceled' is more like it is not us to blame. A status 'lost' is more like we could do better compared to our competitors.

But a reason might also be used for analysis purposes... So it is up to you how you would like to interpret these status values.

Difference between statuses cancel and lost on a sales quotation

$
0
0

Is there a functional difference between changing the status of a sales quotation to Cancel or Lost?

In addition, has anyone have proper experience with practical examples of the distinct usage?

OrgAccount "lost" from LCS project

$
0
0

Hi all, a co-worker has overnight lost the ability to access a customers LCS project with his organizational account.

When trying to access the AX7 systems within the project, he only gets an error message "You are not authorized to login with the current credentials. You will be redirected to the login page in a few seconds". His OrgAccount has been double-checked to still have Admin access in the AX7 systems in the LCS project - however, when accessing AX7 the message above is displayed.

How can we fix this ? Client side measures all failed (wipe IE cookies / history, In Private Session, different browsers (Chrome and Firefox), different client machine (no access regardless from which notebook, PC or tablet).

Thanks a lot for your support,

Kind regards, Chris

RE: How to join DimensionAttribute with DimensionAttributeValueCombination tables in ax 2012 ?

$
0
0

There is no direct relation between these tables. Check DimensionAttributeLevelValueView view and DimensionAttributeValueGroupCombination table relations to get an idea on how to join them.

RE: Retail _ Full data Synce

$
0
0

I try all what you say but still problem

RE: QueryHavingFilter to compare 2 values from datasource

RE: Open Inventory cost price

$
0
0

Lally,

You asked a whole series of questions all at once, and got back a ton of useful explanation and information in response.  

Yet, you've marked none of your questions as answered.  

Did you really not get any of your questions properly answered?


Open Inventory cost price

$
0
0

Hi All ,

Client uses standard costing method and every year will change the itemcost price , assume that for an item stock -100 pcs is available ason 31/12/2016 and item cost price @ $150.

Now client decided to change the cost price from 01/01/2017 and new price $180.

The question is how to change the open stock cost price from $150 to $180 in AX 2012 R2 ?

Thanks in advance.

RE: QueryHavingFilter to compare 2 values from datasource

$
0
0

Getting another field on the right side of the HAVING filter may be impossible, so you may be better off using a workaround.

For example, you can create a view returning sum(ValueA) and ValueB and compare these two values when selecting data from the view. I would prefer this approach even if you find a direct solution, but you end up with some ugly hack utilizing the extended query syntax.

QueryHavingFilter to compare 2 values from datasource

$
0
0

Hello!

Is there any way to have a havingFilter in a query to compare an aggregate to a field included in the group by?

I mean something like:

Select sum(ValueA), ValueB from table_1
group by ValueB
having sum(ValueA) != ValueB

I tried to "convince" the QueryHavingFilter by setting the value to something like strFmt('!= %1', fieldStr(table_1 , ValueB)), but the result is HAVING ((!SUM(ValueA)=0)). This has nothing to do with what I need. 

I tried a few different variation, but it either create the wrong "having" or it doesn't create it at all.

Thank you.

RE: Opening balance in trial balance - Monthly

$
0
0

Hi Serene, I have checked those accounts and its okay as Revenue/Expense.  I will let you know if our accountant still has issue.  Thank you and Ludwig.

Opening balance in trial balance - Monthly

$
0
0

Hi, 


This is a follow up concern. I have done the fiscal year closing-opening periodic for this. the balances was shown as an opening balance for January 2017 and is okay.  But when we run the February 2017 trial balance, the real accounts got an opening balance, which according to the accountants must have zero balance also. Please tell if im missing something here.

 

Thank you in advance.

RE: Costing versions

$
0
0

Hi All, in my opinion, it also could be useful if you have multiple site with different cost price by site.

So, even if you do not use the costing sheet, a simple use of "planned version" shall be used to specify different cost price per site.

Is that right ?

Regards,

Costing versions

$
0
0

Hi All ,

Client company is a manufacturing environment and Client is not using the standard costing method , in this case is it mandatory to use the costing sheet and costing verions in AX2012 R3 ?

Any light on this highly appriciated ?

Thanks in advance.


Error Message when trying to add or remove PO Lines

$
0
0

Hi everyone,

I have found that by following the file path:

Procurement and Sourcing > All POs > Clicking on PO > Edit > Add/Remove gives the following error message:

SourceDocumentAmount not initialised.

I thought it might be due to removing certain privileges so I tried adding the privilege PurchTableDetailsMaintain back in and that hasn't sorted the problem. Can someone explain the above screenshot and perhaps shed some light on how I can resolve this?

Thanks,

Henna

Insufficient inventory transactions with status on order, reserved ordered, reserved physical and picked on Direct Delivery order

$
0
0

I am receiving two messages when trying to ship confirm a Direct Delivery order:

 "A quantity cannot be picked"

"Insufficient inventory transactions with status on order, reserved ordered, reserved physical and picked"

Both the sales order and the DD order linked to it are a 100% match. There have not been any prior partial receipts on any of the lines.

The Lines are in Open Order status on both the SO and the PO.

What is causing this?

How do you resolve?

RE: AX Performance

$
0
0

This may be too obvious to mention but if the issue is AOS related then have checked the  Dynamics AX AOS Event Log? When you have many Dynamics AX AOS Servers, you can use DynamicsPerf to collect the events. The VBS script AOSANalysis.CMD will automatically retrieve all Dynamics log from all AOS where there is an active Dynamics AX AOS configuration, for the last 14 days. Execute the following query from DynamicsPerf to find the latest events: Select top 25 * from AOS_EVENTLOG  order by Time_Written Desc

If no joy with that then try to capture the Dynamics AX Event Trace on the AOS server where the issue occurs. Start the Event Tracing for Windows (ETW) within Windows Performance Monitoring or use PowerShell script. (Only run the trace for few minutes because it collects all the sessions connected to the AOS and its size can easily reach several  GB). Import the trace into Trace Parser and look for top Call stacks and SQL Statements order by duration and count.

Windows Performance Monitoring, may not be the answer look but it can help to verify e.g.  latency of the Disks especially for Data and Log files of Dynamics AX and TempDB databases, and availability of the Memory, utilization of the processors and networking bandwidth. Also check the usage of all resources for all critical server roles such as SQL Server, AOS Server, Reporting Server and Terminal Server. 

To set up the Windows Performance Monitoring see: . https://blogs.msdn.microsoft.com/axinthefield/setting-up-windows-performance-monitor-templates/

I mentioned power setting.  Unless you have two servers with different settings this may not solve your problem but may still help with general performance.  Something I read in a previous post  and made a note refers to  HP servers which needs a bit more awareness. On the ILO boards is a setting called "Power Regulator" which by default is set to "Dynamic". With this Setting the HP Server uses the Power Settings configured on OS Site (which is set to "High Performance"). If you change this Setting to "Static High Performance", then it directly has an effect on the average power consumption of the Server (maybe a 30% increase - however if you try a major process such as mrp or inventory recalculation before and after changing and measure the average run time this can show almost a 50% increase in performance.

(Are your AOS on separate physical servers or on the same server?  What version of SQL. (Standard or Enterprise? which release?)

AX Performance

$
0
0

Dear All,

When analyzing the performance issues in our AX 2012 PROD environment we came across the situations that connection thought some specific servers is slower and sometimes this slowness becomes worst. In other words the system is noticeably slower when accessed through specific AOS, or client. When analyzing the latency we discovered, that the latency between those “slow” servers is always 2-3 ms, while the latency between the “fast” servers is always less than 1 ms.

E.g. it takes 6 sec to open the client through the “fast” servers and not less than 15 sec. for the “slow” ones. The performance difference inside ax is also noticeable when browsing the forms for example.

We suspect that sometimes we have the peak periods when the latency grows even more. Therefore the question is, can it be that such small difference in the latency 1 ms VS 3 ms can affect the performance of AX this much?  Could you please share your thoughts and experience?

Thanks.

Sasha. 

RE: Warning while uploading a model file in LCS

$
0
0

Hi ievgen Miroshnikov and Vilmos Kintera,

Thanks a lot

Viewing all 175888 articles
Browse latest View live


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