Class Document
The document-specific section of information about a document
There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record.
Entity Object for table 'document'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, and things like owner associate and whatever else is logically related to the base object.Inherited Members
Namespace: SuperOffice.CRM.Entities
Assembly: SoDataBase.dll
Syntax
public class Document : EntityBase, INestedPersist, ISoItem, ITableRowLoadHandler, IEntityUdefHelperContainer
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Constructors
Document(DocumentIdxBase)
Constructor for class Document.
This object represents a row in table 'document'.
Table contact: Documents, this table is an extension of the Appointment table
Declaration
protected Document(Document.DocumentIdxBase idx)
Parameters
Type | Name | Description |
---|---|---|
Document.DocumentIdxBase | idx | ContactRowDocumentRow.DocumentRowIdx object that the Contact encapsulates. |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Document(DocumentRow, DocumentIdxBase)
The document-specific section of information about a document
There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record.
Entity Object for table 'document'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, and things like owner associate and whatever else is logically related to the base object.Declaration
protected Document(DocumentRow row, Document.DocumentIdxBase idx)
Parameters
Type | Name | Description |
---|---|---|
DocumentRow | row | |
Document.DocumentIdxBase | idx |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Fields
_createdAssociate
Related HDB object(s).
Declaration
protected AssociateRow _createdAssociate
Field Value
Type | Description |
---|---|
AssociateRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
_documentAppointment
Related HDB object(s).
Declaration
protected Appointment _documentAppointment
Field Value
Type | Description |
---|---|
Appointment |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
_documentText
Related HDB object(s).
Declaration
protected TextRow _documentText
Field Value
Type | Description |
---|---|
TextRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
_externalApplication
Related HDB object(s).
Declaration
protected ExtAppRow _externalApplication
Field Value
Type | Description |
---|---|
ExtAppRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
_row
HDB object this entity is a facade for.
Declaration
protected DocumentRow _row
Field Value
Type | Description |
---|---|
DocumentRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
_rowIdx
The document-specific section of information about a document
There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record.
Entity Object for table 'document'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, and things like owner associate and whatever else is logically related to the base object.Declaration
protected Document.DocumentIdxBase _rowIdx
Field Value
Type | Description |
---|---|
Document.DocumentIdxBase |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
_udefLarge
Related HDB object(s).
Declaration
protected UDDocLargeRow _udefLarge
Field Value
Type | Description |
---|---|
UDDocLargeRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
_udefSmall
Related HDB object(s).
Declaration
protected UDDocSmallRow _udefSmall
Field Value
Type | Description |
---|---|
UDDocSmallRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
_updatedAssociate
Related HDB object(s).
Declaration
protected AssociateRow _updatedAssociate
Field Value
Type | Description |
---|---|
AssociateRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Properties
ArchiveProvider
"Reference to archive provider; for future use"
Declaration
public int ArchiveProvider { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Attention
Attention/salutation
Declaration
public string Attention { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
CreatedAssociate
Related object AssociateRow: Employees, resources and other users - except for External persons
Declaration
public AssociateRow CreatedAssociate { get; set; }
Property Value
Type | Description |
---|---|
AssociateRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
CustomFields
The document-specific section of information about a document
There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record.
Entity Object for table 'document'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, and things like owner associate and whatever else is logically related to the base object.Declaration
public EntityCustomFieldsHelper CustomFields { get; }
Property Value
Type | Description |
---|---|
EntityCustomFieldsHelper |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
DocumentAppointment
Related object Appointment: "Tasks, appointments, followups, phone calls; and documents"
Declaration
public Appointment DocumentAppointment { get; set; }
Property Value
Type | Description |
---|---|
Appointment |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
DocumentId
Primary key
Declaration
public int DocumentId { get; }
Property Value
Type | Description |
---|---|
int |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
DocumentText
Related object TextRow: Long text fields from all over the system
Declaration
public TextRow DocumentText { get; set; }
Property Value
Type | Description |
---|---|
TextRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
ExternalApplication
Related object ExtAppRow: ExtApp list table
Declaration
public ExtAppRow ExternalApplication { get; set; }
Property Value
Type | Description |
---|---|
ExtAppRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
ExtraFields
The document-specific section of information about a document
There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record.
Entity Object for table 'document'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, and things like owner associate and whatever else is logically related to the base object.Declaration
public EntityExtraFieldsHelper ExtraFields { get; }
Property Value
Type | Description |
---|---|
EntityExtraFieldsHelper |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Extref
External reference (notes ID, email ID, whatever)
Declaration
public string Extref { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Header
Visible document name
Declaration
public string Header { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
IsDeleted
Is the row deleted?
Declaration
public override bool IsDeleted { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
IsMarkedForDelete
Gets or sets a value indicating whether this instance is marked for delete.
Declaration
public override bool IsMarkedForDelete { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
IsNew
Is the row new, e.g. not been inserted to the database?
Declaration
public override bool IsNew { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
LinksHelper
Links helper The helper manages the links belonging to the document. Helper updates the corresponding appointment's ActiveLinks property
Declaration
public ActivityLinksHelper LinksHelper { get; }
Property Value
Type | Description |
---|---|
ActivityLinksHelper |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
LockSemantics
Locking semantics requested/applied to a document; 'downgrading' is not allowed for existing documents
Declaration
public DocumentLockSemantics LockSemantics { get; set; }
Property Value
Type | Description |
---|---|
DocumentLockSemantics |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
MainRow
Return the main row for the Entity.
Declaration
protected override TableRowBase MainRow { get; }
Property Value
Type | Description |
---|---|
TableRowBase |
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Name
File name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
OurRef
Our reference, searchable field from freetext search
Declaration
public string OurRef { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
PublishHelper
Get the helper class for working with the publish-state of the entity.
Published means that it is available for external persons in applications
like SuperOffice Audience.
Declaration
public EntityPublishHelper PublishHelper { get; }
Property Value
Type | Description |
---|---|
EntityPublishHelper |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Registered
Registered when
Declaration
public DateTime Registered { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Row
The encapsulated object DocumentRow.
Declaration
public DocumentRow Row { get; }
Property Value
Type | Description |
---|---|
DocumentRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Searchname
Searchable name (not used?)
Declaration
public string Searchname { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Snum
snum, Number created when creating document from template
Declaration
public int Snum { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
TableInfo
Get a TableInfo object for the document table.
Declaration
public DocumentTableInfo TableInfo { get; }
Property Value
Type | Description |
---|---|
DocumentTableInfo |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
UdefHelper
Get the Udef class of EntityUdefHelper for working with udef fields
Declaration
public EntityUdefHelper UdefHelper { get; }
Property Value
Type | Description |
---|---|
EntityUdefHelper |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
UdefLarge
Related object UDDocLargeRow: User-defined fields
Declaration
public UDDocLargeRow UdefLarge { get; set; }
Property Value
Type | Description |
---|---|
UDDocLargeRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
UdefSmall
Related object UDDocSmallRow: User-defined fields
Declaration
public UDDocSmallRow UdefSmall { get; set; }
Property Value
Type | Description |
---|---|
UDDocSmallRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Updated
Last updated when
Declaration
public DateTime Updated { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
UpdatedAssociate
Related object AssociateRow: Employees, resources and other users - except for External persons
Declaration
public AssociateRow UpdatedAssociate { get; set; }
Property Value
Type | Description |
---|---|
AssociateRow |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
UpdatedCount
The document-specific section of information about a document
There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record.
Entity Object for table 'document'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, and things like owner associate and whatever else is logically related to the base object.Declaration
public short UpdatedCount { get; set; }
Property Value
Type | Description |
---|---|
short |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
YourRef
Your reference
Declaration
public string YourRef { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Methods
CreateNew()
Create a new instance of the Document entity.
Declaration
public static Document CreateNew()
Returns
Type | Description |
---|---|
Document | A new instance of the Document entity. |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
CreateNew(DocumentIdxBase)
Create a new instance of the Document entity, by reading from the database using the specified index (represented by a nested index class).
Declaration
public static Document CreateNew(Document.DocumentIdxBase idx)
Parameters
Type | Name | Description |
---|---|---|
Document.DocumentIdxBase | idx | Index search, represented by a subclass if the Document.DocumentIdxBase nested index class |
Returns
Type | Description |
---|---|
Document | A new instance of the Document entity. |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Delete()
Delete the row.
Declaration
public override void Delete()
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
ForceEntityUpdate()
Force Updated and UpdatedAssociate to be updated with current time and Currently logged in associate. This will again be overridden in the Database update operation by a query processor.
Declaration
protected override void ForceEntityUpdate()
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
FromDocumentRow(DocumentRow)
Operator asigning a Document from a DocumentRow.
Declaration
public static Document FromDocumentRow(DocumentRow row)
Parameters
Type | Name | Description |
---|---|---|
DocumentRow | row | DocumentRow object |
Returns
Type | Description |
---|---|
Document | Document Entity |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
FromDocumentRow(DocumentRow, DocumentIdxBase)
The document-specific section of information about a document
There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record.
Entity Object for table 'document'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, and things like owner associate and whatever else is logically related to the base object.Declaration
public static Document FromDocumentRow(DocumentRow row, Document.DocumentIdxBase idx)
Parameters
Type | Name | Description |
---|---|---|
DocumentRow | row | |
Document.DocumentIdxBase | idx |
Returns
Type | Description |
---|---|
Document |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
GetAdditionalRelatedNestedPersist(List<INestedPersist>, bool)
Add the Links Helper to the list of related nestedpersist objects, to ensure it gets a chance to do its save operations
Declaration
protected override void GetAdditionalRelatedNestedPersist(List<INestedPersist> relatedObjects, bool lacyFetchIfNeeded)
Parameters
Type | Name | Description |
---|---|---|
List<INestedPersist> | relatedObjects | |
bool | lacyFetchIfNeeded |
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
GetFromCustomSearch(CustomSearch)
Create a new instance of the Document object, and populate it with data from a custom search. If the search returns no results, an empty entity will be returned; if the result contains rows, one Document object representing the first row will be returned. Any further rows in the result will be ignored.
Declaration
public static Document GetFromCustomSearch(Document.CustomSearch query)
Parameters
Type | Name | Description |
---|---|---|
Document.CustomSearch | query | The custom search to execute against the database |
Returns
Type | Description |
---|---|
Document | A new instance of the Document object, reflecting the result of the query. |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
GetFromIdxDocumentId(int)
Create a new instance of the Document object, by querying the database table via the index 'IDXDocId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static Document GetFromIdxDocumentId(int documentId)
Parameters
Type | Name | Description |
---|---|---|
int | documentId | Primary key |
Returns
Type | Description |
---|---|
Document | Row object that represents the result of the search. IsNew will be true if the query did not match any row in the table |
Remarks
This method represents one of the unique indexes on the Document table. Non-unique indexes have corresponding inner classes and methods in the DocumentCollection collection, since they may return more than one row.
GetRelatedNestedPersist(List<INestedPersist>, bool)
Append all the related objects to a list of INestedPersist.
Declaration
protected override void GetRelatedNestedPersist(List<INestedPersist> relatedObjects, bool lacyFetchIfNeeded)
Parameters
Type | Name | Description |
---|---|---|
List<INestedPersist> | relatedObjects | List to append related objects to. |
bool | lacyFetchIfNeeded |
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
OnIdUpdate()
Update related objects with correct id's to make sure that relations are consistent before saving to the database.
Declaration
protected override void OnIdUpdate()
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
OnIdUpdateImplementation()
The document-specific section of information about a document
There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record.
Entity Object for table 'document'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, and things like owner associate and whatever else is logically related to the base object.Declaration
protected override void OnIdUpdateImplementation()
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
OnPostSaveMe()
Handle actions needed to be taken after this object has been saved, but before saving objects depending upon this one.
Declaration
protected virtual void OnPostSaveMe()
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
OnPreIdUpdate()
Allow for "fake id's" to be forced upon related objects.
Declaration
protected override void OnPreIdUpdate()
Overrides
Remarks
In order to figure out which objects taking part of the nested save operation that actually needs to be saved, this method allows for "fake id's" to be forced upon related objects. Upon receiving the "fake id", the objects receiving such an id can determine if they needs to be persisted (e.g. saved) to the database. However, the fake id's forced upon related objects must be set to correct id's in the OnIdUpdate method taking place later in the save operation.
OnPreIdUpdateImplementation()
The document-specific section of information about a document
There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record.
Entity Object for table 'document'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, and things like owner associate and whatever else is logically related to the base object.Declaration
protected override void OnPreIdUpdateImplementation()
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
OnPreSaveMe()
Handle actions needed to be taken after objects this object depends on have been saved, but before this object is saved.
Declaration
protected virtual void OnPreSaveMe()
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
OnRowLoad(SoDataReader, TableRowBase)
Event raised when the row is loaded from the database
Declaration
protected override void OnRowLoad(SoDataReader reader, TableRowBase row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
TableRowBase | row |
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
OnRowLoaded()
The document-specific section of information about a document
There is always a corresponding appointment record; the relation between appointment and document is navigable in both directions. A document-type appointment record always has a corresponding document record.
Entity Object for table 'document'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, and things like owner associate and whatever else is logically related to the base object.Declaration
protected override void OnRowLoaded()
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
OnSaved(bool)
Override: User story 12100: If a document is a quote doc (from the template) and related to a sale with a quote that does not yet have a quote doc, then this is it!
Declaration
protected override void OnSaved(bool bSucceeded)
Parameters
Type | Name | Description |
---|---|---|
bool | bSucceeded |
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
SetDefaults()
Set default values for the entity.
Declaration
public void SetDefaults()
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
SetDefaults(DefaulterStrategy)
Set default values for the entity.
Declaration
public void SetDefaults(DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
SetMarkedForDeleteOnRelatedObjects(bool)
Make sure the AppointmentRow part of the document record is deleted as well when deleting a document.
Declaration
protected override void SetMarkedForDeleteOnRelatedObjects(bool isMarkedForDelete)
Parameters
Type | Name | Description |
---|---|---|
bool | isMarkedForDelete |
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Validate()
Check the entity and related objects for consistency and required fields, and return fields and error messages.
Declaration
public override Dictionary<string, string> Validate()
Returns
Type | Description |
---|---|
Dictionary<string, string> | Field names and error messages |
Overrides
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |
Operators
explicit operator Document(DocumentRow)
Operator assigning a Document from a DocumentRow.
Declaration
public static explicit operator Document(DocumentRow row)
Parameters
Type | Name | Description |
---|---|---|
DocumentRow | row | DocumentRow object |
Returns
Type | Description |
---|---|
Document | Document Entity |
Remarks
Entity objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.Document.Save method and corresponding row(s) in the database are created, and the objects' primary key field updated. This is the preferred way to insert new entities into the database.
- You can create a (nested) Document Document.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as an Entity object. This is how you select existing entities from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.Document.IsNew and SuperOffice.CRM.Data.Document.IsDirty properties set to true. Such an Entity object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
Index fields | Nested index class name |
---|---|
DocumentId | DocumentId: Primary key Nested index class: Document.IdxDocumentIdStatic Get method: GetFromIdxDocumentId(int) |
Index fields | Nested index class name |
---|---|
OurRef | OurRef: Our reference, searchable field from free-text search Nested index class: DocumentCollection.IdxOurRefStatic Get method: GetFromIdxOurRef(string) |
Userdef2Id | Userdef2Id: User-defined fields Nested index class: DocumentCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
UserdefId | UserdefId: User-defined fields Nested index class: DocumentCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Extref | Extref: External reference (notes ID, email ID, other ID used by the archive provider) Nested index class: DocumentCollection.IdxExtrefStatic Get method: GetFromIdxExtref(string) |
Header | Header: Visible document name Nested index class: DocumentCollection.IdxHeaderStatic Get method: GetFromIdxHeader(string) |
Searchname | Searchname: For future use Nested index class: DocumentCollection.IdxSearchnameStatic Get method: GetFromIdxSearchname(string) |
ArchiveProvider | ArchiveProvider: Reference to archive provider; for future use, and the Notes Link Nested index class: DocumentCollection.IdxArchiveProviderStatic Get method: GetFromIdxArchiveProvider(int) |