EP development is possible using AX Datasets and Proxies.But I have also found it beneficial to utilize the existing AX Business Connector Functionality. Below are some items I have found useful: -IAxaptaRecordAdapter AXRecord = AxSession.AxaptaAdapter.CreateAxaptaRecord(“AXTABLENAME“); // Create AX Table Record Instance -AXRecord.ExecuteStmt(“select * from %1 where %1.custAccount== ‘” + custAccount + “‘”); //Execute Select Statment against AX Table Record Instance -AXRecord.SetField(“ItemId”, itemid); // Update Records to Insert -AXRecord.Call(“AXTABLEMETHODNAME“, 2); //Call AX Table Methods with Parameters
Archive for January, 2012The listview is superior to the Listbox when you need to allow the user to multi-select. Use its SetSingleSelection attribute and set it to No to allow multi-select. To use it, do the following. 1) Add the listview control to the form that you want to use it in. 2) In the init method of the form, add the column or columns that you want it to contain with the headers you want. Then loop through a table or enum values to populate the list view. Below is a simple, one column example, but listviews can contain icons or checkboxes as well. void ListViewInit() { //dfuller 1-23-12 populate listview control wfsHazards wfsHazards; FormListColumn FormListColumn; FormListItem _item; ; FormlistColumn = new FormListColumn(“Hazard Type”,1,50); wfsLvHazards.addColumn(1,FormListColumn); while select HazardCodeId from wfsHazards { _item = new FormListItem(wfsHazards.HazardCodeId,0,wfsHazards.HazardCodeId); wfsLvHazards.addItem(_item); } } 3) The contents of the listview can be …
One of the great features of connecting CRM and SharePoint is the ability to use true document management linked to CRM entities. When connecting the two products, you can save documents at the CRM entity level using all the document functionality of SharePoint. This feature is also available in the CRM outlook client, allowing document retrieval (and uploads) without leaving the outlook client. With SharePoint 2010 installed along with a special SharePoint list part and a few configuration items set in CRM 2011 you can have document folders set up automatically in SharePoint when you create entities in CRM. And documents created, updated, and saved in those SharePoint folders will be available in CRM A folder will get created in SharePoint from CRM where the users can store documents, see below: This functionality enables CRM users and non- CRM users to work together as a team to achieve common business …
|
|
