How to manage Quantity and Unit Price calculations

This guide explains how Quantity and Unit Price calculation settings affect pricing behavior in SOFT4Spaces when generating Service Journal Lines from Lease Contract data.

Different pricing scenarios can be configured depending on the Service Price Type and Real Estate Setup parameters.

After releasing the Lease Contract with configured Service Prices, the Service Journal Lines will be generated based on the Real Estate Setup combinations below.

Scenario 1: Fixed Price Type without Use Quantity

Option 1: Standard Fixed Price

Result: Service Journal Line Quantity = 1, with the fixed Unit Price from the Service Price list.

Option 2: Recalculated Unit Price

Result: The system uses the Quantity from Lease Contract Lines and divides the total amount by that quantity to calculate the Unit Price.

Note:

The Use Lease Unit Area as Quantity parameter does not affect calculations in this pricing configuration.

 

Scenario 2: Fixed Price Type with Use Quantity Enabled

Result: Regardless of whether Use Lease Unit Area as Quantity or Recalculate Unit Price by Quantity are enabled in Real Estate Setup, the amount calculation will be: Quantity × Price from Lease Contract Lines.

Note:

If Quantity equals 0, the Service Journal Line will not be created.

 

Scenario 3: Area-Based Price Type

Option 1: Default Area Pricing

Result: Service Journal Line Quantity = 1.

Option 2: Area-Based Quantity

Result: Quantity is used from the Lease Contract Lines and the amount is calculated Current Unit Area field × Price.

Option 3: Quantity-Based Unit Price Recalculation

Result: The system uses the Quantity from Lease Contract Lines and divides the total amount by that quantity to calculate the Unit Price.

Option 4: Both Parameters Enabled

Result: When both parameters are enabled, priority is given to Use Lease Unit Area as Quantity. The calculation will follow Option 2 logic (Current Unit Area × Price).