Author Archive

How to Set Up Azure DevOps Connection via Visual Studio in Dynamics 365 Finance and Operations Development Environment?

In this article, I will talk about what needs to be done after creating a new development environment. The first step is to log into Visual Studio. Then, I will explain how to connect to the Azure DevOps project. I intend to summarize the steps to be taken before starting development in a few articles.

In these installations, I will use the development environment we built on Azure. I explained how to deploy a development environment in my previous articles. Once the machine is deployed, you can download and connect Remote Desktop connection information via LCS. Currently Visual Studio 2015 comes installed, but there will be a migration to new versions of Visual Studio soon. Visual Studio must be opened with Run as administrator. For convenience, right click on Visual Studio and click Pin to taskbar.

Image-1

Right click on the Visual Studio icon in the task bar and click Properties

Image-2

Click Advanced from the screen that opens. Check Run as administrator and click OK. This eliminates the need to do this every time you open it. Also, if you forget this, some functions do not work, and you will waste time.

Image-3

We need to Sign in with an account authorized for Visual Studio.

Image-4

I use an account created for this project.

Image-5

Software developers like to use Dark themes, but I use the classic theme because I have difficulty reading on dark screen.

Image-6

If there is no problem with your user’s authorization, your login will be completed. Dynamics 365 menu is available. I will talk about the menus here in my next articles. Now open the Team Explorer screen.

Image-7

Open the connection page with the Manage Connections link.

Image-8

Nothing appears in the Select a Team Foundation Server section. The reason for this is that the user login I used to connect to Visual Studio is not authorized for the Azure DevOps project that we connect to LCS.

Image-9

Open the Azure DevOps project and invite the user to the project by clicking Invite.  Of course, you must log in with an authorized user in Azure DevOps. Since I have the information of the Admin account, I logged in with it.

Image-10

When I type my username from the search, it automatically appears. I select and add it.

Image-11

Also, since I want to have Admin rights in this project, I add my user to the Administrators section as shown in the picture.

Image-12

When I looked back to Visual Studio, I could see my project. To do this, you need to restart Visual Studio. Refreshing doesn’t work.

Image-13

When you click Connect, you will be connected to your Azure DevOps project. You will see the link under Visual Studio Team Services as shown below.

Image-14

In this article, I talked about the initial settings required for a new Devbox. First of all, it is very important to open Visual Studio with admin rights. It is often forgotten, so I explained how to make a definition to automate it. Then, we established the connection to our Azure DevOps project, which is required for the version control of our application. Now we can move on to the other settings. I will talk about Model, Package and Branch setups in my next articles.

Regards.

www.fatihdemirci.net

TAGs: Microsoft Life Cycle Services, LCS, Azure, Azure DevOps, Microsoft Dynamics 365, MsDyn365FO, MsDyn365CE, MsDyn365, Dynamics 365 Insights Power BI, Power Automate, Power Apps, Power Virtual Agents, what is Dynamics 365, Dynamics 365 ERP, Dynamics 365 CRM

X++ :5- Maps Nedir?

Bu yazıda Maps’lerden bahsedeceğim. Map ve Maps karıştırılır genelde ama tamamen farklı nesnelerdir. Maps temelde birbiriyle çok ortak yönü olan tablolar için ortak kod yazma imkânı sunan bir yapıdır. Çok uzun zamandır X++ ile geliştirme yapıyorum ama şimdiye kadar sıfırdan Maps oluşturmadım ama olan ve kullanılan Maps’lere yeni alanlar eklemem gerekti.

Resim-1

En Çok kullanılan Maps’ler genelde CustVend’lerdir. Mappings ile hangi tabloların bağlanacağı seçilir. Filed kısmında ortak alanlar belirlenir. Bu işlemler tamamlandıktan sonra artık buraya kod yazılabilir. Yazılan kod hem Cust hem de Vend için ortak kullanılır.

Resim-2

Data Model->Map ile yeni Map oluşturabilirsiniz.

Resim-3

Bu yazıda Maps’lerden bahsettim. Maps’leri hep nesne tabanlı yazılım geliştirmede işi biraz abartmak olarak gördüm. İşi basitleştirme ve kod çoğaltmamak için yapılan bir yapı ama birçok durumda işi daha zorlaştırıyor.

Selamlar.

www.fatihdemirci.net

TAGs: X++,Container, Azure, Azure DevOps, Microsoft Dynamics 365, MsDyn365FO, MsDyn365CE, MsDyn365

How to set up the Dynamics 365 Finance and Operations Help system?

In this article, I will explain how to set up and use the Help system for Dynamics 365 Finance and Operations. We usually perform this set up for test and live environments. I’ll show it on a test environment.

First, log into the test environment and open the System Management->Settings->System parameters screen.

Image-1

Open the help window. If you are opening it for the first time, a warning window appears and tells you to connect to the LCS project. If you have opened it before and you have not established the connection like me, you can choose it as follows. You may have more than one project, but it is useful to choose the project which you created this environment on.

Image-2

After selecting it, standard Task guide libraries will appear. You can add via LCS and choose from here. Select the LCS project for support as well.

Image-3

After these steps, the help setup is ready. Now you can click ? And open the help screen.

Image-4

If you are not in a form, a screen like the one below will open.

Image-5

Since our environment is in Turkish, help is displayed in Turkish. You can also set it to be displayed in different languages.

Image-6

If you open it from a form, related topics will appear. Since I opened the Help screen through the all customers form, the related topics were listed.

Image-7

In this article, I explained how to setup help. Help is a vast resource. It is useful to look into it. You can learn many details here. In addition, thanks to this setup you can create support requests. I will also talk about support requests in another article.

Regards.

www.fatihdemirci.net

TAGs: Microsoft Life Cycle Services, LCS, Azure, Azure DevOps, Help, Microsoft Dynamics 365, MsDyn365FO, MsDyn365CE, MsDyn365, Dynamics 365 Insights Power BI, Power Automate, Power Apss, Power Virtual Agents, what is Dynamics 365, Dynamics 365 ERP, Dynamics 365 CRM

X++ :4- Map Nedir?

Map bir veri yapısı aslında Set’lere benzer bir yapısı var. Bir anahtar ve bir değerden oluşuyor. Uygulamada çok fazla kullanılıyor. Bir örnekle açıklığa kavuşturalım.

Bir Job oluşturuyorum.

Resim-1

Yeni bir değişken oluşturup key ve value tiplerini belirlemek lazım.

class FDMap

{

public static void main(Args _args)

{

Map             map = new Map(Types::Integer, Types::String);

MapEnumerator   mapEnumerator;

map.insert(1, “M001″);

map.insert(2, “M002″);

map.insert(3, “M003″);

map.insert(4, “M004″);

mapEnumerator = map.getEnumerator();

while (mapEnumerator.moveNext())

{

info(strFmt(“Key: %1, Value: %2″,mapEnumerator.currentKey(), mapEnumerator.currentValue()));

}

info(strFmt(“Key: 3, Value: %1″,map.exists(3) ? map.lookup(3) : “not found” ));

map.insert(3, “M023″);

info(strFmt(“Key: 3, Value: %1″,map.exists(3) ? map.lookup(3) : “not found” ));

}

}

Job çıktısı böyle olacaktır.

Resim-2

Bu yazıda Map sınıfının kullanımıyla ilgili bir örnek yaptım. Özellikle küçük ve boyutu belli olmayan veriler için kullanılır. Çok büyük verileri tutmak için uygun değildir.

Selamlar.

www.fatihdemirci.net

TAGs: X++,Container, Azure, Azure DevOps, Microsoft Dynamics 365, MsDyn365FO, MsDyn365CE, MsDyn365

How to Create a Dynamics 365 Finance and Operations Support Case?

In this article, I will show you how you can open a support case via Dynamics 365 Finance and Operations and access automatically-generated support records via LCS and Azure DevOps.

First, some basic setups need to be made. In my previous articles, I explained how to setup Help. If you follow the setups there, you can create a support case without having to do anything else. When you click the question mark and click Support, if you have not installed, the LCS connection screen will appear.

Image-1

You can click the link and establish the connection. It will be connected without entering any information here.

Image-2

When the connection is successful, the following screen will appear. You can now create a support case.

Image-3

Click on the question mark again and click Support.

Image-4

On the screen that opens, you can enter many details about your support case. First, enter the title and description of the issue.  You can create a task record and add it here. If there is a file log, you can add it. You can indicate if the issue prevents you from working. The more details provided here, the easier the solution will be.

Image-5

For Send to be active, you have to click Yes for the email notification. Then, when you click Send, the following screen will appear.

Image-6

The support case you created will be sent as follows.

Image-7

To view the support request you created on LCS, open your project and click Support.

Image-8

The support case you created appears in the support issues section. You can follow the actions from here. Also, a Work Item has been created in Azure DevOps. You can open Azure DevOps Work Item record by clicking directly on the support case name.

Image-9

You can also see the support case you created in Azure DevOps. From here, you can follow the necessary steps to solve it.

In this article, I tried to explain how to enter a new support case and view it via LCS and Azure DevOps. Support has always been a painful process for business applications. It’s not easy to get users who just take a screenshot of the error and post it to enter detailed support cases. However, this mechanism will reduce the IT workload and make it easier to track. For this reason, it’s best to encourage business units to use this place. For example, support cases entered here can be prioritized and resolved quickly.

Regards.

www.fatihdemirci.net

TAGs: Microsoft Life Cycle Services, LCS, Azure, Azure DevOps, Support Case, Microsoft Dynamics 365, MsDyn365FO, MsDyn365CE, MsDyn365, Dynamics 365 Insights Power BI, Power Automate, Power Apps, Power Virtual Agents, what is Dynamics 365, Dynamics 365 ERP, Dynamics 365 CRM

X++ :2- Base Enums Nedir?

X ++ sabitleri desteklemez ancak sabit değerlerin bir listesi olan numaralandırılabilir bir tür olan Base Enum sahiptir. Enum değerleri tabloda tamsayı olarak tutulur. İlk element 0 rakamı, bir sonraki 1 ve sırayla devam eder. Standart uygulamada yüzlerce Enum vardır. Örneğin, NoYes gibi. Şimdi bir örnek oluşturalım.

Resim-1

MonthsOfYear Enum için en iyi örneklerden birdir.

Resim-2

Şimdi kendi örneğimizi oluşturalım.

Resim-3

Kitap kapak tipi adında bir Enum oluşturdum. 3 tane Element ekleyeceğim.

Resim-4

Element eklerken İlk elementi None bırakmak genel yaklaşım. Değeri sıfır olduğu için varsayılan olarak geliyor. Elementlerin adı değeri ve etiketi en önemli özellikleridir.

Resim-5

Karton kapak elementi ekliyoruz.

Resim-6

Bu yazıda Enum nedir ve nasıl kullanılır anlatmaya çalıştım. Veri yönetimi acısından çok önemli bir araç. Kodda kullanımı çok fazla olan bir özelliktir. En çok düşülen ikilem ne zaman tablo ne zaman Enum yapmak gerektiğidir. Burada İki şeyden bahsedebilirim. Eğer değerler herhangi bir şekilde ayrılması gerekiyorsa veya son kullanıcı tarafından tanımlanması gereken bir veriyse tablo olmalıdır. Kodda değerlere göre kod yazılacaksa Enum olmalıdır.

Selamlar.

www.fatihdemirci.net

TAGs: X++, Base Enum, Microsoft Dynamics 365, MsDyn365FO, MsDyn365CE, MsDyn365, Dynamics 365 nedir, Dynamics 365 ERP, Dynamics 365 CRM

How to make new mobile forms on Dynamics 365 Finance and Operations web forms?

In this article, I will try to explain how to generate new mobile forms from Dynamics 365 Finance and Operations forms. In my previous article, I explained how to publish standard mobile screens and how to install Dynamics 365 Mobile App on mobile devices.

In this example, we will make a very simple listing screen. I selected the all products form as an example. Open the Product information managment -> All products and product master form.

Image-1

Click on the Mobile app from the settings icon.

Image-2

Click the ellipsis icon from the form that opens and click Create.

Image-3

Enter the information of the mobile form you want to create. Then add a page by clicking Add page.

Image-4

When you click Done, the page creation screen opens.  Here, click Select fields to open the screen where you can select the fields you want.

Image-5

Select the fields by clicking the + icons.

Image-6

I added two fields. After finishing the process, click Back and return to the first page.

Image-7

You see the page you created on this screen. You can create multiple pages.  Continue the process by clicking Done.

Image-8

Id is created here. Complete your mobile worksheet by clicking Save.

Image-9

You can now see it in the list. Publish it by clicking Publish. You will now be able to see the product list form from the application on your phone.

Image-10

Open the application on your phone and log in.

Image-11

Check I understand and tap Connect.

Image-12

My Products appears on the page that opens. If you entered before, you need to refresh.

Image-13

Once you enter, you see the list form you created.

Image-14

When you click and enter, your products are listed. We added two fields, and they are one under the other.

Image-15

In this article, I tried to explain how you can create mobile forms from any form. I exemplified it with a very simple form, but you can do it with forms with more complex data entries. I will also refer to more advanced examples in my next articles. Preparing such easy mobile forms will be very useful in projects. Thanks to this, many simple needs can be solved at no cost. Application consultants should learn the capabilities of this thoroughly and direct the emerging needs to this.

Regards.

www.fatihdemirci.net

TAGs: Microsoft Life Cycle Services, LCS, Azure, Azure DevOps, Mobile app, Microsoft Dynamics 365, MsDyn365FO, MsDyn365CE, MsDyn365, Dynamics 365 Insights Power BI, Power Automate, Power Apps, Power Virtual Agents, what is Dynamics 365, Dynamics 365 ERP, Dynamics 365 CRM

X++ :3- Container Nedir?

X ++ Temel veri tiplerinden biri olan Container farklı tipteki verileri içinde barındırabilir. Tablolara açılan alanlar Container tipinde olabilir. Birçok fonksiyon ile veri yüklenip alınabilir. Özellikle farklı tipteki verileri bir yere göndermek ve çekmek için kullanılır.

Yeni bir Job oluşturup bir örnek kod yazalım.

Resim-1

class FDContainer

{

public static void main(Args _args)

{

int             number1;

str             name;

AccountNum      AccountNum;

CustTable       custTable, custTable2;

container       c;

Gender          gender;

utcDateTime     dateTime;

;

name        = “Fatih Demirci”; // Değişken ataması

custTable   = custTable::find(“M000017″);// Değişken ataması

c = conins(c, 1, name); // Contianer Insert işlemi

c = conins(c, 2, custTable);

c = conins(c, 3, 12321);

[name,  custtable, number1] = c; // Container’daki değerleri değişkenlere alma.

c = ["fatih", 12, custtable, Gender::Male]; // Tek seferde çoklu değişken atama

dateTime = dateTimeUtil::newDateTime(systemdateget(), timeNow());

name        = conpeek(c, 1); // tek bir değişken seçme

custTable   = conpeek(c, 3);

c           = conins(c, 4, dateTime);

info(“OK”);

}

}

Bu yazıda Container’ı size tanıtmaya çalıştım. Çok kullanışlı bir veri tipi çok sık kullanıldığını göreceksiniz. Bende bunu basit işler için kullanıyorum. Çok büyük veriler için uygun bir yapı değil. Dizi gibi düşünün.

Selamlar.

www.fatihdemirci.net

TAGs: X++,Container, Azure, Azure DevOps, Microsoft Dynamics 365, MsDyn365FO, MsDyn365CE, MsDyn365

Ekibimiz için Full-Stack developer takım arkadaşı arıyoruz

Asp.net Core, Azure Cloud, React, SQL teknolojilerine hakim aşağıdaki niteliklere sahip takım arkadaşları arıyoruz.
Tercihen üniversitelerin ilgili bölümlerinden mezun, benzer pozisyonda en az 2 yıllık iş deneyimine sahip,
Object Oriented programlama (OOP) konusuna ve çok katmanlı mimarilere hakim, Solid prensiplerini benimsemiş,
Veri yapıları, algoritmalar ve tasarım kalıpları (Design Patterns) konusunda deneyimli,
Web tabanlı uygulama geliştirme tecrübesi bulunan,
C# ve ASP.NET Core MVC konusunda tecrübeli,
Rest Full, Entity Framework gibi teknolojilere hakim,
React, Mobx, Es6, Javascript , konularında bilgi sahibi,
Functional programming ve reactive programming konularında bilgi sahibi,
Material Design standartları konusunda deneyim sahibi,
İyi derece MS SQL bilgisi olan olan, NOSQL (Elastic Search, Azure Search, Raven Db vb..) konusunda bilgi sahibi,
Tercihen İngilizce bilen,
Takım çalışması için uyumlu, bireysel başarısı kadar takımının başarısını da önemseyen,
Askerlik görevini tamamlamış veya en az 2 yıl tecilli,
Full Stack Developer arıyoruz.

İlgilenenler benimle iletişime geçebilirler.

How to set up Azure Connector for Lifecycle Services?

In this article, I will try to explain how to set up the Azure connection required to Deploy Dynamics 365 For Finance and Operations via Lifecycle Services. First, open your project from Lifecycle Services. Under Environments, click on Microsoft Azure settings.

Image-1

Your Azure Connectors will appear from the Azure connectors tab, if any. Since I have an available connection for this environment, it appears on the list. When you check here again after completing these steps, the connection should be established.  You can start adding a new link by clicking the + Add button.

Image-2

In the window that opens, Name will be the name we gave for the link.  In the Azure subscription ID section, you must enter the code of the Azure membership we want to connect to. Tenant Domain information will automatically be available. You should mark Azure Rsource Manager(ARM) as Yes. Proceed to the next page by clicking Next.

Image-3

You must have given the Dynamics Deployment Services authorization that I mentioned in my previous article before this step. If you have, you will see the screen below. Proceed to the next page by clicking Next.

Image-4

Before continuing, you need to download the Management certificate and upload it to the Microsoft Azure Portal. You can leave this page open.

Image-5

Sign in to the Azure portal and choose the membership you want to connect with.

Image-6

Click on the Management certificates section and click the Upload button in the window that opens.

Image-7

Select the certificate you downloaded and install it.

Image-8

When you see this screen, it means the installation process is completed.

Image-9

You can return to the screen in Lifecycle Services and continue by clicking the Next button. After this stage, you can continue without any errors. 

Image-10

In the Azure region, you usually choose West Europe.

Image-11

After clicking the Connect button, you should see an item like the one below in your Azure Connection list. At this point, the connection is complete.

Image-12

In this article, I tried to explain how to set up Azure connection through Lifecycle Services. Since Dynamics 365 is a structure running on Azure, it is necessary to have knowledge about many Azure issues. I plan to continue writing articles on these topics. I hope it is useful for you.

Regards.

www.fatihdemirci.net

TAGs: Lifecycle Services, LCS, Azure, Azure DevOps, Dynamics 365, MsDyn365FO, MsDyn365CE, MsDyn365, Dynamics 365 Insights, what is Dynamics 365, Dynamics 365 ERP, Dynamics 365 CRM, Azure Connections