microsoft-dynamics

How to get 'ownerid' column from CRM database of type `owner` using Web API approach?

我怕爱的太早我们不能终老 提交于 2019-12-06 12:49:56
问题 I'm using Microsoft dynamics 365 - on premises of my client. Here, I am facing an issue in accessing one of the fields - ownerid of type owner . I am using Web API approach to access the CRM data. When I hit the query in URL, it brings all the data except ownerid column. It's field type is: Simple Has anyone faced the same issue with WebAPI query approach? URL Query: https://baseURL/moves?$select=moveid,ownerid,movenumber&$filter=movenumber%20eq%20%27236659%27 Output: { "@odata.context":

Resolve error on deep insert of navigation property Dynamics WebAPI

无人久伴 提交于 2019-12-06 11:21:51
I am using the Microsoft Dynamics Web API to write data to an entity in Microsoft Dynamics 365. When I try to do a deep insert I am receiving the error An undeclared property 'ccseq_employeeid' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values. Why am I receiving this error and how can I resolve the error? JSON { "ccseq_importdate" : "2017-05-28T04:00:00Z", "ccseq_month" : "1", "ccseq_year" : "2017", "ccseq_name" : "Test",

Images in AX forms

ぐ巨炮叔叔 提交于 2019-12-06 09:34:36
In Dynamics AX, we use a large number of images and icons for various purposes in our custom forms. We're currently having to individually install image/icon packs on every client machine in order for everything to work. Is there a way (or best practice) for handling images and icons in Dynamics so an install on every single client is not necessary? Ideally, I'd install all images and icons in one place on the server and reference everything from there, but I'm open to any suggestions available. Thanks You have to deploy the files to each client but this deployment can be done automatically by

LINQ to CRM - OR in Where clause

霸气de小男生 提交于 2019-12-06 08:15:20
问题 I am trying to bring some data from Dynamics CRM 2011 using LINQ. The goal is to bring all Contact records that have changes since certain date OR have a child entity (PERC files) changed since that same date. The query looks like that: // Bring all students who have changes (at Contact entity) after specific date // momentInTime or the status of any of their perc files has been changed since // that date var students = (from c in ContactSet join pl in cga_portallogonSet on c.Id equals pl.cga

Using a web service with Microsoft Dynamics CRM 2013 online plugin

吃可爱长大的小学妹 提交于 2019-12-06 05:57:15
I'm having an issue connecting to a web service for use in a MS Dynamics 2013 plugin (running in sandbox mode because its on the MS hosted online version, not the in house version) The issue I'm facing is that i cannot seem to connect to a web service i need to use to achieve what I'm attempting to do. I initially had the web service binding in the app.config, but i quickly learnt that the app.config is irrelevant in this case (?), so i moved on to creating the binding in the code. this is the code i came up with: BasicHttpBinding myBinding = new BasicHttpBinding(); myBinding.Name =

Changing Business Process Flow Stage in C# Plugin

馋奶兔 提交于 2019-12-05 20:33:15
问题 I am following this article to change my Business Process Flow stage within a c# plugin. I am able to move the stage forward to the next stage, but I am receiving an error when I try to move back to a previous stage. The error below is what I receive in the UI from Dynamics. When I debug the plugin, I receive a FaultException<OrganizationServiceFault> exception that doesn't contain any information. Why am I receiving an error and how can I modify my code to successfully go back to a previous

MS Dynamics NAV - development licensing basics

≯℡__Kan透↙ 提交于 2019-12-05 03:53:25
问题 I am a newbie self-learning NAV. Some of queries may be foolish ones, hoping to hear from you genius experts! Really confused with licensing framework. Queries, I can identify two types of licenses - Customer license vs Partner license. Customer license is the license for ERP product and includes system functionality packages (starter/extended) and user access(full/limited user). Partner license is what a dev partner subscribes to. There is no relation among those two types, right? Is a

How do you find a user's last used printer in SysLastValue

戏子无情 提交于 2019-12-04 18:20:00
I've been trying to find where a user's last used printer is stored so that I can clear this usage data (as a few users have an issue where the remembered printer keeps defaulting to the XPS writer, despite us having KB981681 installed & the printer being available; just not defaulted on certain AX forms). I know this data's somewhere in the Usage Data, which I can browse via AX: Microsoft Dynamics AX > Tools > Development Tools > Application Objects > Usage Data AOT > System Documentation > Tables > SysLastValue > (right click) > Add-Ins > Table Browser Or through SQL: use AXDB go select *

Nested notExists joins X++ (Dynamics AX3.0)

馋奶兔 提交于 2019-12-03 22:11:45
When the following code executes: select sum(qty) from inventTrans index hint TransTypeIdx where inventTrans.ItemId == itemId && inventTrans.TransType == InventTransType::Sales && inventTrans.InventDimId == inventDimId notExists join custTable where custTable.AccountNum == inventTrans.CustVendAC && custTable.CustGroup == custGroupId notExists join salesTable where salesTable.SalesId == inventTrans.TransRefId && salesTable.Extraordinary == NoYes::Yes; The sql generated nests the second notExists join (salesTable) into the where clause of the first notExists join (custTable). ie SELECT SUM(A.QTY

MS Dynamics NAV - development licensing basics

南楼画角 提交于 2019-12-03 20:38:38
I am a newbie self-learning NAV. Some of queries may be foolish ones, hoping to hear from you genius experts! Really confused with licensing framework. Queries, I can identify two types of licenses - Customer license vs Partner license. Customer license is the license for ERP product and includes system functionality packages (starter/extended) and user access(full/limited user). Partner license is what a dev partner subscribes to. There is no relation among those two types, right? Is a development partner able to make changes to any of the primitive objects (tables/codeunits) that come pre