Quantcast
Channel: Martin Dráb's Activities
Viewing all 17532 articles
Browse latest View live

System Admin Easy Questions about D365 :)

$
0
0

Hi everyone,

I remember deploying the first version of AX7 few months ago and stopped learning the new platform for few months. Now I am back to the new Dynamics 365 and I have few questions

What is the name of the product ?

I believe that the name went from Microsoft Dynamics AX 7 --> Microsoft Dynamics AX --> Dynamics 365 --> Dynamics 365 for Operations --> Dynamics 365 Enterprise & Dynamics 365 Business.

Now it seems that we have two options Dynamics 365 Enterprise & Dynamics 365 Business and multiple apps (Sales, Customer Service, Operations, Financials).

Am I correct on this ?

Is it only offered on SaaS ?

I remember AX7 being a mixed between PaaS and IaaS. Dynamics 365 Business seems to be only a SaaS solution. Dynamics 365 Enterprise seems to have SaaS and On-Premesis options.

Am I correct on this ?

 

What is the role of LCS ?

Again, with AX7, I could deploy and maintain my environments through LCS. Is it still the case ? It seems that I can subscribe to Dynamics 365 through portal.office.com. I can now access Dynamics without having LCS. Is it the correct way

 

How can I have multiple environments ?

I have now access to Dynamics 365 through Portal 365. How can I take a backup, import code, create a test environment ? Do you know good documentation ?

Thank you


Shared Storage and Remote Access across multiple LCS machines

$
0
0

Hello, 

I am am trying to find some help in allowing multiple servers spun up via LCS for Dynamics 365 development to access shared storage. 

The requirements i've been given are the following. 

  • The storage needs to be accessible to all of the machines that have been spun up via LCS
  • The storage is also to be used for all of the machines to backup their SQL databases too. 

The solutions that i've thought up are the following. 

1. Create a storage account in the same region that the LCS machines are in.

1. Allow for remote access to the LCS machines by loading certificates on the machines manually so i can use WinRM over SSL

2. Once i can connect to the machines via powershell, i map a drive to the storage account that i made, this can both be used for backups and for sharing (hotfixes for LCS environments).

The issues the solution brings with it.

  • The mapped drives do not stay persistent even though they've been setup as persistent using a credential manager credential
  • The storage account is dog slow, took 2 hours to upload a 1GB Zip file.

The solution would work, but is not very performant. I was wondering if anyone else has dealt with this issue and found another way around it. Please let me know what you've tried :) 

Thank you,

Kyle

How do you add icons next to buttons in D365?

$
0
0

Hello, could someone please help me with how to add an icon next to a button on a form in D365? Is this possible? See example below.

Content type of response message does not match content type of binding

$
0
0

im getting this issue.im not able to understand what is exact issue regarding this issue when im syncing the order from magento  to AX 

"The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were:"

Could u plz anyone explain this ?.

Product transfer on mobile client complains about the lot not existing

$
0
0

Tengo movimientos de transferencia de productos de una ubicación a otra con dispositivo móvil hand held utilizando la configuración estándar de AX2012 R3 pero envía el mensaje de "El Lote no existe en esta localidad", cuando, la localidad  y el lote existen.

Word COM Objects - How to specify specific printer

$
0
0

Hi Everybody

I am trying to print a word document, and i found this code (https://blogs.msdn.microsoft.com/czdaxsup/2009/09/08/howto-print-word-document-from-x/) which works fine. But i also need to specify a specific printer, it is using the default printer. Can anybody help?

I read something about using the method ActivePrinter to set the printer, but it does'nt seem to work. I get the error Method not exist.

I am using Word 2016.

----------------------------------------

str document = "C:\\test.doc";

COM wordApplication;

COM wordDocuments;

COM wordDoc;

str printerName = "\\\\H\\MyPrinter";

;

// Create instance of Word application

wordApplication = new COM("Word.Application");


// Get documents property

wordDocuments = wordApplication.Documents();


// Open document
wordDoc = wordDocuments.Open(document);

// Activate the document - this is necessary to print it

wordDoc.Activate();


// Print the document

wordDoc.PrintOut();


// Close document

wordDoc.Close();


// Close Word application

wordApplication.Quit();

Dynamics AX 365 Integration with WEB API using OAUTH

$
0
0

Hi

I am looking for an example on how to consume Odata entities from Dynamics ax 365 onWeb api project using OAUTH authentication. 

i am trying to implement web api project using reference given below but it is not working for Web api project. Console application i tried using the below connector and that is working fine.

https://github.com/Microsoft/Dynamics-AX-Integration/tree/master/ServiceSamples

If someone can help and share some examples on web api integration with AX 365, that would be great.

Thanks

Amir

AOS restart - D365 on premise version

$
0
0

Hi all,

We are using D365 on premise version, just wondering how to restart AOS, where can I get the same.

Thanks
Gautam


Deployable package: not all objects of package are included

$
0
0

I had this strange situation today, for which I cannot find a solution.

Our setup is the following:

- 2 developers are working on their own virtual machines running Dynamics For Operations and Finance Update 8, we use VSTS for source control.

- A development/build machine hosted on azure, where we build our releases.

- We then apply those releases/deployable packages to other environments.

How I created my deployable package

- did a "get latest version" for all the objects in my package, on the dev machine in the source control explorer

- Then I used the Dynamics 365 > "build models" function in Visual studio, and choose to build all the referenced packages.

- Then I uploaded the deployable package to LCS and applied it to my destination environment.

What is the problem

Today it appeared that all new objects were not in this destination environment, extensions on existing standard tables were in the package.

I did notice the following however:

When building each visual studio solution, there were binary files added to the folder C:\AOSService\PackagesLocalDirectory\<Mypackage<\bin

But then when creating a depoyable package, the complete model is built, and serveral 'netmodulefiles' and others were deleted again.
I can even see those files become a '.delete' file when the model build is running.

What's going on here?

Your help is greatly appreciated

Kind regards

Mathieu

‘Get latest’ failed on a file without permissions

$
0
0

A few days ago I was getting latest changes from VSTS to an AX 7 development box when it failed on a certain (custom) .dll file, because Visual Studio wasn’t able to overwrite the file.

I made sure that all AX services are down, but it made no difference. Then I looked at file permissions and found that I didn’t have any permissions at all, which was really weird. I did use the environment a few weeks ago without problems.

Ultimately I restarted the server and the file disappeared, therefore I was able to get the new version from VSTS without issues. It seems that the file was technically already deleted and I just saw some strange state of the system.

If I see something similar next time, restarting the machine will be one of my first steps.

SSRS Report Data Provider Base ( Query in the database)

$
0
0
Hello, I'm doing an SSRS Report and in the DP class I make a query 
to the database and it does not bring me anything in the temporary
table,can you direct me to what I'm doing wrong please?
this is the code in processreport:

while select * from salesTable
where salesTable.SalesId == salesLine.SalesId && salesLine.ItemId == inventTable.ItemId
join salesLine where salesLine.CustAccount == custTable.AccountNum
join custTable where custTable.LineOfBusinessId == lineOfBusiness.LineOfBusinessId
join inventTable where inventTable.Product == ecoResProduct.RecId
join ecoResProduct where ecoResProduct.RecId == ecoResProductCategory.Product
join ecoResProductCategory where ecoResProductCategory.Category == ecoResCategory.RecId
join ecoResCategory where ecoResCategory.Code == importCategoryTmp.Code
join custInvoiceJour where custInvoiceJour.SalesId == salesTable.SalesId





D365 v/s NAV

$
0
0

Hello Folks, 

Can anyone tell me that how will I get features comparison list between Dynamics 365 And Dynamics NAV? I tried to search on Partner portal, however, I could not able find. Please share with me if anyone has it. 

Many Thanks!

Mitesh Rathod

Adding data sources to a query via code

$
0
0

I'd like to add fields to the grid on the ProdTableListPage form. These fields include custom fields that were added to the ProdTable, as well as the WrkCtrId from the ProdRouteSchedulingView. The requirement is that the user is able to sort and filter on these new fields. 

Temporarily, I've added display methods as an extension to the ProdTable in order to allow the user to view the fields values, but this doesn't allow filtering and sorting.

Having not done this before, I thought I'd start at the init of the datasource. Here's what I have in code so far:

[FormDataSourceEventHandler(formDataSourceStr(ProdTableListPage, ProdTable), FormDataSourceEventType::Initialized)]
public static void ProdTable_OnInitialized(FormDataSource sender, FormDataSourceEventArgs e)
{
FormRun fr =sender.formRun();
var qbds = sender.query().dataSourceTable(tableNum(ProdTable)).addDataSource(tableNum(ProdRouteSchedulingView));
qbds.addLink(fieldnum(ProdTable,Prodid),fieldnum(ProdRouteSchedulingView,ProdId));

FormGridControl grid = fr.control(fr.controlId('ListPageGrid'));
int resourceNum = fr.controlId('Resource');
if (!resourceNum) //check to see if control exists to prevent duplicate controls when filtering or sorting
{
  FormStringControl fsc = grid.addControl(FormControlType::String,'Resource');
  fsc.dataSource(sender.query().dataSourceTable(tablenum(ProdRouteSchedulingView)));

  fsc.dataField(fieldnum(ProdRouteSchedulingView, WrkCtrId));

  fsc.label('Resource');
}
}

The issue with this is that the new control 'Resource' has no data.

What is the proper way to achieve results?

New to Dynamics 365 - can't find stuffs

$
0
0

Hi, I am new to Dynamics. My company wants me to build integration between Dynamics and our own system. So I just installed Microsoft Dynamics 365 trial version. I have installed it for a couple of days now but still being unable to figure out. The current screen looks like below: 

enter image description here

I can't find those ... things which should appear here - something like leads, contacts, accounts, opportunities, or create new record types here. Where is everything...

Junction Entity

$
0
0

Hello,

I am trying to create a junction entity between two custom entities i.e. Example1 entity and Example2 entity.

Can anyone please guide me how to create the junction object in Dynamics 365.

Thankyou


Dynamics365 Development Training for Beginners

$
0
0

HI All,

I am new to Dynamics 365. Infact I have never worked on Dynamics product line. I am c# developer for web api development and desktop applications ranging from winforms to WPF.

I now feel to learn dynamics 365 as desktop applications doesn't seems to have much future. 

I already created on account and started navigation and basics of 365. 

Can anyone suggest me where  i can find the  hands on labs or development tutorials?

What other technologies do I need to learn apart from C Sharp?

Active Directory 2016 compability

$
0
0

Hi,

one of my customers is planning to upgrade their environment to Active Directory 2016 mode. Since the software requirements page for Dynamics 365 only lists the modes up to 2012 - are there any experiences/informations if Dynamics 365 is compatible with this mode?

How do I specific a non-default legal entity in an OData request?

$
0
0

I haven't yet found a developer specific forum for Dynamics 365 for Operations, so apologies if this is the wrong place to ask this; please let me know if you know of a better forum.

I'm trying to set up an OData query in C# to request data for a non-default legal entity, but can't find any indication where to specify it. On the normal URL, I'd just add "?cmp=<LegalEntity>", but this doesn't seem to for OData access. In the browser it's simply ignored and, programmatically, I get an error "Expected an absolute, well formed URL without a query of fragment".

Also, if there are more sophisticated code examples than the equivalent of a simple https://<myenv>.dynamics.com/data/Customer I'd be interested in seeing them.

Thanks

Dynamics hosted web service?

$
0
0

I have a managed package that integrates my product with Dynamics 365. Up until this point, I have only needed to access the standard API, and the javascript objects. However, I now have a requirement to do the following:

I would like to host a page on dynamics, that can receive a web request, process it, and then store a value in a dynamics table that hopefully only my package has access to.

Is this possible? Can someone please point me to a tutorial of some sort? I can't seem to craft a search to find this info.

How to monitor storage usage growth?

$
0
0

Dear all,

Is there some report or portal where we can monitor the storage usage growth over a time period?

Needing to have a projection to budget for growth.

Thanks..

Viewing all 17532 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>