Contract Module Reference¶
Technical description of Contract entity fields.
Contract Entity Fields¶
| Field Name (EN) | Field Name (CZ) | Type | Description |
|---|---|---|---|
name |
Název | Varchar | Contract subject. Required. |
account |
Organizace | Link | The other contracting party. Required. |
status |
Stav | Enum | Draft, Valid, Invalid, Archived, Revision. |
internalNumber |
Interní číslo | Sequence | Automatic contract ID. |
externalNumber |
Externí číslo | Varchar | Partner's contract number. |
term |
Platnost | Enum | Fixed, Indefinite, AutoRenew. |
startDate |
Datum platnosti | Date | Valid from. |
endDate |
Datum ukončení | Date | Valid until (for Fixed). |
signatureDate |
Datum podpisu | DateTime | When it was signed. |
noticePeriodDays |
Výpovědní lhůta | Int | Days before end to terminate. |
noticePeriodDate |
Výpověď do | Date | Calculated deadline date. |
autoRenewDays |
Perioda prodloužení | Int | Days to extend by (for AutoRenew). |
storageType |
Typ dokumentu | Enum | Electronic, PhysicalWithScan, ScannedOnly. |
storageLocation |
Lokace dokumentu | MultiEnum | Physical location (e.g., Folder A1). |
liableUser |
Odpovědný | Link | Person responsible for the contract. |
contacts |
Kontakty | LinkMultiple | Partner's contact persons. |
amendments |
Dodatky | LinkMultiple | Link to child contracts (amendments). |
alerts |
Upozornění | LinkMultiple | Generated notifications. |
Calculation Logic¶
Notice Date Calculation¶
If endDate and noticePeriodDays are filled, the system may (via frontend/backend logic) calculate noticePeriodDate = endDate - noticePeriodDays.
Archiving¶
When status changes to Archived, the current date is written to archivedAt.