Human Resources Archives - Monsieur Winner https://blog.monsieurwinner.com/category/human-resources/ MS D365FO || Monsieur D365FO Sun, 04 Jun 2023 16:30:56 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.2 https://i0.wp.com/blog.monsieurwinner.com/wp-content/uploads/2022/09/cropped-Winner-.png?fit=32%2C32&ssl=1 Human Resources Archives - Monsieur Winner https://blog.monsieurwinner.com/category/human-resources/ 32 32 209261758 Get employee year of service in D365FO – x++ https://blog.monsieurwinner.com/2023/06/04/get-employee-year-of-service-in-d365fo-x/ https://blog.monsieurwinner.com/2023/06/04/get-employee-year-of-service-in-d365fo-x/#respond Sun, 04 Jun 2023 16:28:14 +0000 https://blog.monsieurwinner.com/?p=614 Recently, I worked on an Integration which require employee to book loans and rent advance directly from D365FO and these

The post Get employee year of service in D365FO – x++ appeared first on Monsieur Winner.

]]>
Recently, I worked on an Integration which require employee to book loans and rent advance directly from D365FO and these requests hit the clients core banking application.

One of the requirement is the employee must have served a certain number of years to access these loans. This is actually shown on the employee details card as below:

 

To get the employee service duration via code, we do:

HcmWorker hcmWorker;
Hcmemployment hcmemployment;
real YearsOfSerrvice ;

      select hcmemployment where hcmemployment.Worker == hcmWorker.recid;
      YearsOfSerrvice = hcmemployment.yearsOfService();

Merci.

The post Get employee year of service in D365FO – x++ appeared first on Monsieur Winner.

]]>
https://blog.monsieurwinner.com/2023/06/04/get-employee-year-of-service-in-d365fo-x/feed/ 0 614
How to find table and field names on a form in D365FO https://blog.monsieurwinner.com/2022/10/01/how-to-find-table-and-field-names-on-a-form-in-d365fo/ https://blog.monsieurwinner.com/2022/10/01/how-to-find-table-and-field-names-on-a-form-in-d365fo/#respond Sat, 01 Oct 2022 12:49:05 +0000 https://blog.monsieurwinner.com/?p=529 Hello There! Today, let’s discuss : How to find table and field names on a form in D365FO. Business scenario.

The post How to find table and field names on a form in D365FO appeared first on Monsieur Winner.

]]>
Hello There!

Today, let’s discuss :

How to find table and field names on a form in D365FO.

Business scenario.

Dynamics 365 Finance and Operations is built around a single database that contains tables and fields. These fields and tables represents objects. We have names for these objects on the database. A developer can get these name using the development tool: Visual studio. These fields in contrast are displayed to user via labels. Having said that, labels are in mos cases different from the field names on the database.

As a consultants, users, there are instances where we need to get the name of fields without having to login into Visual studio. These fields names can be useful when importing data through the data management workspace or when setting up placeholders in workflow editors in D365FO.

 

Solution approach.

The good news is we can locate name of fields, tables, forms even some menu items right from the D365FO interface.

Let’s take the Global address book form as an example. As part of the fields, we have a fields labelled Party ID. To get the field name, we right click on the field then click on the form name as shown below.

 

 

 

 

 

 

The post How to find table and field names on a form in D365FO appeared first on Monsieur Winner.

]]>
https://blog.monsieurwinner.com/2022/10/01/how-to-find-table-and-field-names-on-a-form-in-d365fo/feed/ 0 529