Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all 10657 articles
Browse latest View live

Products with missing attributes

$
0
0

Last year I was creating an interface for products and their attributes. The funny thing was that the attributes did not appear in the interface, but on opening the form, all the attributes were there. So one begins to think what is going on! Where are my missing attributes? To get to the bottom of […]

The post Products with missing attributes appeared first on Kaya Consulting.


Dynamics 365 for Operations - Troubleshooting HTTP 500 HttpCompileException Error

$
0
0

Dear Friends,

Hope you had a great start to the New Year! :-)

I'm excited and pumped up as I unlearn and learn more about Dynamics 365 for Operations. Recently, on one of my D365 Dev VM, I encountered the below HTTP 500 error after a successful VS Build.

No longer, I was able to browse the url. 

Error:

Troubleshooting:

Initially, I thought it was related to my custom model, so I deleted that from the packages directory, did an iisreset, stopped and started D365 services, SQL Services, restarted the whole box, but no luck.


Event Log Details:

Next, I dig a little bit into the event log, to find more about the errors logged there and i found this below message log - error CS1002 expected;




Next, I opened the cs file in VS and found for some reason the opening brace in Application_PreSendRequestHeaders was commented which was just weird, Don't know how it could have happened. 

Fix was to remove the comment and then save the Global.asax.cs file and that got me back to business.




Happy Operating D 365 :-) Have fun.

Error al compilar Dynamics 365 for Operations Update 3

$
0
0

Si estáis trabajando con la primera versión de Dynamics 365 for Operations Update 3, al intentar compilar nuestro aplicativo vía Visual Studio Online nos encontraremos con el siguiente error:

2016-11-09T16:38:25.5277020Z VERBOSE: 4:38:25 PM: – Backup completed with RoboCopy exit code: 1.
2016-11-09T16:38:45.0277150Z VERBOSE: 4:38:45 PM: – Backup contains 5267623892 bytes in 193683 files:
2016-11-09T16:38:45.0277150Z I:\DynamicsBackup\Packages
2016-11-09T16:38:45.0277150Z WARNING: 4:38:45 PM: – Backup size does not match deployment metadata size
2016-11-09T16:38:45.0277150Z (Backup: 5267623892 bytes, Deployment metadata: 5267031092 bytes).
2016-11-09T16:38:45.0589660Z VERBOSE: 4:38:45 PM: – Exception thrown at
2016-11-09T16:38:45.0589660Z C:\DynamicsSDK\PrepareForBuild.ps1:261: throw “Failed to create backup of
2016-11-09T16:38:45.0589660Z metadata packages.”
2016-11-09T16:38:45.0589660Z
2016-11-09T16:38:45.0589660Z System.Management.Automation.RuntimeException: Failed to create backup of
2016-11-09T16:38:45.0589660Z metadata packages.
2016-11-09T16:38:45.1527190Z ##[error]Write-Message : 4:38:45 PM: Error preparing build environment: Failed to
create backup of metadata packages
.

Siendo totalmente imposible compilar nuestro aplicativo.
Siempre que intentamos programar la compilación nos encontramos que el script de realizar el backup de nuestro código falla, dando un tamaño diferente entre origen y destino.

Esto es debido a un error en el script de copia, donde el script de Powershell al copiar la carpeta J:\AosService\PackagesLocalDirectory para hacer un backup, está copiando el contenido de un Symlink en lugar del link

Podéis encontrar más información en el siguiente link de lcs https://fix.lcs.dynamics.com/Issue/Resolved/?kb=3205627

Para arreglar el problema, podemos instalar el hotfix facilitado por Microsoft o agregar nostros el parámetro /SL en el script de copia, para ello nos conectaremos por terminal server a nuestro servidor y buscaremos la siguiente ruta: c:\DynamicsSDK el archivo PrepareForBuild.ps1

error_mail

Editamos el fichero y agregamos el parámetro /SL en la siguiente sentencia:

$Output = & RoboCopy $DeploymentPackagesPath $BackupPath /MIR /COPYALL /E /R:3 /W:10 /NFL /NDL /NS /NC /NP /SL /LOG:”$RoboCopyLog”

error_mail

Naming convention for Customization Dynamics 365 for operations.

$
0
0

Following are some recommendation.

  • Using Camel casing.  Variable name must be in camel Case for example table buffer for CustTable must be similar custTable.
  • Avoid keyword. Avoid system keywords.
  • Company name of  Prefix with company name or project,  For example if my company name with Al then all custom table, Custom form, Extended data Type, enum must be start with al suppose.  AlFileInstallmentSchedule, AlCustTable. table.
  • Maintaining consistency, throughout the customization prefix used are consistence, so elements are easily locate.

R is for Analytics: How Microsoft Dynamics ERP and CRM users can take advantage

$
0
0
Since July, when Power BI began to support R visuals in its reports and dashboards, it's become harder and harder to justify remaining ignorant of R. The so-called "lingua franca of data science" has thousands of scripts already written ...read more

Add multiple lines in Sales order using 'Add Products' Feature in AX 2012

A note on committed project costs

$
0
0
Project related expense invoices can be recorded in a number of different forms and journals, such as the Accounts Payable (AP) invoice journal, the project expense journal or the AP invoice workbench...(read more)

Authoring Best Practice checks that use XML based input

$
0
0
In AX7 you can pretty easily write and deploy your own Best Practice checks. The process of doing so is described in this article on the wiki.

Some of the standard Best Practice checks use XML files as input. These XML files are found under your local packages folder, in ..\PackagesLocalDirectory\Bin\BPExtensions\RuleXml

The following is an example of how you can write your own Best Practice check that uses an XML file as input. The check itself is used to check the naming of table extensions. We want to check that a certain prefix is part of the name, and that it is put in the correct place in the overall name. The prefix to look for is specified in the XML file.

The XML file looks like this:
The file is stored in ..\PackagesLocalDirectory\Bin\BPExtensions\RuleXml and the name is MVPProductPrefix.xml. The name is important, as a reference is made to it from the code.


Your Best Practice class needs to extend either DetectorWithXMLDataFile or MetadataDetectorWithXMLDataFile depending on the type of your check. In this case we extend MetadataDetectorWithXMLDataFile since we will be looking at table extension names.

Included in your solution your need to add a data contract class for the XML file. This class must extend from RulePatternsBase.
The framework and the base classes will then do the rest of the work with loading the XML file, de-serialize it and caching it.

Here is the code:

And here is the code for the diagnostic item:

I'd like to thank Joris de Gruyter for helpful hints on how to solve this. And .NET Reflector has been a great tool to look into the standard Best Practice dll's to figure out how they work (Microsoft MVPs get a free license for .NET Reflector from Redgate).

Intro To (Azure) Machine Learning – Part 1

$
0
0

Intro

You don’t have to be working in the IT/CS these days in order for your ears (or eyes) to pick up the term Machine Learning (ML) or Data Science, since these are among the biggest tech trends nowadays. Machine Learning, being the subset of Artificial Intelligence (some of you might disagree with this) is a concept ubiquitous in our daily lives.

If you are using a Personal Assistant such as Cortana, Siri or Google Now– as soon as you wake up, you can get information such as which traffic route to take to work, based on previous trends and patterns in traffic, or if you’re using any of the Fitness Trackers – it can learn your sleeping habits and pick an ideal time for waking up. Fast-forward through the day – as you are surfing the web – big tech giants are collecting your information and by comparing your habits to other people and their interests – and it can target you surprisingly well with ads and recommendations that suit your needs. After long working day, in not so distant future, most of all us will have a large number of sensors laid out at home, sending data to Cloud in order for a ML system to pick up our evening routines and automate heating systems, lighting, and we’ll see what else. Or – if you are inpatient – take a look at I.T. (2016) movie :).

This is not something revolutionary new, we have these concepts around for quite some time now. And those are so omnipresent that the industry needs more and more people working with ML everyday to fulfill the business needs. But Machine Learning is hard. The field is still young, research papers are published daily and it’s a combination of Statistics and Probability, Mathematics and Computer Science for the most part. In order to start from scratch and understand the underpinning of various algorithms used, and optimize  them and scale effectively, you’ll need a scientific background and even probably a PhD in some of the quantitative fields.

Luckily, the ecosystem matures and we see a trend of democratization of Machine Learning and this is where Microsoft and their research team is brining a new way for developers and engineers without a ML background to take advantage of breakthroughs in the field. We’ll see how we can jump the train and be a part of the revolution brought by Microsoft and their Azure cloud platform.

Azure Machine Learning (ML for All)

Azure Machine Learning Studio is a GUI-based integrated development environment for constructing and operationalizing Machine Learning workflow on Azure.

Let’s go through the basic workflow of Azure ML:

https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-what-is-machine-learning

The basic cycle is as follows: Collect -> Analyze/Model -> Consume.

The first, and probably most time consuming step is to collect the data you need in order to train your model. We’ll talk more about this later, but the point is data is often unorganized, incomplete or even conflicting. Fortunately, Azure ML Studio has a large number of tools to help you with that. Once we get our data right in sense of magnitude and correctness, we need to select the proper algorithm for model training. There are both supervised and unsupervised algorithms available from the regression, classification, clustering and anomaly detection families. Finally, after you pick your algorithm you need to evaluate and test your model. Usually, you’ll split your collected data into training, validation and test sets which you will use to train and test your model, respectively. Again, Azure ML Studio gives you support for that, and we’ll see this in one of the coming blogs.

The final result is – you have your (hopefully) well trained model, which you can use to predict outputs based on inputs that were not in your original data set. And this is where Azure ML Studio really shines – with a couple of clicks you can add intelligence to your (mobile) apps, websites or provide insights in BI tools such as Power BI or Microsoft Excel. This is done by adding a web service which acts as an interface between your model and client apps – web service can be invoked with a single request-response model, or it can be batched.

Download full diagram here.

https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-studio-overview-diagram

Start Using Azure Machine Learning Studio

The only thing you need in order to use Azure Machine Learning Studio is a Microsoft account. You get:

  • Free access that never expires
  • 10 GB storage
  • R and Python scripts support
  • Predictive web services

What will follow

So, go ahead and create an account on https://studio.azureml.net, and the next blog will follow with end to end instructions how can we create and integrate data intelligence in our client apps. Stay tuned!

The post Intro To (Azure) Machine Learning – Part 1 appeared first on Merit Solutions.

Microsoft Dynamics Partner Roundup: Cost model for cloud; New Sikich CEO; Inventory management for CRM

$
0
0
In this week's Microsoft Dynamics Partner News Roundup: Chris Geier Becomes Managing Partner and CEO of Sikich LLP Biztech Launches Inventory Manager for Microsoft Dynamics CRM Cost Model Speeds Microsoft Azure and Dynamics Cloud ...read more

Various operation During Build process in Dynamics 365 for Operations.

$
0
0

During project build process following operations are performing. All these operations are one by one after each other.

  1. Metadata and X++ code validation.
  2. Best practice checks.
  3. Report RDL Generation
  4. Compilation and creating .Net assembly.
  5. Label and resource file generation.
  6. Database Synchronization.

 

Microsoft Dynamics Webcasts, January 9-14, 2017: B2B e-commerce for modern buyers; Costing in Dynamics AX & 365

$
0
0
Here's what's happening on this week's live webcast schedule. Register to attend live or get access to the recorded event. Tuesday, January 10, 2017 B2B E-Commerce for Dynamics ERP: Reaching the New Professional Buyer Online ...read more

Automatic Clean Up of Alerts

$
0
0
Alerts in AX can be a beautiful thing, but sometimes unused alerts can be ignored and build up in the system's EventInbox, causing issues and system latency if it gets too out of hand. You might have a problem when you are looking at someone's PC and they have 14,236 unread alerts in AX. Do not fear though! There is always an answer to these types problems and I have come across a beauty that I am going to share.

Alerts are something that your System Administrator should be cleaning up on a regular basis in System administration > Periodic > Notification clean up. This opens a notification clean-up tool that will clean alerts from every user's alert inbox when it is run. 

An issue arises when the System Administrator goes to run the clean-up tool and if they clean it out as of right this minute, someone might miss an important alert. So the System Administrator has to set up some parameters of when it might be appropriate to clean up alerts and how far back they need to go. 

When I first started cleaning up alerts in my AX environment, I had a reminder in my calendar to clean up alerts every Friday and I would set it with the following parameter so that it would clean up alerts from three weeks prior and older. 

Screenshot of Notification Clean-up with parameters set: Alert created date and time <"12/19/16 01:00:00 pm"
Imagine I am running this today to clean up everything older than three weeks in EventInbox.

This was working pretty well until I stumbled upon this gem in MSDN and put it into place:


I set it to run as a recurring batch job every month on the last Friday of the month. It will clean up anything older than one month prior to the last batch job running and newer than two months. So, prior to setting this up, run a complete batch job to clean any old data out of the system, then set this up to run on the schedule you want. I now receive an alert that this was run on the last Friday of every month, and seeing this alert pop up makes me smile. 

This keeps my EventInbox clean and doesn't rely on me to be available when my calendar alert pops up reminding me to clean up alerts in AX. It's been a great tool to have and I am glad that I have this blog to be able to share this type of information with you! I hope you find this helpful as well. 

Upcoming Power BI Content packs and reports

$
0
0
Taking a quick glance at the roadmap for Dynamics 365 you can see hat there are a lot of focus on improving BI. Currently there are 6 new content packages on the drawing board and an improved Power BI...(read more)

When making a project adjustment you get an error ‘Account number for transaction type Ledger journal does not exist’

$
0
0

When making an adjustment for a Project Expense where you are changing a dimension you might encounter an error message that says

‘Account number for transaction type Ledger journal does not exist’

‘Posting has been cancelled’

once you post the adjustment

projectadjustment

If you receive this message, try to go to Project Management and Accounting\Setup\Posting\Default offset accounts for expenses and note if you have specified any account here. If it is not the case, enter an account for the desired combination and try to see if you can not do your adjustment posting now

offsetaccountprojexpense

 

 

 


New features for Microsoft Flow: New connectors and a profusion of templates

$
0
0
Microsoft UK on its Developer blog summarizes nicely several new features of Microsoft Flow. Flow enables setup of automated workflows between apps and services, in order to synchronize files, set up notifications, collect data and more. As ...read more

Dynamics 365 for Operations Payment Connector SDK vs AX 2012 Payment Services SDK

$
0
0

We have a couple blogs related to Dynamics Online Payment Services SDK for Dynamics AX 2012 that can be referenced:

AX for Retail: A Better Sample for EFT plug-in (Credit Card processing)

AX for Retail 2012: EFT (Credit Card Processing) Sample is Now Available

Dynamics 365 for Operations offers a MasterCard and VeriFone out of the box redistributed solution as part of Dynamics 365.

  • MasterCard payment solution:

-Card-Not-Present solution with Token and MasterCard Hosted Payment Page.
-Supports Accounts Receivable and Call Center sales orders, E-Commerce sales orders, POS customer orders for 13 markets (Australia, Canada, Denmark, France, Germany, Iceland, Ireland, Mexico, Netherlands, New Zealand, South Africa, United Kingdom, and United States)
-Mastercard owns IP and is responsible for servicing and Microsoft re-distribute
-Signup URL https://www.simplify.com/microsoft

  • Verifone payment solution:

-Card-Not-Present and Card-Present solution with E2E encryption, token and Hosted Payment Page.
-Supports Accounts Receivable and Call Center sales orders, E-Commerce sales orders, and POS customer orders, POS Cash & Carry for US Market with MX 925, 915 and e355.
-Verifone owns IP and is responsible for servicing and Microsoft re-distribute
-Signup URL:  http://lp.verifone.com/us/microsoft-dynamics/

Dynamics 365 for Operations Payment SDK sample connector is included in the Retail SDK folder:

RetailsSdk\Payments
RetailSdk\Externals
This is for generating a deployable package for the payment connector.

Dynamics 365 for Operations Payment related documentation:

  • Implementing a payment connector and payment device (white paper)

http://download.microsoft.com/download/4/D/7/4D7C6B05-0C23-4C6C-BA13-AB62ED08AA61/The Guide to Implementing Payment Connector and Payment Device.docx

  • Create a Windows installer for a payment connector

http://ax.help.dynamics.com/en/wiki/create-a-windows-installer-for-a-payment-connector

  •  Deploy a payment connector

https://ax.help.dynamics.com/en/wiki/deploy-payment-connector/

 

Retail return transactions cannot get the same cost of the original sales transactions

$
0
0

Scenario:
You may find sometimes, the retail return transactions (from EPOS or MPOS) cannot get the same cost price of the original sales. Normally, this is caused by the return statement is post in the same statement with the original sales.
Let’s use the below example.
We have an item ‘Test’ which is using moving average item model group. The default cost price maintained in the item master data is $20. The store tender Alex sell the item from POS on Dec 26 2016. Later on the same day, customer decide to return the item due to certain reasons. So, Alex make the return through POS later that day.
Then, at the end of the day posting, the sales and return transactions are post in the same statement. Let’s assume the cost of the item at the stamen posting time is $22.00. Now if you check the sales transactions, it uses $22.00 as the cost price, while the return price uses the default cost price $20.00.
Note: If there is no default cost price defined in item master data, the return cost price will be zero.
Reason:
Return transaction cannot be matched with the original sales transaction.
Resolution:
By resolving the scenario, you can install hotfix KB 3139018. After installing the hotfix, both sales and return transactions will use the running cost. Thus, if the sales and return transactions are post in one statement, they will get the same cost price.
Note: This hotfix only works for moving average not for other item model types.

Hitachi Solutions America Celebrates Retail Success

$
0
0
A number of recent retail industry wins and go lives coupled with a retail webinar series position Hitachi Solutions America as a leading software provider in the industry. IRVINE, Calif. — January 9,...(read more)

Microsoft Dynamics 365 licencing made simple

$
0
0
Microsoft lays out the licencing for Dynamics 365 in a labyrinthine 191-page document and several supplementary documents. By analysing and cross-referencing these various documents we are able to provide...(read more)
Viewing all 10657 articles
Browse latest View live


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