• 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.

    pic1-3

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

    pic2-4

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

    pic3-1-1

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

    pic4-1024x295

    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.

    pic5-1

    Click the Pencil for the LedgerJournalLine Data Source.

    picagain

    The following will appear.

    pic7

    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.

    picagain2

    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).

    picagain3

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

    picagain4

    The following pop-up will appear.

    picagain5

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

    picagain6

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

    picagain7

    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.

    picagain8

    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.

    picagain9

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

    picagain10-2

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

    picagain11

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

    picagain12

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

    picagain13

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

    picagain14

    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.

    image

    (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.

    image image

    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.

    image

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

    image

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

    image

    imageThere 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.

    image

    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.

    image

    Those changes finally allowed me uploading and posting my journal.

    image

    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.

  • 相关阅读:
    call和applay
    判断传入的参数是否包含空
    通过函数修改文件中指定字符串
    任一个英文的纯文本文件,统计其中的每个单词出现的个数(注意是每个单词)
    下载进度条实现
    Python 用户登录判断,数据结构-字典
    python 字符串(str)和列表(list)互相转换
    网络编程01
    OpenGL入门学习
    程序的音频输出
  • 原文地址:https://www.cnblogs.com/lingdanglfw/p/14753272.html
Copyright © 2020-2023  润新知