How to cancel method execution in pre-event handler
Hi,Can you please advise, is there any way to cancel execution of the calledMethod in PreEventHandler of this calledMethod (no any parameters are passed to the calledMethod).Thank you
View ArticleUsing pre/post event handlers on Private Method...
I have some customise code in checkAllowEditWhenCheckPrinted(container _cacheKey, boolean _newVoucher) method of an existing table LedgerJournalTrans and its a private server boolean Method. I am...
View ArticleWhere to perform validation in sysoperation fwk
Hi,I want to know how to choose where to perform validation in sysoperation fwk i.e. either do validation in the controller or contract class.Please guide.Thanks
View ArticleSSRS report with multiple controllers and additional business logic
Hello,I was wondering if there is a possibility to call same report from different menu items, and do additional logic when the report is called from second menu item.I would like to run and existing...
View ArticleTo find amount in transaction from generaljournalaccountentry with joural...
Hi there,I want to finrd the amount in trasaction of Inventory Management èJournals è Movement Journal è Journal Lines è Inventories è Transactions è Ledger è Financial Vouchers -> amount in...
View ArticleUpgrade from AX 2012 CU9 to AX 2012 CU11
Hi,As i am new to Dynamics AX environment as we are using AX 2012 R3and a task has been assigned to me to 1. Upgrade from AX 2012 CU9 to AX 2012 CU112. We are having much customized code in cu9 and i...
View ArticleUsing json in AX
Hello,I want to do serialization in AX to JSON.Also - I need to check whether JSON string is OK or not (a function that get as input a string, and returns if it is OK or not), and I want to know...
View ArticleSome workflow actions not appearing
[AX 2012] Purchase requistion and workflow!!I submit a new purchase requistion, but some fields such as COMPLETE, REJECT.. not apprearing in ACTION BUTTON!!!! :(
View ArticleOpen form in ssrs report
I have a requirement where I have to open CustInvoiceJournal form along with a SSRS report. I have created a method to open the form in DP class and calling that method from processReport() method....
View ArticleDebug::assert failing on number
Hello,Recently I noticed a strange behaviour of Debug::Assert failing on particular number: 225654272000Is this number some sort of "magic" or what? Can anyone confirm that in their systems this fails...
View ArticleHow to setting automatic change data on form
1. How i can show string "size" in form "width x Length x Height CM"2. Auto change data when i edit on string "width" on instantly.eg. width = 73 Size = 73X6X5cm3. Can add data to sizeeg. Size =...
View ArticleSerialize data contract to JSON
Hello ,I would like to convert ax object to JSON I used data contract serialization and add it to AOT .namespace Demo{ public class ContractSerializer { public static string Serialize(Object o) { Type...
View ArticleHow to automatically pull data out of Dynamics 365 regularly?
We are looking for a way to have 365 create files that contain data that we want to report on, probably using Data Entities. I'm thinking it will be a reoccurring job. The problem is HOW do I get...
View ArticleSerialize ax object to Json string using Newtonsoft.Json.dll
I used the below code to serialize ax object to Json using Newtonsoft.Json.dllstatic void SMCJsonTest(Args _args){ str jsonData; SMCTest test;test = new SMCTest(); test.parmTest("Hello");jsonData =...
View ArticleInstalling deployable packages with Powershell
Installing deployable packages to an AX 7 environment can often be done just by a few clicks on LCS (as described in Apply a deployable package on a Microsoft Dynamics 365 for Operations system)....
View ArticleAIF requirement scenarios
Hello To All , I have created an Outbound using temporary table. My requirement 1) i want the data which comes to standard table is also in temporary table 2)when even outbound is...
View ArticleNo Extension for maps in Ax 7
Hi,We can not create an extension for Maps in Ax 7. I have a couple of fields , mappings (customized) in BankAccountMap map which i need to use. Also for Mappings its moved to table . I have created an...
View ArticleDIXF: Function DimensionValidation::validateByTree has been incorrectly called
Hi,After Data can insert import using DIXF then I will validate this data, show error "Function DimensionValidation::validateByTree has been incorrectly called."data was imported like below, but can't...
View ArticleFile transfer between Ax 7 and On-premise app
Going from 2009 to Ax 7. We currently have file exchange between Ax and other on-premises app, some CSV and other simple custom format.How to migrate this to Ax 7? At first I though about hosting an...
View ArticleCan't call static AX Method from SSRS Data method
Hi all,i use AX 2012.In this https://msdn.microsoft.com/en-us/library/cc622853(v=ax.50).aspx you can read how easily you can call a X++ method.But here is the Problem. Here is my test...
View Article