Notifications
Announcements
No record found.
Hello,
AX 2012 R3 CU8 - on PO confirmation I get an error as " Actions with this action are not valid" when ‘Use print management destinations’ is ticked and is set to Email.
*This post is locked for comments
It seems that your system is configured to send confirmations electronically but something is wrong with the outbound port. Take a look there.
Martin,
do we need to setup any outbound port for it to work. As in AX , i see out bound ports are blank.
Put a breakpoint to the method throwing the error (AifSendService::getEligibleEndpoint()) and check what's going on there.
I assume that your system isn't correctly initialized and you don't have any record for PurchPurchReqService.read in AifAction. When AX can't find the action, it complains that it isn't a valid action. You may want to verify this before anything else.
But I merely guessing - I can't debug your system and even your code is not the same as in my application (as I can see from line numbers).
i get the error before it hits the method (AifSendService::getEligibleEndpoint())
I debug putting the breakpoint in class purchformletter.
yes, I understand you cannot debug in my system as it has customizations done.
No, that's not true. Look at the call stack in your picture - it says that the exception was thrown at Dynamics.Ax.Application.AifSendService.getEligibleEndpoints, at line 16.
The problem is that you're trying to use an X++ debugger for code that runs in CIL, not X++. You have to use Visual Studio for CIL debugging.
when i change the action type in aifaction table from serviceoperation to receivedocumentlist email goes out . but twice it sends the email.
what are these actiontype and how are these set.
thanks in advance
also looks like action type in aifaction table for PurchPurchReqService.read other options other than serviceoperation , email functionality works. but problem is email is going twice now.
thanks
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2