Blog Archives - Page 71 of 151 - - Page 71

Category Archives: Blog

Setting Ribbon Icons on the Unified Interface in D365

So, since adoption of Unified Interface is growing, people are asking – “What happened to the Ribbon icons?”. Well, a simple answer to this is tweaking the implementation a little. Typically, you have custom icons on your classic Web UI that look like this – But the same looks like a puzzle piece in the Unified Interface – So, here’s what you need to do. Icons on the Unified Interface take SVG format. You’ll need to take you existing PNG Web Resources   Creating SVG Icons Like most online services or applications, you can easily convert images to SVG. In this example, I’m using this online tool – https://www.online-convert.com/ Or you can try this too which I found quite a few people recommended – https://www.syncfusion.com/downloads/metrostudio For this example, I used https://convertio.co/png-svg/ And I got my converted SVG document downloaded. Now, create a new Web Resource in SVG and Upload the same. Ribbon Workbench Once your Web Resource for the SVG format is set, going back to your Ribbon Workbench customization work space, go to the Button where you wan to update the icon and select the SVG Web Resource under Modern Image as shown below Publish Changes and See Once your customization are published, you can simply refresh and check that your image has been updated Note: An online converted might not give you an accurate image. However, it is best recommended to create SVGs on an app. I’ve heard recommendations about https://www.syncfusion.com/downloads/metrostudio Hope this helps!

Share Story :

Resolution to bulk import Time Entry issue of importing Cancelled Time Entries in PSA V3.X

Problem Definition: Post upgrading to V3 I faced issues while importing the time entries from my Resource bookings. This was not the case with V2. In V2 when I went to Import Time Entries from Resource Bookings, it used to pick up all the time entries that were in Active State. Resolution: The resolution to this was simple, but, little tricky. Below are the steps to be followed to get the issue resolved. Step 1: Go to the D365 – Custom App as shown in the below image. This will take you to the classic interface of D365 CRM as shown below. Step 2: Navigate to Settings à Customizations Step 3: Click on Customize the System This will open a screen as shown below. Step 4: Navigate to Entities- Bookable Resource Bookings – Views and open the view named Resource Bookings for Time Entries Import Step 5: Click on Edit Filter Criteria and add a condition Status  – Equals  –  Active These conditions ensure that only Active bookings are to be selected. Then click on OK and Save and Close. Finally, click on Publish All Customizations. Now when you try to import the time entries from Resource booking it will import only the Active time entries and leave behind the canceled time entries. This blog reflects my personal findings and based solely on my experience of using PSA for the last 3+ years. For those who are looking for a platform that can track and manage the entire procedures of sales and project management, I would highly recommend them to try Microsoft dynamics 365 for project service automation.

Share Story :

Review Data Imported From Excel To Configuration Package using Configuration Import Preview

Introduction: The Import from Excel on the Configuration Package page is used to import data from excel.  It can be used to even before a configuration package is created. To avoid confusion and unnecessary retries when using these actions, you can now use the Config. Package Import Preview page to get an overview of the Excel file content to be imported. The page opens when you choose the action and shows the list of configuration packages and tables, organized on different sheets, in the Excel file that you are trying to import. The page also explains if the Import from Excel action will create a new configuration package or update the existing one, and if the action will create new configuration package lines (tables) or update existing ones. Pre-Requisites: Microsoft Dynamics 365 Business Central Steps: To import the Purchase Order Data : Open the Config. Package Card page. Select the table for which you want to import data, and then, on the Tables tab, choose the Import from Excel action. 3. Locate and open the file that you want to import data from. 4. On the Config. Package Import Preview page, review the content that will be imported. The Config. Package Import Preview page provides an overview of the Excel file content to be imported. It also indicates if a new configuration package is created or the existing one is updated, and if new configuration package lines (tables) are created or existing ones are updated. Choose the Import Action. 5. A new Package is created on the List page and the data in the configuration package can be viewed by clicking on the package. Conclusion: Thus, this way the data from the Excel is now imported into configuration package and with the help of Configuration Package Review page the data that is imported can be reviewed and checked.

Share Story :

Workaround to XMLPort not supported in Business Central

Problem Statement: While I was working on some custom EFT project, I thought of using XMLPort as it is the safest and easiest method to get the data successfully directly from the tables. Unfortunately, XMLPort is not supported to work on WebClient and I was stuck with writing code to do exactly what XMLPort would do.Also, another issue that Business Central d extension support is using File methods i.e Open, Write, Close, etc.   Introduction: In Business Central even if you’re not given explicit rights to deal with files directly there are streams using which we can be downloaded as files. Enough of introduction, let’s start working now! Pre-requisites: VS Code AL Language Extension Microsoft Dynamics Business Central. Demonstration: 1. Creation of File Contents: In this case, I’ve simply text string ‘Hello World!’ Although it’s perfectly possible to create more complicated strings such as XML contents using a combination of loops and text manipulating functions as needed.     2. Creation of Streams: Using  TempBlob.Blob.CREATEOUTSTREAM(Var_OutStream) initialize the OutStream.       Using Var_OutStream.WriteText(Var_FileContent) write the text to the BLOB       Using TempBlob.Blob.CREATEINSTREAM(Var_InStream) read the contents of BLOB to InStream variable.   3. Downloading the contents of the Streams to a file: Using DownloadFromStream(Var_Instream,FileName.FileExtension) download the contents of the InStream to a file.     Output:   Conclusion: That’s exactly how I was able to create a Custom Text File and download it in Business Central. You can even try with any type of text-based exports.

Share Story :

Defining the Aternate Key with Lookup/Entity Reference

If you want to set the alternate key to detecting duplicate record based on lookup it was not earlier. If you want to have duplicated detection based on you would not be able to that you have to write a plugin to get that result. Description: You can now achieve a duplicate detection rule by defining the lookup as an alternate key. You can create an alternate key by following the below steps To define the alternate keys, go to Go to Settings> Customizations Choose Customize the System–>Components ->Entities –> Entity–>Keys. Choose New. 3. On the form, fill in the required fields (Display Name and Name) and then choose and add the fields to the key. Save the key. In the example shown here, we used the ParentId field in the alternate key definition. Conclusion Hope this helps while defining the alternate key with lookup/entity reference

Share Story :

How to Set up a null Value Using the Flow

Introduction Sometime there is requirement where we need to set a null value based on certain condition. We usually use script to set the null value this can be achieved using the workflow. Description: To set the null value of you need to create a new workflow. Follow the below steps. Go to setting —> Process 2. Create new work flow 3. Set clear value for field which is you want to set the null value as shown as below. 4. Set the value and save the work flow. Conclusion Hope this helps while setting null value using the flow.

Share Story :

Time Entry Adjustment in Journal with PSA V3.7

There is good news for people who were using Dynamics 365 Project Service Automation (PSA) with the latest update. Microsoft allows it’s users to make adjustments to time entry using the plain journal entry in the past. For example, if a user wants to adjust the time entry from one to three hours, they have to make a new journal entry for the three hours. But, the only problem is that you cannot track it against a particular time entry. Now, if you are using PSA V3.7, you can make the correction or adjustments on the existing time entries with ease. Here are the steps you need to follow: Problem definition: With the previous releases, PSA could allow adjustment of Time Entry hours via mere plain Journal entries. That means, if we need to adjust a couple of hours or adjust a time entry worth 4 hours, we needed to make a 4 hours journal entry, which could not be tracked against a Time entry. Problem Solution: With PSA V3.7 there is a Journal correction for Time Entries which can be done against a Time Entry done. How do we do it is shown in the below steps: Suppose we a do a Time entry of 1 hours for a Project and Submit it for approval as shown in the below screen shot. 2. Approve the same via Time Entries for approvals. 3. As soon as the time entries are approved, they get converted to Actuals. This can be validated by going to Project Contract – Select the appropriate Contract – Actuals. You will see there are 2 records that get created: 1.Cost 2.Unbilled Sales. 4. In order to get the same adjusted via Journals, go to Journal Entries, SalesàJournals and click on +New 5. Write the Description and select the Journal Type Equals “Time Correction” and Save the record. 6. Click on Browsers back button, Open the Record from Active Journal view and click on Time Entry Corrections Tab. 7.Fill in the fields: Project Project Task Time Entry Date Bookable Resource Resource Role 8. From the below grid select the Time Entry for which the correction is needed, by clicking on the Add Existing Time Entry and then select the time entry from the quick create form that opens and click on Add. 9. Post Step 7 and Step 8 is done, click on Preview Button from the Ribbon control as highlighted in the screen shot below. 10. It will highlight the Journal Lines Tab and show you the Journal Entries with negative values of the value of the time entry and there will be 4 records that can be seen. 2 with a positive value of the time entry and 2 with negative that is the Adjustment value. This is how we can do the adjustment of the time entry which indirectly creates a Journal entry against the time entry done. This blog reflects my personal findings and based solely on my experience of using PSA for last 3+ years. For those who are looking for a platform that can track and manage the entire procedures of sales and project managements, I would highly recommend them to try Microsoft dynamics 365 for project service automation.

Share Story :

Why blank locked fields won’t let you save the record – Quote ID example

So, I struggled some time in trying to make something just work as it was supposed to work. And for no conscious reason, I was able to figure out why. As to why my Quote wouldn’t save and auto generate the usual Quote ID? It kept asking me to enter it! Problem OOB, Quote ID is locked and is auto-generated when you save the record. Instead, I got this And asks me to enter Quote in the field again. Ideally, if you have a required field locked, you can save it and the form won’t force you. But, nothing would work. After much hassle, I finally noticed the culprit lying in plain sight. Let’s look at why this was happening. Culprit This happened because the same field was on the Business Process Flow and was unlocked That was the issue. As a part of the requirement, I had put it there, but either didn’t lock it or shouldn’t be there. I just removed it since it wasn’t a big deal and things were fine now. Hope this helps you! 🙂

Share Story :

How to enable Document ID in SharePoint Online

Introduction: As you know that SharePoint Online can be used as a document management platform and with the help of Document Id’s you can effectively manage your documents by providing an easy way to track irrespective of their location. Document Id’s are automatically assigned to the documents uploaded on document or record management platform. Before using the Document ID features for our document management system, you must enable it for each site collection in which your documents are located. You must be a Site Collection Administrator for enabling this feature in SPO. Activate, enable and configure Document ID’s: Go to the top-level Site collection > Site Settings. Under Site Collection Administration, click Site collection features. Next to Document ID, click Activate. Activate icon will appear once the feature is activated. Go back to the Site Settings page and under Site Collection Administration, select Document ID settings. You will have to assign a prefix for the Document ID’s and the prefix should be between 4 to 12 characters with no special character. If you want all the documents within the Site Collection, to be assigned with a Document ID with the specified prefix, check the box “Reset all Document ID’s” (See above image). Once this feature is enabled, any new document created or uploaded to any document library in this particular Site Collection received a unique Document ID. Document Id’s can be viewed from the document properties, these are the hyperlinks that you can copy and use it to open a document in Office. Moving and Copying a file with a Document ID: When you move a file in SharePoint Online, Document ID will move with the file. It basically depends on whether the service is enabled or not at the destination site. So, if the service is not enabled at that site then the document will no longer have the Document ID. When a copy of the document is made, a new Document ID is created for the copy and obviously, the service needs to be enabled at the site where you are copying the file.

Share Story :

Count Number of files in SharePoint folder

Introduction: This blog explains how to Count No of files in SharePoint folder using MS Flow. Steps to be followed: Select “Send an HTTP request to SharePoint” from Actions.  Enter below details:Site Address: Select the site address from the list. Method: GETUri: _api/web/GetFolderByServerRelativeUrl(‘LibraryTitle/foldername’)/ItemCountExample: _api/web/GetFolderByServerRelativeUrl(‘account/CFS Organization_584732FD1267E911A997000D3AA2C8D1‘)/ItemCount-> It will count the no of files in “CFS Organization_584732FD1267E911A997000D3AA2C8D1” folder. Output of above request:  Accessing value of ItemCount: Add Compose Action. Add below expression in Inputs: body(‘Send_an_HTTP_request_to_SharePoint_’)[‘d’][‘ItemCount’]

Share Story :

SEARCH BLOGS:

[gravityform id="36" ajax="true"]

FOLLOW CLOUDFRONTS BLOG :