ER Design a configuration for generating reports in OPENXML format (November 2016)
This article explains how a user in the System Administrator or Electronic Reporting Developer role can create a new Electronic reporting (ER) configuration that contains a template for generating electronic documents in OPENXML format. This configuration will be used for processing vendor payments.
In this example, you will create a configuration for sample company, Litware, Inc. These steps can be performed in GBSI company.
To complete these steps, you must first complete the steps in the "Create a configuration provider and mark it as active" procedure. You must also have an Excel file which will be imported when creating the template. This file can be accessed from the Template of Payment Report.
Upload the Payments data model configuration
- In the navigation pane, go to Modules > Organization administration > Workspaces > Electronic reporting.
- In the list, mark the configuration provider for sample company, Litware, Inc. If you don't see this configuration provider, you must first complete the steps in Create configuration providers and mark them as active.
- Select Set active.
- Select Repositories. Select a repository for the Operations Resources type, if available. If its available, skip the following steps about creating a new repository.
- Select Add to open the drop dialog.
- In the Configuration repository type field, enter
Operations resourcesdd
. - Select Create repository.
- Select OK.
- Select Open.
- In the tree, select Payment model.
- Select Import. Import this data model. It will be used as a data source in a new format configuration. Skip this step if this configuration has been already imported.
- Select Yes.
- Close the pages until you return to the Electronic reporting page.
Create a new format configuration
- Select Reporting configurations.
- In the tree, select Payment model.
- Select Create configuration to open the drop dialog.
- In the New field, enter
Format based on data model PaymentModel
. Create a format that is based on the PaymentModel data model. - In the Name field, type
Sample worksheet report
. Sample worksheet report - In the Description field, type
Sample worksheet report for vendors' payments
. Sample worksheet report for vendors' payments. - In the Data model definition field, enter or select a value. Select the CustomerCreditTransferInitiation definition.
- Select Create configuration.
Design a new document in OPENXML worksheet format
- In the tree, select Payment model\Sample worksheet report.
- Select Designer.
- On the Action Pane, select Import.
- Select Import from Excel.
- Select Attachments. Attach the existing Excel document as a template.
- Select New.
- Select File. Point to the existing Excel file.
- Close the page.
- In the Template field, enter or select a value. Select the attached Excel file to be used as a template.
- Select OK. Note that ER format components have been created in the designing format based on the structure of the referring MS Excel document (named ranges).
Create a new data source to calculate totals by currency codes
- Select the Mapping tab.
- Select Add root to open the drop dialog.
- In the tree, select Functions\Group by.
- In the Name field, type
PaymentByCurrency
. - Select Edit group by.
- In the tree, expand model, then select model\Payments.
- Select Add field to.
- Select What to group.
- In the tree, expand model\Payments, then select model\Payments\Currency.
- Select Add field to.
- Select Grouped fields.
- In the tree, select model\Payments\Instructed Amount(InstructedAmount).
- Select Add field to, then select Aggregation fields.
- In the Method field, select an option. Select the SUM aggregation function.
- In the Name field, type
TotalInstructuredAmount
. - Select Save.
- Close the page.
- Select OK.
Map format components to data sources
- In the tree, select model\Payments\Initiating Party(InitiatingParty)\Name and Excel\ReportHeader\CompanyName.
- Select Bind.
- In the tree, select model\Payments\Creditor\Identification\Source ID(SourceID) and Excel\PaymLines\VendAccountName.
- Select Bind.
- In the tree, select model\Payments\Creditor\Name and Excel\PaymLines\VendName.
- Select Bind.
- In the tree, select model\Payments\Creditor Agent(CreditorAgent)\Name and Excel\PaymLines\Bank.
- Select Bind.
- In the tree, select model\Payments\Creditor Agent(CreditorAgent)\Routing Number(RoutingNumber) and Excel\PaymLines\RoutingNumber.
- Select Bind.
- In the tree, select model\Payments\Creditor Account(CreditorAccount)\Identification\Number and Excel\PaymLines\AccountNumber.
- Select Bind.
- In the tree, select model\Payments\Instructed Amount(InstructedAmount) and Excel\PaymLines\Debit.
- Select Bind.
- In the tree, select model\Payments\Currency and Excel\PaymLines\Currency.
- Select Bind.
- In the tree, select PaymentByCurrency\grouped\Currency and Excel\SummaryLines\SummaryCurrency.
- Select Bind.
- In the tree, select PaymentByCurrency\aggregated\TotalInstructuredAmount and Excel\SummaryLines\SummaryAmount.
- Select Bind.
- In the tree, select PaymentByCurrency and Excel\SummaryLines.
- Select Bind.
- In the tree, select model\Payments and Excel\PaymLines.
- Select Bind.
- Select Save, then close the page.
Use the created configuration for payments processing
- Select Change status.
- Select Complete.
- Select OK.
- In the navigation pane, go to Modules > Accounts payable > Payment setup > Methods of payment.
- Use the Quick Filter to filter on the Method of payment field with a value of Electronic.
- Select Edit.
- Expand the File formats section.
- Select Yes in the Generic electronic reporting field.
- In the Export format configuration field, enter or select a value. Select the Sample worksheet report configuration.
- Select Save.
- Close the page.
Use the created configuration for testing of payment journals processing
- In the navigation pane, go to Modules > Accounts payable > Payments > Payment journal.
- Select New to create a new payment journal.
- In the Name field, type VendPay.
- Select Lines.
- In the Account field, specify the values
GB_SI_000001
. - Set Debit to
1000
. - Select New.
- In the Account field, specify the values
GB_SI_000005
. - Set Debit to
2000
. - In the Currency field, type
EUR
. - In the Offset account field, specify the values
GBSI OPER
. - In the Method of payment field, type
Electronic
. - Select Save.
- Select Generate payments.
- In the Method of payment field, type
Electronic
. - In the File name field, type
Payments
. - In the Bank account field, type
GBSI OPER
. - Select OK, then select OK again. Review the created worksheet, including details of payment lines as well as totals for each currency code used in this payment message.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for