DXC Agent for Finance in D365 FSCM

DXC Agent for bank reconciliation customer payment generation

The DXC Agent for bank reconciliation customer payment generation allows users to automatically create new customer payment journals for relevant bank statement records. Users can also choose to post and match these journals as part of the agent process, or leave the journal unposted for review.

Setup

Prerequisites

Start by setting up the prerequisite Microsoft Foundry and DXC Agent for finance & supply chain management - user guide

Enable feature

After deployment, find and enable the following features:

  1. DXC Agent for finance & supply chain management
  2. DXC Agent for bank reconciliation payment journal generation

All agents

Navigate to Organisation administration > Agents for finance & supply chain management > All agent to setup the applicable agent.

When opening the form, it checks for any new agents and self populates from details from code

See below table for information on fields.

Field Description
Agent name DXCAgentForBankReconciliationCustPaymentJournalGeneration
Agent description Agent for Customer Payment Journal Generation
Agent connection details Select the agent created in prerequisite Agent connection parameters
Agent instructions Automatically populated with default Agent instructions
Agent output format Automatically populated with default output format
Enabled Set to Yes in order to enable the agent
Enable telemetry See below for more details

Telemetry

Set Enable telemetry to Yes to log and view telemetry for applicable agents.
View the telemetry by using Go to dashboard on the ActionPane. This is only enabled for applicable agents.

Per each run, the following telemetry could be logged per agent. The data is displayed by month:

  • Statement count
  • Generated payment count
  • Number of runs

Agent knowledge sources

The following Agent knowledge sources are automatically created for this agent based on Number sequences assigned for the applicable Accounts receivable parameterfields.

These can be disabled, edited (for example adding more values), etc.

Name Description Type Example value
AccountNum Customer account Text The AccountNum will appear in the following format: AG### where ### represents numeric digits.
Invoice Invoice Text The Invoice will appear in the following format: CIV-######## or FTI-######## where ######## represents numeric digits.
PackingSlipId Packing slip number Text The PackingSlipId will appear in the following format: SPK-######## where ######## represents numeric digits.
SalesId Sales order Text The SalesId will appear in the following format: ###### or SO###### where ###### represents numeric digits.

Bank accounts

Navigate to Cash and bank management > Setup > Bank accounts to setup the following:

  • Customer payment journal posting - Determines if the created customer payment journal should be posted.
    • Yes - The journal will be created, posted and automatically matched to the original bank statement line. Journal button on Matched transactions in the Reconciliation worksheet allows user to easily navigate to these posted customer payment journals.
    • No - The journal will be created, but not posted. The message in Action center will list the Journal batch numbers that were created. If the agent is run again, these bank statement records won’t be included again, thus no duplication. Journal button on Matched transactions can’t be used for these as the journal has not been posted by the agent. Once the journals have been reviewed and posted, the matching can be done in the reconciliation either by running agent ‘DXC Agent for bank reconciliation’, reconciliation matching rules or manual matching.

Bank transaction types

Navigate to Cash and bank management > Setup > Bank transaction types and assign the applicable Action to each bank transaction type.
This feature will review the bank statement records where the Action Generate customer payment or Settle customer invoice is mapped.

Example: Bank transaction type value 01 has Action Settle customer invoice assigned.

Transaction code mapping

Navigate to Cash and bank management > Setup > Advanced bank reconciliation setup > Transaction code mapping and ensure all the applicable bank transaction types are mapped for the bank account.

Example: Company bank account has Statement transaction code value 050 mapped to Bank transaction type value 01.
Thus all bank statement records with Bank transaction code value 050 will be reviewed against Agent knowledge sources and table CustInvoiceForBankReconciliationView. Where the D365 Customer account can be determined, the customer payment journal will be created. If the Invoice was provided within a Bank statement field, this will be populated in the Invoice field in the journal and settled where the Action was Settle customer invoice.

Default description

This feature uses Default description when creating the payment journal line.

  1. Enable feature Enable default descriptions for advanced bank reconciliation
  2. Setup Default descriptions for Bank - reconciliation worksheet for each applicable Language or select user.

Processing

The DXC Agent for Bank reconciliation in D365 FSCM can be run by:

Automatically with Bank statement import

See setup for prerequisites.

When importing bank statements with Reconcile after import enabled and the prerequisite setup are met the agent will automatically run the licensed agents assigned to the workflow that is either assigned to the Bank account, Cash and bank parameters or the system default.

Manually in Bank reconciliation Worksheet

The agent can be manually run by navigating to Cash and bank management > Bank statement reconciliation > Bank reconciliation and selecting the applicable reconciliation’s Worksheet.

Where the agent is enabled, the Create customer payment with agent button will be enabled in the Unmatched transactions tab.

  • To run the agent for all unmatched bank statement transactions, no need to select any records only click Create customer payment with agent.
  • To run the agent for manually selected records, select the applicable unmatched bank statement transactions and click Create customer payment with agent

Results

Matched transactions

Where the Bank account’s Customer payment journal posting was set to Yes, the Customer payment journals are posted and automatically matched to the original bank statement record. The following sections only applies to above set to Yes.

Journals

Button Journals will be enabled and allow the user to navigate to the posted journal.

Cancel payment

Button Cancel payment can be used to create an “opposite”/reversing transaction and move the posted bank document to unmatched.

Note: Ensure Bank transaction type setup against field NSF in Cash and bank management parameters is the same as your Bank transaction type in your Method of payment. If they differ, standard matching doesn’t allow these two bank document records to matched against each other, and throws the following error: “The criteria to reconcile have not been met. You can reconcile either a single canceled check or two transactions. To reconcile two transactions, the document type must be Other, and the documents must have the same bank account, transaction type, payment reference and have opposite amounts.

Matching rule

The transactions that have been matched by the Agent can easily be viewed in Matched transactions as these are flagged in Matching rule with DXCAgent.

Note: Reconciliation matching rule DXCAgent is automatically created by the product, but only the name is used for flagging the applicable Matched transactions.

Matching justication

To view Agent reasoning, see Matching justification for more information.

Matching justification

Matching type

The Matching type will be Generate customer payment.