Enabling Entry Settlement
← Setting Up Receivables/Payables Management
As a result of certain business use cases, some receivables and payables may have to be offset directly – like, for example, when a customer has to pay an invoice and receives a credit note at the same time. To support such use cases, JustOn Cash Management introduces the entry settlement functionality: particular debit entries and credit entries are offset against each other.
Since entry settlement is a special case of an entry reduction, make sure you have set up the entry reduction correctly. In addition, enabling entry settlement involves the following steps:
- Adding the button Settle to the Entry detail view
- Configuring the settlement credit balance strategy
Enabling Entry Settlement From the UI
The default Entry record page includes the Settle action. It is only visible for entries of the type Credit.
If you use a custom Entry record page, your business may also require to enable the entry settlement from the user interface. To this end, you can, optionally, add the Settle action to the page. To do so:
-
Open your custom Entry record detail page in the Lightning App Builder.
-
Open an Entry record.
Click to access the App Launcher, and select Cash Management > Entries > record name.
-
Click to open the Setup menu, then select Edit Page.
-
-
Select the top panel ("Highlights").
- Click Add Action and select the action
Settle. -
Optionally, add the visibility filter.
To make the button visible only for entries of the type
Credit, useRecord > Type Equal Credit. -
Click Done on the action window, then Save in the Lightning App Builder.
For more details, see Create Dynamic Actions in Lightning App Builder in the Salesforce Help.
Configuring Settlement Credit Balance Strategy
Your business may require to define an individual credit balance strategy for the entry settlement. To support this, JustOn Cash Management provides the picklist field Entry Settlement CBS on the Business Entity.
- Changing the default settlement credit balance strategy for your organization
- Adding the settlement credit balance strategy field to the page layout of the Business Entity object
- Defining the settlement credit balance strategy for your business entity
Changing Organization Default Settlement Credit Balance Strategy
JustOn Cash Management has preconfigured Future Settlement as the default credit balance strategy for the entry settlement (see Supported Business Processes). You can, however, change the default settlement credit balance strategy for your entire organization – setting a new default value in the Entry Settlement CBS picklist.
Info
Modifying values for picklist fields of an object requires the system permission Customize Application.
To change the default settlement credit balance strategy:
- Click to enter Setup, then navigate to the object management settings of the Business Entity object (
JPAY1__BusinessEntity__c). - Click Fields and Relationships.
- Click the name of the
Entry Settlement CBSfield. - In the Values section, click Edit in the row of the value to be set as default.
- Select the
Defaultcheckbox. -
Click Save.
This makes the selected credit balance strategy the default option for the entry settlement in your org. It will be applied if neither the business entity nor the business process define a specific credit balance strategy.
Adding Settlement Credit Balance Strategy Field to Business Entity
If you have upgraded JustOn Cash Management from an older version, you must add the field Entry Settlement CBS to the page layout of the Business Entity object manually. To do so:
- Click to enter Setup, then navigate to the object management settings of the Business Entity object (
JPAY1__BusinessEntity__c). - Click Page Layouts.
- In the Business Entity row, click , then select Edit.
- Drag the field
Entry Settlement CBSto the page layout. -
Click Save.
This adds the picklist field
Entry Settlement CBSto the Business Entity detail view, enabling you to define a business entity-specific credit balance strategy for the entry settlement.
Defining Settlement Credit Balance Strategy for Business Entity
Note
Make sure that the field Entry Settlement CBS is available on the Business Entity detail view. For details, see Adding Settlement Credit Balance Strategy Field to Business Entity.
To define an individual credit balance strategy for the entry settlement for your business entity:
- Click to access the App Launcher, and select Setup Cash Management.
-
Open the Business Entities tab.
For easy access, you may want to add the Business Entities tab to the navigation bar. For details, see Personalize the Navigation Bar in the Salesforce Help.
-
Click the business entity name to open its detail view and click Edit.
-
In the
Entry Settlement CBSfield, select the intended credit balance strategy.The available options include:
Credit Balance Strategy Description Future Settlement Represents a credit balance available to be settled with the next receivable. Prepared Refund A prepared refund blocks the credit balance from being available for settlement. Instead, this creates a refund with the status Prepared.Direct Refund A direct refund blocks the credit balance from being available for settlement. Instead, this creates a refund with the status Approved. -
Click Save.
This defines the default credit balance strategy for the entry settlement for your business entity.
Be aware that users can specifically select a credit balance strategy when executing an entry settlement, which may override the defined default strategy.