microsoft-dynamics

How to query an on-premises Dynamics CRM from a Web App (Node/Express)

我怕爱的太早我们不能终老 提交于 2019-12-03 04:47:44
Been banging my head against a few walls with this so hoping some CRM/Dynamics experts can give me a hand! I'm trying to programatically obtain data out of our Dynamics CRM instance, using a single set of admin credentials within a Node powered Express app. This Express app is hosted on a separate server outside of our network where CRM is hosted. The app will then request, process and serve CRM data back to any logged in user who has access (controlled by roles/permissions within the app), meaning an end user only has to login into the Express app, and not have to also login via ADFS in order

CRMServiceClient does not try to connect to Dynamics CRM

北城以北 提交于 2019-12-02 12:30:17
Using the latest SDK for Dynamics CRM, I am attempting to create a new CRMServiceClient([ConnectionString]). I try to do anything with it including a WHOAMI request, and I get Unable to Login to Dynamics OrganizationServiceProxy is null. When I run fiddler, nothing is even attempting to communicate to the server to attempt a login. I am unsure what is wrong, as I would have thought newing up a CRMServiceClient would have tried to connect since OrganizationServiceProxy is a child object of CRMServiceClient. Anyone have any ideas how to approach solving this? var temp = new CrmServiceClient

D365 FO Simple Query for expiring contract

微笑、不失礼 提交于 2019-12-02 09:49:00
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 ? Solved with two ranges on VALIDTO column. Used (MonthRange(0,3)) with (Day(0)) formulas. 来源: https://stackoverflow.com/questions/56854909/d365-fo-simple-query-for-expiring-contract

Axapta/DynamicsAx: UTC datetime conversion

ⅰ亾dé卋堺 提交于 2019-12-02 08:18:01
问题 We are trying to interpret the data stored in Axapata's TIMEZONESRULESDATA table. Particularly, we'd like to figure out how it stores DST begin/end times. So far, my guess is: TZENUM: foreign key referencing TIMEZONESLIST (time zone name and identifier) YEAR: 0 if rule is valid indefinitely or a year where the timezone rule is in effect BIAS: offset to UTC time in minutes DBIAS: offset of DST (added to BIAS to get total offset from UTC) Now for the part I don't understand: DYEAR,DMONTH

Unable to Debug Dynamics C# Plugin in Plugin Registration Tool

大城市里の小女人 提交于 2019-12-02 05:15:23
问题 Background I have a C# plugin in Dynamics 2016 on-premise that uses a library to make calls to other systems. Part of that library is a call to dynamics using the Web API. The Plugin is taking action as I can see the changes in dynamics, however I am expecting it to take a different action than it is taking. When I try to debug the plugin using the Plugin Registration tool, I am running into some issues. When I profile the plugin using the Exception method, I get an exception file that I am

Systems Dynamics in AnyLogic - Fibonacci sequence

三世轮回 提交于 2019-12-02 03:50:55
I have a systems dynamics model in AnyLogic in which I'm trying to model the Fibonacci sequence. Yet, for some reason, my results differ from the expected ones: Instead of 1,1,2,3,5,8,13... I get 1, 2.137954153, 4.021788196, 7.471205823, 13.86070806... I followed these (spanish) instructions to build my simple model. I suppose this is not common to all software because in VenSim this example seems to work perfectly... Can somebody explain to me why this happens in my AnyLogic program? The reason why this happens is because of the way differential equations are handled in each Software. The

Unable to Debug Dynamics C# Plugin in Plugin Registration Tool

▼魔方 西西 提交于 2019-12-02 02:17:10
Background I have a C# plugin in Dynamics 2016 on-premise that uses a library to make calls to other systems. Part of that library is a call to dynamics using the Web API. The Plugin is taking action as I can see the changes in dynamics, however I am expecting it to take a different action than it is taking. When I try to debug the plugin using the Plugin Registration tool, I am running into some issues. When I profile the plugin using the Exception method, I get an exception file that I am able to debug through to a point. When I get to the below code, the Plugin Registration Tool crashes

Systems Dynamics in AnyLogic - Fibonacci sequence

邮差的信 提交于 2019-12-02 01:45:14
问题 I have a systems dynamics model in AnyLogic in which I'm trying to model the Fibonacci sequence. Yet, for some reason, my results differ from the expected ones: Instead of 1,1,2,3,5,8,13... I get 1, 2.137954153, 4.021788196, 7.471205823, 13.86070806... I followed these (spanish) instructions to build my simple model. I suppose this is not common to all software because in VenSim this example seems to work perfectly... Can somebody explain to me why this happens in my AnyLogic program? 回答1:

'An undeclared property' when trying to create record via Web API

你离开我真会死。 提交于 2019-12-01 17:58:40
问题 I am getting an error which I just cannot seem to debug. I am trying to create a custom activity entity via custom HTML/JavaScript web resource. The user clicks a button and the following params: var params = { 'rob_faqid@odata.bind': '/rob_faqs(guid-here)', 'rob_source': 180840000, 'subject': 'Signpost', 'actualstart': new Date(), 'actualend': new Date() }; Are passed to this URL: https://dynamicsorg/api/data/v8.2/rob_quickactions/ With the following headers: xhr.setRequestHeader('OData

Merge several dynamics AX reports in one

五迷三道 提交于 2019-12-01 14:17:50
I have the following problem: I want to merge salesInvoice reports in 1 report containing all invoices. I'm using a job that prints reports with printJobSettings, Args and reportRun classes. My parm is a ledgerJournal num and I want to print all relative invoices in one report not printing each invoice separately. How can I do to generate only one report? Basically, I take my JournalNum from LedgerJournalTrans Table, I loop on CustInvoiceJour table to have all relative invoices and execute report, I think I should override fetch method to do this, but fetch method on salesInvoice report is