ER Design domain specific data model
The following steps explain how a user in the System Administrator or Electronic Reporting Developer role can create a new Electronic reporting (ER) configuration that contains a data model for electronic payment documents. This data model will later be used as a data source when you create the format of the payment documents.
In this example, you will create a configuration for sample company, Litware, Inc. These steps can be performed in any company as ER configurations are shared among companies. To complete these steps, you must first complete the steps in the "Create a configuration provider and mark it as active" procedure.
Go to Organization administration > Workspaces > Electronic reporting.
Select the configuration provider for sample company, 'Litware, Inc.' If you don't see this configuration provider, you must first complete the steps in the "Create a configuration provider and mark it as active" procedure.
Click Reporting configurations.
You will create a configuration that contains a data model for electronic payment documents. This data model will be used later as a data source when you create the format for the payment documents.
Create a new data model configuration
Click Create configuration to open the drop dialog.
In the Name field, type 'Payments (simplified model)'.
In the Description field, type 'Payment model configuration'.
The active configuration provider is automatically entered here. This provider will be able to maintain this configuration. Other providers can use this configuration, but will not be able to maintain it.
Click 'Create configuration' button to complete the configuration creation task
Create a data model
You're creating a new data model for the selected configuration. This configuration version will have a status of Draft.
- Click Designer.
Define the structure of a party participating in a payment process
- Click New to open the drop dialog.
- In the Name field, type 'Party'.
- Click Add.
- Click New to open the drop dialog.
- In the Name field, type 'Name'.
- In the Item type field, select 'String'.
- Click Add.
- In the Find field, type 'Party'.
- Click Find previous.
Define the bank structure for this model
Click New to open the drop dialog.
In the Name field, type 'Agent'.
In the Item type field, select 'Record'.
Click Add.
In the Description field, enter 'Financial institution (for instance, a bank) servicing an account for the party (debtor/creditor).'.
Financial institution (for instance, a bank) servicing an account for the party (debtor/creditor).
Click New to open the drop dialog.
In the Name field, type 'Name'.
In the Item type field, select 'String'.
Click Add.
Click New to open the drop dialog.
In the Name field, type 'SWIFT'.
Click Add.
In the Description field, enter 'Bank identification code'.
Click New to open the drop dialog.
In the Name field, type 'RoutingNumber'.
Click Add.
In the Description field, enter 'Routing number'.
Click Find previous.
Define the bank account structure for this model
Click New to open the drop dialog.
In the Name field, type 'Account'.
In the Item type field, select 'Record'.
Click Add.
In the Description field, enter 'Identification of an account of a party in a financial institution (for instance, a bank).'.
Identification of an account of a party in a financial institution (for instance, a bank).
Click New to open the drop dialog.
In the Name field, type 'Currency'.
In the Item type field, select 'String'.
Click Add.
In the Description field, enter 'Currency code'.
Click New to open the drop dialog.
In the Name field, type 'Number'.
Click Add.
Click New to open the drop dialog.
In the Name field, type 'IBAN'.
Click Add.
In the Description field, enter 'International bank account number'.
Define the payment message structure for credit transfer payment type
Click New to open the drop dialog.
In the New node as a field, enter 'Model root'.
In the Name field, type 'CustomerCreditTransferInitiation'.
Click Add.
In the Find field, type 'CustomerCreditTransferInitiation'.
Click Find previous.
Click New to open the drop dialog.
In the Name field, type 'MessageIdentification'.
Click Add.
In the Description field, enter 'The point-to-point reference assigned by the instructing party (and sent to the next party) to identify a message.'.
The point-to-point reference assigned by the instructing party (and sent to the next party) to identify a message.
Click New to open the drop dialog.
In the Name field, type 'ProcessingDateTime'.
In the Item type field, select 'DateTime'.
Click Add.
In the Description field, enter 'Date and time at which the payment message was created.'.
Click New to open the drop dialog.
Define the payment transaction structure for this model.
In the Name field, type 'Payments'.
In the Item type field, select 'Record list'.
Click Add.
In the Description field, enter 'Payment lines of the current message'.
Click New to open the drop dialog.
In the Name field, type 'Creditor'.
In the Item type field, select 'Record'.
Click Add.
In the Description field, enter 'Party to which an amount of money is due.'.
Click Switch item reference.
In the Find field, type 'Party'.
Click Find next.
Click OK.
In the Find field, type 'Payments'.
Click Find next.
Click New to open the drop dialog.
In the Name field, type 'Debtor'.
Click Add.
In the Description field, enter 'Party that owes an amount of money to the (ultimate) creditor.'.
Click Switch item reference.
In the Find field, type 'Party'.
Click Find next.
Click OK.
Click Find next.
Click New to open the drop dialog.
In the Name field, type 'Description'.
In the Item type field, select 'String'.
Click Add.
Click New to open the drop dialog.
In the Name field, type 'Currency'.
Click Add.
In the Description field, enter 'Currency code'.
Click New to open the drop dialog.
In the Name field, type 'TransactionDate'.
In the Item type field, select 'Date'.
Click Add.
In the Description field, enter 'Transaction date'.
Click New to open the drop dialog.
In the Name field, type 'InstructedAmount'.
In the Item type field, select 'Real'.
Click Add.
In the Description field, enter 'The amount of money to be moved between the debtor and creditor, before deduction of charges. The amount should be expressed in the currency as ordered by the initiating party.'.
The amount of money to be moved between the debtor and creditor, before deduction of charges. The amount should be expressed in the currency as ordered by the initiating party.
Click New to open the drop dialog.
In the Name field, type 'End2EndID'.
In the Item type field, select 'String'.
Click Add.
In the Description field, enter 'The unique identification assigned by the initiating party. This identification is passed on, unchanged, throughout the entire end-to-end chain.'.
In the Name field, type 'PaymentModel'.
The PaymentModel name aligns with predefined interfaces of payment forms.
Click Save.
Close the page.