ER Map data model to selected data sources
The following steps explain how a user in the System Administrator or Electronic Reporting Developer role can map an Electronic reporting (ER) data model to selected data sources. This model mapping will later be used as a data source in a format configuration that will be used to manage electronic payment documents. In this example, you map a data model for sample company, Litware, Inc. to data sources. To complete these steps, you must first complete the steps in the "Select data sources for model mapping" procedure.
Open ER configurations tree
- Go to Organization administration > Workspaces > Electronic reporting.
- Click Configurations.
Select created model mapping
- In the tree, select 'Payments (simplified model)'.
- Make sure that the model configuration "Payments (simplified model)" has been created in advance. Otherwise, stop now and return after completion of the task guide 'Create a new configuration with data model of the selected domain'.
- Click Model designer.
- Click Map model to datasource.
- Select the 'CT mapping' record.
- CT mapping
Bind created data sources to data model elements
- Click Designer.
- In the tree, select 'Processing date & time(ProcessingDateTime)'.
- In the tree, select 'Processing date(ProcessingDateTime)'.
- Click Bind.
- In the tree, select 'Payment message identification(MessageIdentification)'.
- In the tree, expand 'Transactions'.
- In the tree, select 'Transactions\Journal batch number(JournalNum)'.
- Click Bind.
- In the tree, select 'Payments'.
- In the tree, select 'Transactions'.
- Click Bind.
- In the tree, expand 'Payments= Transactions'.
- In the tree, expand 'Payments= Transactions\Creditor'.
- In the tree, expand 'Payments= Transactions\Creditor\Account'.
- In the tree, select 'Payments= Transactions\Creditor\Account\Currency code(Currency)'.
- In the tree, expand 'Transactions\vendBankAccountInTransactionCompany()'.
- In the tree, select 'Transactions\vendBankAccountInTransactionCompany()\Currency(CurrencyCode)'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Creditor\Account\IBAN code(IBAN)'.
- In the tree, select 'Transactions\vendBankAccountInTransactionCompany()\IBAN(BankIBAN)'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Creditor\Account\Number'.
- In the tree, select 'Transactions\vendBankAccountInTransactionCompany()\Bank account number(AccountNum)'.
- Click Bind.
- In the tree, expand 'Payments= Transactions\Creditor\Agent'.
- In the tree, select 'Payments= Transactions\Creditor\Agent\Name'.
- In the tree, select 'Transactions\vendBankAccountInTransactionCompany()\Name'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Creditor\Agent\Routing number(RoutingNumber)'.
- In the tree, select 'Transactions\vendBankAccountInTransactionCompany()\Routing number(RegistrationNum)'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Creditor\Agent\SWIFT code(SWIFT)'.
- In the tree, select 'Transactions\vendBankAccountInTransactionCompany()\SWIFT code(SWIFTNo)'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Creditor\Name'.
- In the tree, expand 'Transactions\findVendTable()'.
- In the tree, select 'Transactions\findVendTable()\name()'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Currency code(Currency)'.
- In the tree, expand 'Transactions>Relations'.
- In the tree, expand 'Transactions>Relations\Currency table(Currency)'.
- In the tree, select 'Transactions>Relations\Currency table(Currency)\Currency code(CurrencyCodeISO)'.
- Click Bind.
- In the tree, expand 'Payments= Transactions\Debtor'.
- In the tree, expand 'Payments= Transactions\Debtor\Account'.
- In the tree, select 'Payments= Transactions\Debtor\Account\Currency code(Currency)'.
- In the tree, select 'Bank Account(BankAccount)'.
- In the tree, expand 'Bank Account(BankAccount)'.
- In the tree, select 'Bank Account(BankAccount)\Currency(CurrencyCode)'.
- Click Bind.
- In the tree, select 'Bank Account(BankAccount)\IBAN'.
- In the tree, select 'Payments= Transactions\Debtor\Account\IBAN code(IBAN)'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Debtor\Account\Number'.
- In the tree, select 'Bank Account(BankAccount)\Bank account number(AccountNum)'.
- Click Bind.
- In the tree, expand 'Payments= Transactions\Debtor\Agent'.
- In the tree, select 'Payments= Transactions\Debtor\Agent\Name'.
- In the tree, select 'Bank Account(BankAccount)\Name'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Debtor\Agent\Routing number(RoutingNumber)'.
- In the tree, select 'Bank Account(BankAccount)\Routing number(RegistrationNum)'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Debtor\Agent\SWIFT code(SWIFT)'.
- In the tree, select 'Bank Account(BankAccount)\SWIFT code(SWIFTNo)'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Debtor\Name'.
- In the tree, select 'Company information(Company)'.
- In the tree, expand 'Company information(Company)'.
- In the tree, select 'Company information(Company)\Name'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Description'.
- In the tree, select 'Transactions\Description(Txt)'.
- Click Bind.
- In the tree, select 'Payments= Transactions\End to end identification code(End2EndID)'.
- In the tree, select 'Transactions$EndToEndID'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Instructed amount(InstructedAmount)'.
- In the tree, select 'Transactions$Amount'.
- Click Bind.
- In the tree, select 'Payments= Transactions\Transaction date(TransactionDate)'.
- In the tree, select 'Transactions\Date(TransDate)'.
- Click Bind.
Validate created mapping
- Click Validate.
- Validate the new mapping to ensure that all bindings are okay.
- Click the arrow to expand or collapse the Error List section.
- Click Save.
- Close the page.
- Close the page.
- Close the page.
Change the status of the current version of model configuration
- Click Change status.
- Change the status of designed model configuration – from Draft to Completed to make it available for payment format design.
- Click Complete.
- Select Complete.
- In the Description field, type a value.
- For example, 'version 1'.
- Click OK.
- Select the completed version of the current configuration.
- Note that the created configuration is saved as completed version 1.