What do you want me to discuss with Microsoft? If you believe that your custom format is so critical and widely used that it must be supported directly inside the ERP system, log a feature request on experience.dynamics.com/.../. If you have a question about Event Grid which is related to Dynamics 365, please create a new thread in this forum (because it doesn't belong to this thread). If it's not about Dynamics, I suggest you ask in an Azure forum.
↧
Forum Post: RE: Json array
↧
Forum Post: AX 2012 Create Form Filter
Hello All, I had a Query Form, I create a radio button for user to selected filter. When user choose radio button 1 : filter the SalesQuotationTable's CustAccount. When user choose radio button 2 :filter the SalesQuotationLine's ItemId. but I can't change the filter between SalesQuotationTable's CustAccount and SalesQuotationLine's ItemId. always filter the SalesQuotationLine's ItemId even choose the radio button1. Please help and thanks a lot. ================================== My code: 1. radio button1: public boolean modified() { boolean ret; ret = super(); SalesQuotationTable_1_ds.executeQuery(); return ret; } 2.radio button2: public boolean modified() { boolean ret; ret = super(); SalesQuotationTable_1_ds.executeQuery(); return ret; } 3. button void clicked() { super(); SalesQuotationTable_1_ds.executeQuery(); SalesQuotationTable_1_ds.research(); SalesQuotationTable_1_ds.reread(); } 4. Form: public class FormRun extends ObjectRun { QueryFilter queryFilter; } 5. DataSource: SalesQuotationTable_1 init: public void init() { super(); if (Option.selection() == 0) { queryFilter = SalesQuotationTable_1_ds.query().addQueryFilter(SalesQuotationTable_1_ds.queryBuildDataSource(),"CustAccount"); } else if (Option.selection() == 1) { queryFilter = SalesQuotationLine_1_ds.query().addQueryFilter(SalesQuotationLine_1_ds.queryBuildDataSource(),"ItemId"); } ProdId.visible(false); } executeQuery(): public void executeQuery() { this.query().dataSourceName(SalesQuotationTable_1_ds.name()).clearRange(fieldnum(SalesQuotationTable, CustAccount)); this.query().dataSourceName(SalesQuotationLine_1_ds.name()).clearRange(fieldnum(SalesQuotationLine, ItemId)); if (Option.selection() == 0) { this.query().dataSourceName(SalesQuotationTable_1_ds.name()).addRange(fieldnum(SalesQuotationTable, CustAccount)) .value(queryValue(queryFilter.value (element.design().controlName("CNum").valueStr()))); // queryFilter.value (element.design().controlName("CNum").valueStr()); } else if (Option.selection() == 1) { this.query().dataSourceName(SalesQuotationLine_1_ds.name()).addRange(fieldnum(SalesQuotationLine,ItemId)) .value(queryValue(queryFilter.value (element.design().controlName("ProdId").valueStr()))); //queryFilter.value (element.design().controlName("ProdId").valueStr()); } super(); }
↧
↧
Forum Post: RE: TRANSACTIONREVERSALTRANS erd
I think I might have answered that question in my earlier post in this discussion :)
↧
Forum Post: RE: Product image not showing in my POS
I have setup all the URl and Media Server image is coming from 3rd party website, but issue is that only 1 image is coming from there instead of 3. can you help?
↧
Forum Post: RE: RecordinsertList not working in class ax09? did i any thing worng
Hi Venu, To update previous replies: InventStockCardTmpLine inventStockCardTmpLi; RecordInsertList i nvoicesToBeInserted = new RecordInsertList(tableNum( InventStockCardTmpLine )); inventStockCardTmpLi .LineType = InventValueReportLineType::BeginningBalance; .... invoicesToBeInserted.add( inventStockCardTmpLi ); invoicesToBeInserted.insertDatabase();
↧
↧
Forum Post: RE: Email status showing failed
Hi All, Just to close the thread, i found the problem was the batch job, since we are using clustered AOS server. So as the solution i create a new batch group which will run on one server only then attached the batch job to this group, and now its working fine. Thanks all for your valuable inputs.
↧
Forum Post: RE: Invoice Description on Purchase Order Invoice
Hi André, Hope you are well. Do you know if the invoice description appears on the vendor transactions? The description field is empty. Thank you in advance, Magno
↧
Forum Post: RE: how to put dialog box open when a condition is not checked
Thanks Nikolaos, these steps are clear, But my question: its not possible to add condition on button "ok " of a dialog box?
↧
Forum Post: RE: how to put dialog box open when a condition is not checked
It is. If you want to develop x++ dialogs, you should use RunBase or SysOperation frameworks which provide you tools for validation etc. That's what Martin is talking about. I'm sure you can find a lot of info just by searching by yourself. Here are some search terms that I recommend: "dynamics ax sysoperation validate field" "dynamics ax runbase validate field" Like I mentioned before, I think using a form instead of x++ dialog will be the quickest solution for you. I quite often use forms if I have more advanced dialog requirements, since in forms I have more flexibility. But if you want to use dialogs, you can search the web for more information, and continue the discussion here if you need more help.
↧
↧
Forum Post: RE: Installing 2nd AOS Instance and setup fails
I am facing similar issue, I dont think its install file corrupt issue as i downloaded new setup files and tried installing and getting similar exception. does anyone found this issue solved? Many thanks in advance for your help.
↧
Forum Post: RE: Ax2012 R3 InventModelGroupItem
I was busy with another task. Did you talk about EcoResProduct table? We are changing version from Ax4 to Ax2012. We have code which automatically create record in InventTable, but doesn't create record in InventModelGroupItem. The code look like -> inventTable.clear(); inventTable.initValue(); ... inventTable.insert() When in "inventTable.insert()" before "super" we create record in EcoRecProduct table. -> product.clear(); product.initValue(); ... product.insert(); I did not find the code that makes the record, and after that the record in the InventModelGroupItem is not created. Can you tell me where I should look?
↧
Forum Post: Excel adding, Office integration
Hi Experts, I am working on excel adding. Requirement: I have added custom fields on my form, custom fields should be present in exported excel with data. Excel adding: I have extended respective data entity --> custom field visible in excel--> attached newly created excel template in Office integration (document template) While exporting excel, my custom column are visible but while data loading in excel, its throw below error. As a result only one row (single record) loaded in excel and remaining rows haven't loaded in excel [might be due to error while data loading in excel] I have tried on Chrome & IE browser Error: After click on "OK" button, got another message After clicking on "Yes" button, got another message Please help.
↧
Forum Post: RE: Excel adding, Office integration
Hello, Try below post, www.theaxapta.com/.../how-to-set-default-fields-to-be.html -Harry
↧
↧
Forum Post: Joining GENERALJOURNALACCOUNTENTRY with COSLEDGERTABLE
Hello, maybe I'm doing something wrong here but I would like to join the transactional data of GENERALJOURNALACCOUNTENTRY with the numbers and names of the corresponding account. I can find a list of all accounts in COSLEDGERTABLE, however I cannot find the relationship to the GENERALJOURNALACCOUNTENTRY. Would be very thankful for any advice! Greetings TTB
↧
Forum Post: RE: AX 2012 Create Form Filter
Hi You need to rearrange your code. You've got code all over the place. Maybe you should have an updateQuery() method or something like that. Try to keep code out of the executeQuery method. I can see a few mistakes here: - you're using queryFilters AND queryRanges - in your executeQuery method you're always adding a range. Every time you call that method, you're going to add a range. You should rather check if the range exists, and then find it if it exists using if (this.queryBuildDataSource().findRange(... - instead of using this.query().datasourcename(), rather use this.queryBuildDataSource(). Hope this helps. Try some of these and see how you go
↧
Forum Post: RE: MOVE MENU OF AXAPTA
Hello, If i understand correctly, you want to move a menu item from 'Financial' menu to 'Overview' menu. Yes its doable. You can not do it by personalizing your form so need to do it for from AOT. Go to you form and make required changes.
↧
Forum Post: Query build Range for AND, OR conditions
select * from custtrans where ((amountcur<> SETTLEAMOUNTCUR) or ((AMOUNTCUR = SETTLEAMOUNTCUR) and (LASTSETTLEDATE>'9/7/2019'))) This is my query n SQL. How shall I achieve this in Query build Range.value(strfmt())? I have seen many example, but they equate it to a variable. Here I am considering date fields of table. Error what I receive : Null reference error for lastsettledate.
↧
↧
Forum Post: RE: how to put dialog box open when a condition is not checked
Thanks Nikolaos Mäenpää, I created a form (Dialog). I want to pass form's control the this form. In the init method of dialog Form I set this code: callerForm = element.args().caller(); callerForm.args().object(StartDate); "StartDate" is the name of control. But I didn't get value?
↧
Forum Post: RE: Facing an error while creating inter-componany PO "Cannot insert multiple records in Affiliation for sales order (RetailSalesAffiliation). loyalty program: 0, 0. in ax2012
Hello, Is there any recent changes around SO/PO or RetailSalesAffiliation table.
↧
Forum Post: RE: Query build Range for AND, OR conditions
Hi B Kaptech, You can use expressions. docs.microsoft.com/.../using-expressions-in-query-ranges www.axaptapedia.com/Expressions_in_query_ranges
↧