axapta

Is it possible to disable input in one field if another is filled?

♀尐吖头ヾ 提交于 2021-02-17 05:08:30
问题 I want to disable input into fields of a table, if another field contains data in MS Dynamics AX 2012. UPDATE 1: If Field1 has input, Field2 and Field3 MUST be EMPTY |Field1|Field2|Field3| Customer nr | Id| |---1---|--------|--------| 0000000001| 01 UPDATE 2: Can the system fire an error/warning message, like it does when entering a duplicate value in an ID --> AllowDuplicates: No - Cannot create a record in Table (Table). Table Id: 01. The record already exists. 回答1: Yes, make a method on

Form Running Totals, Ax 2009

☆樱花仙子☆ 提交于 2021-01-28 12:10:13
问题 Is there an example anywhere of a form that performs running totals in a column located within a grid. The user ordering and filtering of the grid would affect the running totals column. I can easily perform the above if it was ordering only by transaction date, but including the user ordering and filtering I presume that we would have to use the datasource range() and rangecount() functions (see SysQuery::mergeRanges() for an example) then iterate over these to apply the filtering, then

Parameter not passing from controll class to DP class Report AX 2012

时光毁灭记忆、已成空白 提交于 2020-07-24 02:54:52
问题 I have created a RDP report without query , only with classes: contract, controller data provider and I am having issues the parameters passing to rdp class, in batch dialog I take the customer order selected when I click ok nothing appears it doesnt pass the value to dp class(it is suppozed to show the sales order related to that customer). Any suggestion or it is just a AX service problem ? 回答1: Even though it's been years, but I don't see any answer accepted - so will suggest an answer.

Parameter not passing from controll class to DP class Report AX 2012

橙三吉。 提交于 2020-07-24 02:47:10
问题 I have created a RDP report without query , only with classes: contract, controller data provider and I am having issues the parameters passing to rdp class, in batch dialog I take the customer order selected when I click ok nothing appears it doesnt pass the value to dp class(it is suppozed to show the sales order related to that customer). Any suggestion or it is just a AX service problem ? 回答1: Even though it's been years, but I don't see any answer accepted - so will suggest an answer.

Parameter not passing from controll class to DP class Report AX 2012

可紊 提交于 2020-07-24 02:47:10
问题 I have created a RDP report without query , only with classes: contract, controller data provider and I am having issues the parameters passing to rdp class, in batch dialog I take the customer order selected when I click ok nothing appears it doesnt pass the value to dp class(it is suppozed to show the sales order related to that customer). Any suggestion or it is just a AX service problem ? 回答1: Even though it's been years, but I don't see any answer accepted - so will suggest an answer.

Parameter not passing from controll class to DP class Report AX 2012

三世轮回 提交于 2020-07-24 02:46:50
问题 I have created a RDP report without query , only with classes: contract, controller data provider and I am having issues the parameters passing to rdp class, in batch dialog I take the customer order selected when I click ok nothing appears it doesnt pass the value to dp class(it is suppozed to show the sales order related to that customer). Any suggestion or it is just a AX service problem ? 回答1: Even though it's been years, but I don't see any answer accepted - so will suggest an answer.

View details control on ax 2012 form

Deadly 提交于 2020-05-24 04:57:05
问题 I would like to bring view details button in my form when right clicked on my form view details should be shown like in standard any form for example when we right click on item number field on the form we have view details option when clicked that opens the details form of that item. I tried using the normal right click method but could not succeed, please help me how to bring the view details functionality in my custom form. 回答1: You have to create Display Menu Item with the selected form.

Filter Blanks when link is by RefRecId

ぃ、小莉子 提交于 2020-02-03 10:17:25
问题 I have created a new table QueryCodes and used the new surrogate key functionality in 2012. A Foreign key relationship has been added to SalesTable using a RefRecId as per the new RecID foreign key guidelines. This all works great and I can now select a QueryCode on the SalesTable by a descriptive field rather than a drop down full of RecId s. However - Filtering! In any grid showing all sales orders ( SalesTable ) I cannot filter for "Blank" query codes, ie SalesTable records without a query

Dynamics AX 2009 Business Connector Logon

こ雲淡風輕ζ 提交于 2020-01-25 00:58:06
问题 Background: I'm currently working with the Dynamics AX 2009 Business Connector in C#. For my current project I need to connect to multiple AOS servers; ideally all in parallel, though sequentially would be adequate. I can connect to one server (any server) successfully, but always hit a LogonSystemChangedException if I try to connect to a different server (or even the same server but using null to connect to it as default instead of by specified name). I even get this error if I Logoff and

D365 FO Simple Query for expiring contract

[亡魂溺海] 提交于 2020-01-22 02:01:14
问题 I need to create simple query which will show all contracts which will expire in next 3 months. I know how to do that with SQL, but how to do that in Visual Studio when I create query. I added data source Contract table. Added range. Column where is date about expiring is VALIDTO. So, something to write up in value, or how to do that ? 回答1: Solved with two ranges on VALIDTO column. Used (MonthRange(0,3)) with (Day(0)) formulas. 来源: https://stackoverflow.com/questions/56854909/d365-fo-simple