Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.
The following steps explain how a user in the System Administrator or Electronic Reporting Developer role can select data sources for an Electronic reporting (ER) data model. Bind the data sources to individual components of the selected data model at design time. The data sources populate business data to that data model at runtime. In this example, you select data sources for an existing data model created for the sample company Litware, Inc.
Open the Electronic Reporting configurations tree
- Go to Organization administration > Workspaces > Electronic reporting.
- Select Reporting configurations.
Insert a new model mapping
- In the tree, select Payments (simplified model).
- Select Designer.
- Select Map model to datasource.
- Select New.
- This action creates a new record that maps the data model to data sources. In this example, you map the data model to data sources for the desired payment type: credit transfer. You can design more than one mapping for a particular data model. For example, you could create a mapping for different types of payments, such as for direct debit or for credit transfers. In this example, you create a mapping for credit transfers.
- In the Name field, type CT mapping.
- In the Description field, type Payment model mapping CT.
- In the Definition field, type CustomerCreditTransferInitiation.
- Resolve changes the Definition.
- Select Save.
Define required data sources for the current model mapping
- Select Designer.
- In the tree view, select Dynamics 365 for Operations\Table records.
- Select Add root.
- Enter this data source to access payment transactions.
- In the Name field, type Transactions.
- In the Label field, enter Transactions.
- In the Help field, enter Ledger journal lines.
- In the Ask for query field, select Yes.
- In the Table field, type LedgerJournalTrans.
- Select OK.
- Select the LedgerJournalTrans table as a data source for the current data model.
- In the tree view, select Functions\Calculated field.
- Select Add to add a new calculated field.
- In the Name field, type $EndToEndID.
- Select Edit formula.
- In the tree view, select String\CONCATENATE.
- Select Add function.
- In the tree view, expand Transactions.
- In the tree view, select Transactions\Voucher.
- Select Add data source.
- In the Formula field, enter CONCATENATE(Transactions.Voucher, "-",.
- Type
, "-",at the end of the formula.
- Type
- In the tree view, select String\TEXT.
- Select Add function.
- In the tree view, select Transactions\Record-ID(RecId).
- Select Add data source.
- In the Formula field, enter CONCATENATE(Transactions.Voucher, "-", TEXT(Transactions.RecId)).
- Type
))at the end of the formula.
- Type
- Select Save.
- Make sure that no errors exist for the created formula. See the ERRORS tab below the formula editor control.
- Close the page.
- Select OK.
- Add the calculated field to this data source.
- Select Add to add a new calculated field.
- In the Name field, type $Amount.
- Select Edit formula.
- In the tree view, expand Transactions.
- In the tree view, select Transactions\Debit(AmountCurDebit).
- Select Add data source.
- In the Formula field, enter Transactions.AmountCurDebit -.
- Type
-at the end of the formula.
- Type
- In the tree view, select Transactions\Credit(AmountCurCredit).
- Select Add data source.
- Select Save.
- Close the page.
- Select OK.
- This step adds the $Amount calculated field to the selected data source for the current data model.
- In the tree view, select Transactions$Amount.
- In the tree view, expand Transactions.
- In the tree view, expand or collapse Transactions$Amount.
- In the tree view, expand or collapse Transactions.
- In the tree view, select Dynamics 365 for Operations\Table records.
- Select Add root.
- Enter this data source to access the company's bank account details.
- In the Name field, type BankAccount.
- In the Label field, enter Bank Account.
- In the Help field, enter Bank Account.
- Select Yes in the Ask for query field.
- In the Table field, type BankAccountTable.
- Select OK.
- Select the BankAccountTable table as a data source for the current data model.
- Select Add root.
- Enter this data source to access the company's requisites.
- In the Name field, type Company.
- In the Label field, type a value.
- In the Help field, enter Company information.
- Select Yes in the Ask for query field.
- In the Table field, type CompanyInfo.
- Select OK.
- Select the CompanyInfo table as a data source for the current data model.
- In the tree view, select Functions\Calculated field.
- Select Add root.
- Insert a calculated field as a new data source.
- In the Name field, type ProcessingDateTime.
- In the Label field, enter Processing date & time.
- Select Edit formula.
- In the tree, select
Date/time\SESSIONNOW. - Select Add function.
- Select Save.
- Close the page.
- Select OK.
- Add the ProcessingDateTime calculated field as a data source for the current data model.
- Select Save.
- Close the page.