Contract Class: Microsoft Dynamics AX 2012 introduces the concept of attributes. Attributes provide a way to specify metadata about classes and methods. Two of these attributes are used when creating data contracts: the DataContractAttribute and DataMemberAttribute attributes. The DataContractAttribute attribute is used to define that a class is a data contract. The DataMemberAttribute attribute is added to methods of data contracts that represent data members that have to be exposed. Contracts are used to define what can be communicated. A data contract are used for defining parameters to the SSRS report. We can define any number of parameters using X++ statements of any data type, which can be passed on to the RDP class. A data contract class is an X++ class which contains parm methods with the DataMemberAttribute defined at the beginning of the method. RDP Class: The RDP class is a data provider that allows you to add business logic for the data that is di...
Posts
Showing posts from 2018
- Get link
- X
- Other Apps
Microsoft Dynamics AX Architecture Microsoft Dynamics is a unique and powerful solution which contains efficient and flexible functional and development features. The Microsoft Dynamics is a three tier Architecture. The three tier architecture is defined as: ⢠Database : For the purpose of storing data ⢠Server : Responsible for running the application business logic ⢠Client : Allows user to access data from the database and run the business logic on the server If we map this three tier architecture onto Microsoft AX, the components can be defined as: ⢠Database (SQL Server Database): Microsoft Dynamics AX application uses data and data model stored in the SQL Server Database. ⢠Server (Application Object Server āAOS): The AOS runs the business logic of the application. ⢠Client (User Interface): The end user accesses the application through the user Interface which is the Microsoft Dynamics rich client or Enterprise Po...
- Get link
- X
- Other Apps
How to update funding Source for Project Contract in Ax 2012 If you want to update funding Source for Project Contract in Ax 2012 by code then you can get idea from below code. These all standard table. ProjFundingSource projFundingSource; ProjInvoiceTable projInvoiceTable; LogisticsLocation logisticsLocation,logisticsLocationNew; ; ttsBegin; while select projInvoiceTable order by ProjInvoiceProjId desc { if(projInvoiceTable.ProjInvoiceProjId != " ProjID ") { if(projInvoiceTable.fundingSourceName() != "") { while select forUpdate projFundingSource where projFundingSource.ContractId == projInvoiceTable.ProjInvoiceProjId { projFundingSource.FundingSourceId = projInvoiceTable.fundingSourceName(); projFundingSource.InvoiceLocation = 0; projFundingSource.update(); } } } else br...
- Get link
- X
- Other Apps
Difference between Index and Index hint in Ax What is the difference between Index and Index hint? Index is used to give the control to the database for optimization. AX Kernel will add an OrderBy with all the fields of the index. Index Hint tells the database to use specified index and no other one. All Tables should have at least one find method that selects and returns one record method should be a Boolean variable called method; from the table that matches the unique index specified by the input parameters.
- Get link
- X
- Other Apps
Based On FromDate ,ToDate To Show Inventory Report: OutPut: To Show In SSRS Report: Contract Class: 1-1)Class Declaration 1-2) PArmFromDate 1-3)ParmToDate 2 DP Class 2-1) 2-2) 2-3)Process Report method(): Now Create SSRS Report For Design and Mapp the fields and Create Menu Item button for SSRS Report and run menu item
- Get link
- X
- Other Apps
SSRS Report Based On FromDate,Todate,CustGroup,SalesID,CustAccount Data Filter : outpu 1)Create temp Table with Following Fields 2) create Query Based on image u shown below(Tables used in this query) 3) Create Data Contract Class [ DataContractAttribute, SysOperationContractProcessingAttribute(classStr(DLS1016_SalesInvoiceUIBuilder)) ] public class DLS1016_SalesInvoicecontractclass { List salesId,custAccount,CustGroup; TransDate FromDate,ToDate; ------------- 3-1)parmcustAccountmethod [ DataMemberAttribute("Cust Account"), AifCollectionTypeAttribute("Cust Account",Types::String), SysOperationLabelAttribute("Cust Account"), SysO...
- Get link
- X
- Other Apps
ProjInvoice Report:GST Tax Invoice Report 1) Create Tmp Table with following Fields: Example 1-2) Create Query 2) write Contract Class Based on Invoice To genearate Report *** UI Builder Class Post Build () ------------ public void postbuild() { } 3 ) DP Class Note: In Proces report we write Single Select lookup so I commented that Line if u use Multi Select use that commented Line 4)Controller Class 4-1) PreRunMOdifyContractClass 4-2)Main MEthod 5) Now Design SSRS Report in VisualStudio and Deploy 6) create Menu Button -output And Run The Report ..........
- Get link
- X
- Other Apps
Parallel compilation in AX 2012 R3 step 1 : Find Axbuild file on following path C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAXR3\bin Step 2 : change directory note: every Time use CD programfiles or CD microsoft dynamics AX CD Step 3 : Run Following Command Step 4 : It will generate the log file. Check that log file and find the errors.