Enabling Cost/Profit Center Split
Your business may require to distribute the amount of one or more booking details of the type Revenue
over multiple cost centers or profit centers. To cover this need, JustOn Billing & Invoice Management provides the functionality to split these booking details – either manually or automatically.
Info
Be aware that booking details that have been specifically created for contra accounts cannot be split along centers.
Enabling Automatic Center Split
The invoice field Predefined Center Split
controls the automatic center split. If set, JustOn automatically applies the split configuration when finalizing invoices that produce booking details of the type Revenue
. You can use the ON field mechanism, Salesforce flows or other automation tools to have the Predefined Center Split
field set automatically when generating invoices.
Note
JustOn does not apply the automatic center split for bookkeeping data produced from subscriptions.
The value of the Predefined Center Split
field is a JSON expression that represents a list of (different) center configurations. Each center configuration is a map that includes the following keys:
JSON Key | Required | Description |
---|---|---|
"type" |
Defines the split calculation type. Allowed values are "PERCENTAGE" or "AMOUNT" .If set to "PERCENTAGE" , the numeric values in the "split" configuration are considered percentage rates to be applied, and the amount will be calculated.If set to "AMOUNT" , the numeric values in the "split" configuration are considered absolute amounts, and the percentage rates will be calculated. |
|
"mode" |
Optionally, sets the operation mode. Allowed values are "STRICT" (default) or "RELAXED" . This setting determines how JustOn tolerates errors when validating the split calculation (see below)."STRICT" prevents the finalization of an invoice with a wrong split configuration."RELAXED" will continue the finalization with a wrong split configuration, but not apply the center split to the created booking details. It produces an error message in the JSON key "validationError" . |
|
"split" |
Defines the actual split configuration as a JSON map, like { "Center" : Number } Each name represents a center to which the split booking detail is to be allocated. The number value is either a percentage rate or an absolute amount as defined in the "type" key.The number value must be positive. |
|
"accountNo" |
Optionally, splits a booking detail that is assigned a specific G/L account. If neither this nor costCenter are set (default), the split is applied globally to all revenue booking details. |
|
"costCenter" |
Optionally, splits a booking detail that is assigned a specific center. If neither this nor accountNo are set (default), the split is applied globally to all revenue booking details. |
If there is no matching split configuration for a given booking detail, JustOn will not apply a split.
Info
The following validation is applied to a split:
- The percentage value is defined as follows: range
0..100
. - The sum of the absolute amounts equals the original amount.
- The configuration contains the keys
"type"
and"split"
- The keys
"accountNo"
and"costCenter"
are mutually exclusive – only one can be set.
Info
If both a configuration including an "accountNo"
key and one including a "costCenter"
key apply to a booking detail, the "costCenter"
configuration will take precedence.
The following example illustrates the behavior. It includes three split configurations:
- The first configuration is valid for all revenue booking details of the invoice.
- The second configuration overrides the first configuration if the booking detail account number is
4711
. - The third configuration overrides the first configuration if the booking detail center is
JK0815
. It also overrides the second configuration even if the booking detail account number is also4711
.
[
{
"mode": "STRICT",
"type": "PERCENTAGE",
"split": {
"center-1": 60,
"center-2": 40
}
},
{
"mode": "RELAXED",
"type": "PERCENTAGE",
"accountNo": "4711",
"split": {
"center-1": 70,
"center-2": 20,
"center-3": 10
}
},
{
"mode": "RELAXED",
"type": "AMOUNT",
"costCenter": "JK0815",
"split": {
"center-1": 1275,
"center-2": 365,
"center-3": 120
}
}
]
Enabling Manual Center Split
To enable the manual split functionality, add the Edit Center Split button to the Booking Details related list on the booking period or the invoice. To do so:
- Navigate to the object management settings of the Booking Period or Invoice object.
- Click Page Layouts.
- Click Edit in the row of the Booking Period Layout or Invoice Layout, respectively.
- Scroll to the Booking Details list in the Related Lists section, and click to open the list properties.
- Open the Buttons section.
-
Under Custom Buttons, move
Edit Center Split
to the Selected Buttons column.
Adding a custom button to a related list -
Click OK to save the list properties.
-
Click Save to save the modified page layout.
For help about modifying layouts, see Managing Pages.