Categorie: entities
Bijgewerkt: 2026-04-07
document documentbeheer bijlage CAD bestandsbeheer
Document (Document)
De Document-entiteit beheert documenten en bestanden in Ultimo. Documenten kunnen worden gekoppeld aan assets, werkorders, contracten en andere entiteiten. Ultimo ondersteunt verschillende documenttypen, van standaard bijlagen tot CAD-tekeningen en IT-documenten. Bestanden worden opgeslagen via de FileService of een FileSystemPath.
Entiteitsnaam: Document
Databasetabel: Document
Primaire sleutel: DOCID (nvarchar 11)
Contextsbewerken
| Value | Naam | Beschrijving |
|---|---|---|
| 0 | DocumentContext.None | Standaard |
| 1 | DocumentContext.Standard | Standaard |
| 2 | DocumentContext.Cad | CAD |
| 4 | DocumentContext.IT | IT |
| 8 | DocumentContext.Rental | Verhuuradministratie |
| 16 | DocumentContext.Purchase | Inkoop |
| 32 | DocumentContext.Infra | Infra |
| 64 | DocumentContext.Certificate | Getuigschrift |
| 128 | DocumentContext.Communication | Communicatie |
| 256 | DocumentContext.TextFieldAttachment | Tekstveldbijlage |
Statussenbewerken
| Value | Naam | Beschrijving |
|---|---|---|
| -1 | DocumentStatus.Trash | Trash |
| 0 | DocumentStatus.None | None |
| 1 | DocumentStatus.Concept | Concept |
| 32 | DocumentStatus.Active | Actief |
| 256 | DocumentStatus.Expired | Vervallen |
Belangrijkste propertiesbewerken
| Property | Type | Kolom | Nullable | Omschrijving |
|---|---|---|---|---|
| Id | UltimoString(11) | DOCID | Nee | Uniek ID |
| Description | UltimoString(200) | DOCDESCR | Ja | Omschrijving |
| FileName | UltimoString(255) | DOCFILENAME | Ja | Bestandsnaam |
| Location | UltimoString(81) | DOCLOCATION | Ja | Opslaglocatie |
| FileSystemPath | FileSystemPath | DOCFSPID | Ja | Bestandssysteempad |
| DocumentType | DocumentType | DOCDOCTID | Ja | Documenttype |
| Version | UltimoString(10) | DOCVERSION | Ja | Versienummer |
| Language | Language | DOCLNGID | Ja | Taal |
| CreateDate | DateTime? | DOCCREATEDATE | Ja | Aanmaakdatum |
| CreateEmployee | Employee | DOCCREATEEMPID | Ja | Aanmaker |
| ModifyDate | DateTime? | DOCMODIFYDATE | Ja | Wijzigingsdatum |
| ManageEmployee | Employee | DOCMANAGEMPID | Ja | Beheerder |
| Vendor | Vendor | DOCVDRID | Ja | Leverancier |
| Manufacturer | Vendor | DOCMANUFVDRID | Ja | Fabrikant |
| ProductCode | UltimoString(81) | DOCPRODUCTCODE | Ja | Productcode |
| Site | Site | DOCSITID | Ja | Vestiging |
| CadImportProfile | CadImportProfile | DOCCIMPID | Ja | CAD-importprofiel |
| CadDefaultLayout | UltimoString(50) | DOCCADDEFAULTLAYOUT | Ja | Standaard CAD-layout |
| Status | Status | DOCRECSTATUS | Nee | Recordstatus (default: 1) |
| Context | Context | DOCCONTEXT | Nee | Context (default: 1) |
Relaties met andere entiteitenbewerken
| Property | Verwijst naar | Omschrijving |
|---|---|---|
| DocumentType | DocumentType | Type document |
| CreateEmployee | employee | Aanmaker |
| ManageEmployee | employee | Documentbeheerder |
| Vendor | Vendor | Leverancier |
| Manufacturer | Vendor | Fabrikant |
| Site | site | Vestiging |
| CadImportProfile | CadImportProfile | CAD-importprofiel |
| CadImportRuns | List[CadImportRun] | CAD-importruns |
| XrefDocument | Document | Kruisverwijzing naar ander document |
Tips voor consultantsbewerken
- Levenscyclus: Documenten doorlopen Concept > Actief > Vervallen. Per statusovergang worden datum en medewerker gelogd (
StatusConceptDate,StatusActivatedDate,StatusExpiredDate). - Bestandsopslag: Ultimo gebruikt de FileService voor bestandsopslag. Het veld
FileNamebevat de logische naam; het fysieke bestand wordt beheerd door de FileService.FileSystemPathverwijst naar een geconfigureerd opslagpad. - CAD-documenten: Context
Cad(2) activeert CAD-specifieke functionaliteit. ViaCadImportProfileenCadDefaultLayoutkunnen CAD-tekeningen automatisch worden verwerkt. - Koppeling aan objecten: Documenten worden aan andere entiteiten gekoppeld via koppeltabellen (bijv. EquipmentDocument, JobDocument). Dit is niet direct zichtbaar als property op de Document-entiteit zelf.
- Contexten: Er zijn 9 verschillende contexten. De context bepaalt waar het document wordt getoond en welke extra velden beschikbaar zijn.
TextFieldAttachment(256) wordt intern gebruikt voor bijlagen in rich-text velden. - Versiebeheer: Het
Version-veld is een vrij tekstveld. Ultimo heeft geen ingebouwd versiebeheer -- gebruikXrefDocumentvoor verwijzingen tussen versies. - FileMissing: Het boolean-veld
FileMissinggeeft aan of het fysieke bestand ontbreekt op de opslaglocatie.
Brondatabewerken
Let op: De wiki-samenvatting hierboven toont een curated subset van properties en praktische consultant-tips. Voor ground truth (exacte kolomnamen, alle properties, defaults, triggers) gebruik de onderstaande tools.
- Entity-definitie —
lookup_entity("Document")· reference/entities/Document Alle properties, contexts en statussen. Bron:Entities.xml. - DB-schema —
lookup_table_schema("Document")· reference/tables/Document Alle DB-kolommen, triggers, computed columns en defaults. Bron:database-schema.json. - Gerelateerde workflows —
find_workflows("", entity="Document")Alle Before/After Save events en andere workflow-ActionFields voor Document. Bron:workflows.xml.