Open in Excel In Dynamics 365

 

 

Open in Excel experiences in Microsoft Dynamics facilitate transaction input in several places in Dynamics 365. Out-of-the-box, the Open in Excel templates are designed with the Main Account Dimension only, as it is the only Financial Dimension common to all customers.

In most cases, however, customers employ either native Dynamics 365 or custom Financial Dimensions that must also be input into Dynamics transactions.

Before we start, is your team looking for a Dynamics 365 managed services partner? For information on our 24/7 support contact us.

Open in Excel templates must, therefore, be customized to include Financial Dimensions other than Main Account. This customization must be partly done in development and partly in Dynamics 365. To date, Microsoft has provided very helpful information about the development part, but not so much about template modification in Dynamics 365.

 

Open in Excel In Dynamics 365

Open the native Dynamics 365 Open in Excel template from the location of the desired update. In this example, we will be using the one for General Journals.

Open in Excel In Dynamics 365

Click the Open Lines in Excel button on the ribbon, select the correct Template Name, then click OK.

Open in Excel In Dynamics 365

When the following pop-up appears, click the Open button.

Open in Excel In Dynamics 365

An Excel file will open. Click the Enable Editing button to make changes to the document.

Open in Excel In Dynamics 365

Depending on the security enabled, such as that from some Single Sign On software, you may have to sign in with your Dynamics credentials again to activate the Data Connector on the right side of the Excel document. After the Data Connector appears, click the Design button.

Open in Excel In Dynamics 365

Click the Pencil for the LedgerJournalLine Data Source.

Open in Excel In Dynamics 365

The following will appear.

Open in Excel In Dynamics 365

Select desired Available Fields from the list and add to the Selected Fields section using the Add button. You may select more than one Available Field at a time to add to the Selected Fields area by holding down the Control button while clicking your selections.

Open in Excel In Dynamics 365

Field values in the Selected Fields section may be ordered as needed by selecting them and using the up or down arrows to move them to the desired location(s).

Open in Excel In Dynamics 365

When all field values are in the correct order, click the Update button.

Open in Excel In Dynamics 365

The following pop-up will appear.

Open in Excel In Dynamics 365

Click Yes on the pop-up, then click Done on the Data Connector Design box.

Open in Excel In Dynamics 365

After you return to the Data Connector home page, click the Refresh button.

Open in Excel In Dynamics 365

The new fields you added will appear as new columns in the Excel template. If you would like to rename the field values, you may do so in the cell.

Open in Excel In Dynamics 365

After redesign of the template is complete, save the file using the original template name (LedgerJournalLineEntryTemplate in this example). Then, in Dynamics, go to Common > Common > Office Integration > Document Templates.

Open in Excel In Dynamics 365

Click the New button from the ribbon. The below will appear on the right side of the screen.

Open in Excel In Dynamics 365

Click the Browse button, locate the file to upload, and click the Open button.

Open in Excel In Dynamics 365

The file information will automatically transfer into the necessary fields in the Upload Template pop up. Click the OK button.

Open in Excel In Dynamics 365

Dynamics 365 will ask that you confirm your wish to replace the existing template file with the new one. Click Yes.

Open in Excel In Dynamics 365

The next time you access the General Journal Open in Excel experience, the revised template will appear.

Open in Excel In Dynamics 365

Though our sample has been specific to General Journals, the same steps apply to customization of other Open in Excel experiences in Dynamics 365. Some of those are the Budget Register Entry, Fixed Asset Journal Lines, and Vendor Invoice Journal templates. Template modifications made are globally effective in Dynamics; changes will appear across Legal Entities.

 

 

 

 

 

… and can be used for recording accounting transactions.

Open in Excel In Dynamics 365

 

(b) Create new journals
Using the general journal Excel add-in is nice. Yet, you might have noticed that all my Excel documents shown before had a link to an already existing general ledger journal. What I wanted to do though was creating new journals directly from Excel and not creating a journal in D365 that can be opened in Excel.

In the following, I will show you how creating new journals can be realized by making use of the Excel document template functionality. To make this exercise a bit more challenging, I decided to demonstrate the creation and posting of a new journal by ‘copying’ the lines from an already posted journal. For that reason, I selected one of the already posted journals and transferred all lines into my newly created template.

Open in Excel In Dynamics 365 Open in Excel In Dynamics 365

Once that export was done, I put my cursor into the header section and selected ‘New’ in the Office add-in data connector, which allowed me entering a new description and name that I could publish.

Open in Excel In Dynamics 365

As a result a new batch number became visible (00459)…

Open in Excel In Dynamics 365

… and a new journal was created in the D365 web client.

Open in Excel In Dynamics 365

Open in Excel In Dynamics 365There is no lookup available for the journal name. You thus have to know and enter the name before you can create a new journal through the Excel add-in.

Happy about what I have achieved so far, I continued my exercise by changing the existing lines that I could still identify in the template. Trying to publish those modified lines to my newly generated general ledger journal went, however, terribly wrong and I got many error messages. After a while, I noticed that something might be wrong with the journal line association. To check this, I added the journal batch number field into my template and noticed that the existing lines still had a relationship to the old and posted journal no. 00001.

Open in Excel In Dynamics 365

When I tried to overwrite those lines, I basically tried to tell D365 to delete already posted vouchers and replace them with some new ones. D365 did of course not allow me doing this and consequently generated the error messages. After becoming aware of this issue, I simply copied the existing lines from journal 00001 to the end of my template, entered the new journal batch number created (00459) and modified the posting date.

Open in Excel In Dynamics 365

Those changes finally allowed me uploading and posting my journal.

Open in Excel In Dynamics 365

I hope that this information and the experiences that I made are helpful for you and allow you circumventing those problems when using the document template in D365. Till next time.

上一篇:linux学习笔记(十):linux系统中的文件传输


下一篇:解决:Failed downloading url https://apache-mxnet.s3.cn-north-1.amazonaws.com.cn/ jupyter notebook/gluo