Form data source
In form datasource method i have :purchTableQuery = PurchTable_ds.query();purchTableQuery.dataSourceNo(1).addRange(fieldnum(PurchTable, PurchId)).value("ABC"); Why this method write in a field "ABC"....
View ArticleStack trace error
Hi All,Strange behaviour in ax 2012 form.once we select itemId field getting “Stack trace: The method has been called with an invalid number of parameters.” if we put breakpoint on modified method of...
View ArticleDebugger is not enabling
Hi All,When i am enabling the breakpoint in Class, Table (either by f9 or breakpoint; in code), debugger is not opening. In Server Configuration the Debugger is enabled, but still it's not opening.Does...
View ArticleCustom field in customer invoice line
Hi All,I have created a field in Table SalesLine and filling that field on creating Sales Order and i want that on posting the Sales Invoice this Field should be post in the table CustInvoiceTrans...
View ArticleDifference between two dates in X++ specific format.
Dear all,I want to find difference between two dates in specific format For example:Date 01 - 15/04/1990.Date 02 - 01/04/2014.Output like. 23 years 11 months 15 days.Can any tell me. how to get...
View ArticleHow to change the defalut windows printer from ax
Hi All,Is there any way can we change the default windows printer through code using WINAPI class or any code to a specific printer.this printer is not fixed, what ever the user can select we need to...
View ArticleSame number sequence with multiple formats in AX 2012
Hello All,I have a requirement as follows.I want to create a single number sequence but it should accept multiple formats.Is it possible?I want this as i want to attach different number sequence to...
View ArticleBest practice deviations
HelloI have a temporary table that has EDT-s in it. Those EDT-s have relations to other tables (say SalesTable) and I do not want to make relations under the table I am making. Thus the problem arises,...
View ArticleCount of records
Hi,Is there any method to get the count of number of records created in a day in ax 4.0?Thanks,G
View ArticleReport on the fly
Is it possible with Axapta to create a report on the fly base on a query or table or else... Thanks
View ArticleItem Upload with Variant
Dear all, we are into retail industries where we also have fashion items and this items come with variants.we want to upload this item with excel instead of creating manually.can anyone help us to...
View ArticleEmployee Form To Vendor Form
when i create record on Employee form same record should be created on vendor form. i want to map name,adress and bank acount fields.regard,xyzpq
View ArticleDynamics AX 2012 R2 Integration with Punching Machine (JmgTimecardTrans)
Hello,I am trying to create Time Registration Record for a specific worker. I need to insert a record into the JmgTimecardTrans table with appropriate values.Unfortunately I can't find any information...
View ArticleHide Grid View columns
Hi Everybody,I want to hide few columns in grid view.I can do it by making each control of grid view visible property to false.But how can i do it in single line code for hiding multiple columns?Is...
View ArticleConsuming external webservices in AX2012 R2
I am working on a project where i need to consume external webservices in ax2012 r2,but i can't get good articles on how to go about it .Anyone who knows of a nice article please help.
View ArticleUpdate the Copied BOM
hi, I have done the functionality to copy the BOM...Now i want the following functionalityWhenever any changes like add, update or delete is done in the Original Parent BOM the child BOMs or the...
View ArticleRange lookup like SysQueryForm need on bound control
Hi,I have requirement where lookup should work like standard query form. Previous value of lookup should remain as it as and new lookup value should be added to ite.g. if we have lookup for customer...
View Articlere : Why close button becomes inactive
I was working on a form for a new project !! when i work !! close button becomes inactive !! may anybody knows the reason and solutionsThanks in Advance.parimal raj viswanathan
View Articlelanguage Problems when sending mails from ax
Hello experts, I am working with sending remainder mails for timesheet by batch processing .In my company two type of users available Arabic and English. For English user no problem. But for...
View Article