🚪 **Contract Doctype Customizations**
🚪 Contract Doctype Customizations
Overview
The Contract Doctype is an essential component in managing tenancy agreements, utility billing, and linking customers with properties. It is designed to streamline the lifecycle of a contract, from service request initiation to property management and billing. These customizations leverage advanced fields such as utility service requests, properties, billing increments, and recurring schedules to automate and manage various aspects of tenancy agreements.

Key Features
- Utility Service Request: Link a utility service request to the contract.
- Properties Management: Manage multiple properties under one contract.
- Billing Adjustment Rule: Set up rules for automatic billing adjustments, such as rent or service charge increments, late payment penalties, or other recurring changes. This feature enables you to configure and automate complex billing scenarios for tenants or property utilities.
- Contract Start and End Dates: Automatically fetch start and end dates from the related utility service request to ensure consistency.
Custom Fields and Functionality
1. Utility Service Request Link
This field allows you to link the contract to a specific Utility Service Request, which provides details about the utility needs of the tenant. This helps to track utility requests and their relationship to the contract.
2. Requested Properties Table
This table is used to associate multiple utility or rental properties with a service contract. Each row defines a specific property's billing configuration, activation status, billing rule, and contract period.

-
🏘️ Utility Property
A required field that links to the specific property associated with this contract item.
-
✅ Is Active?
Indicates whether the property is currently active for billing. Uncheck to temporarily disable invoicing or adjustments for the item.
-
📅 Start Date / End Date
Defines the contract duration for the property. Billing and adjustments are only applied within this date range.
-
📐 Contract Length (Months)
Automatically calculated or manually defined, this represents the total duration of the contract in months. Useful for internal reporting or rule application.
-
⚙️ Adjustment Rule
Links to a
Billing Adjustment Rule, which determines how rates change over time (e.g., percentage-based rent increments or conditional adjustments).
3. Start and End Dates
The Start Date and End Date fields for the contract are automatically fetched from the linked Utility Service Request. This ensures that the contract is aligned with the actual service request and avoids inconsistencies between the requested service and contract duration.