Class Sale
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, 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 Sale : 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Constructors
Sale(SaleIdxBase)
Constructor for class Sale.
This object represents a row in table 'sale'.
Table contact: Sales
Declaration
protected Sale(Sale.SaleIdxBase idx)
Parameters
Type | Name | Description |
---|---|---|
Sale.SaleIdxBase | idx | ContactRowSaleRow.SaleRowIdx 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Sale(SaleRow, SaleIdxBase)
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, and things like owner associate and whatever else is logically related to the base object.Declaration
protected Sale(SaleRow row, Sale.SaleIdxBase idx)
Parameters
Type | Name | Description |
---|---|---|
SaleRow | row | |
Sale.SaleIdxBase | 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Fields
_associate
Related HDB object(s).
Declaration
protected AssociateRow _associate
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_competitor
Related HDB object(s).
Declaration
protected ComptrRow _competitor
Field Value
Type | Description |
---|---|
ComptrRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_contact
Related HDB object(s).
Declaration
protected Contact _contact
Field Value
Type | Description |
---|---|
Contact |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_credited
Related HDB object(s).
Declaration
protected CreditedRow _credited
Field Value
Type | Description |
---|---|
CreditedRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_currency
Related HDB object(s).
Declaration
protected CurrencyRow _currency
Field Value
Type | Description |
---|---|
CurrencyRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_person
Related HDB object(s).
Declaration
protected Person _person
Field Value
Type | Description |
---|---|
Person |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_postit
Related HDB object(s).
Declaration
protected TextRow _postit
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_probabilityRow
Related HDB object(s).
Declaration
protected ProbRow _probabilityRow
Field Value
Type | Description |
---|---|
ProbRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_project
Related HDB object(s).
Declaration
protected Project _project
Field Value
Type | Description |
---|---|
Project |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_quote
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, and things like owner associate and whatever else is logically related to the base object.Declaration
protected QuoteRow _quote
Field Value
Type | Description |
---|---|
QuoteRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_reason
Related HDB object(s).
Declaration
protected ReasonRow _reason
Field Value
Type | Description |
---|---|
ReasonRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_reasonSold
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, and things like owner associate and whatever else is logically related to the base object.Declaration
protected ReasonSoldRow _reasonSold
Field Value
Type | Description |
---|---|
ReasonSoldRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_reasonStalled
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, and things like owner associate and whatever else is logically related to the base object.Declaration
protected ReasonStalledRow _reasonStalled
Field Value
Type | Description |
---|---|
ReasonStalledRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_row
HDB object this entity is a facade for.
Declaration
protected SaleRow _row
Field Value
Type | Description |
---|---|
SaleRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_rowIdx
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, and things like owner associate and whatever else is logically related to the base object.Declaration
protected Sale.SaleIdxBase _rowIdx
Field Value
Type | Description |
---|---|
Sale.SaleIdxBase |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_saleHistory
Related HDB object(s).
Declaration
protected SaleHistRows _saleHistory
Field Value
Type | Description |
---|---|
SaleHistRows |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_saleText
Related HDB object(s).
Declaration
protected TextRow _saleText
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_saleType
Related HDB object(s).
Declaration
protected SaleTypeRow _saleType
Field Value
Type | Description |
---|---|
SaleTypeRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_sourceRow
Related HDB object(s).
Declaration
protected SourceRow _sourceRow
Field Value
Type | Description |
---|---|
SourceRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_stakeholders
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, and things like owner associate and whatever else is logically related to the base object.Declaration
protected SaleStakeholderRows _stakeholders
Field Value
Type | Description |
---|---|
SaleStakeholderRows |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_udefLarge
Related HDB object(s).
Declaration
protected UDSaleLargeRow _udefLarge
Field Value
Type | Description |
---|---|
UDSaleLargeRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_udefSmall
Related HDB object(s).
Declaration
protected UDSaleSmallRow _udefSmall
Field Value
Type | Description |
---|---|
UDSaleSmallRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
_userGroup
Related HDB object(s).
Declaration
protected UserGroupRow _userGroup
Field Value
Type | Description |
---|---|
UserGroupRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Properties
ActiveLinks
Number of active links to documents and such
Declaration
public uint ActiveLinks { get; set; }
Property Value
Type | Description |
---|---|
uint |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Amount
Total sale amount
Declaration
public double Amount { get; set; }
Property Value
Type | Description |
---|---|
double |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Associate
Related object AssociateRow: Employees, resources and other users - except for External persons
Declaration
public AssociateRow Associate { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Competitor
Related object ComptrRow: Comptr list table
Declaration
public ComptrRow Competitor { get; set; }
Property Value
Type | Description |
---|---|
ComptrRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Contact
Related object Contact: Companies and Organisations
Declaration
public Contact Contact { get; set; }
Property Value
Type | Description |
---|---|
Contact |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Credited
Related object CreditedRow: Credited list table
Declaration
public CreditedRow Credited { get; set; }
Property Value
Type | Description |
---|---|
CreditedRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Currency
Related object CurrencyRow: Currency list table
Declaration
public CurrencyRow Currency { get; set; }
Property Value
Type | Description |
---|---|
CurrencyRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
CustomFields
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Done
Done (0=don't know, 1 = No, 2=Yes)
Declaration
public SaleDone Done { get; set; }
Property Value
Type | Description |
---|---|
SaleDone |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Earning
Earning on sale
Declaration
public double Earning { get; set; }
Property Value
Type | Description |
---|---|
double |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
EarningPercent
Earning as percent of total
Declaration
public double EarningPercent { get; set; }
Property Value
Type | Description |
---|---|
double |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
ExtraFields
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Heading
Sale heading (short description?)
Declaration
public string Heading { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
LinksHelper
Links helper The helper manages the links belonging to the sale. Helper updates the sale'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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
NextDueDate
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, and things like owner associate and whatever else is logically related to the base object.Declaration
public DateTime NextDueDate { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Number1
Alphanumeric user field
Declaration
public string Number1 { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Person
Related object Person: Persons in a company or an organisation
Declaration
public Person Person { get; set; }
Property Value
Type | Description |
---|---|
Person |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Postit
Related object TextRow: Long text fields from all over the system
Declaration
public TextRow Postit { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Probability
Actual probability, may differ from the one in the list
Declaration
public short Probability { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
ProbabilityRow
Related object ProbRow: Prob list table
Declaration
public ProbRow ProbabilityRow { get; set; }
Property Value
Type | Description |
---|---|
ProbRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Project
Related object Project: Projects
Declaration
public Project Project { get; set; }
Property Value
Type | Description |
---|---|
Project |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Quote
Related object Quote: Quote fields
Declaration
public QuoteRow Quote { get; set; }
Property Value
Type | Description |
---|---|
QuoteRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Reason
Related object ReasonRow: Reason list table
Declaration
public ReasonRow Reason { get; set; }
Property Value
Type | Description |
---|---|
ReasonRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
ReasonSold
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, and things like owner associate and whatever else is logically related to the base object.Declaration
public ReasonSoldRow ReasonSold { get; set; }
Property Value
Type | Description |
---|---|
ReasonSoldRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
ReasonStalled
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, and things like owner associate and whatever else is logically related to the base object.Declaration
public ReasonStalledRow ReasonStalled { get; set; }
Property Value
Type | Description |
---|---|
ReasonStalledRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Registered
Registered date
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Row
The encapsulated object SaleRow.
Declaration
public SaleRow Row { get; }
Property Value
Type | Description |
---|---|
SaleRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
SaleHistory
Related object SaleHistRows: Mirror image of the Sale table, providing a full transaction history
Declaration
public SaleHistRows SaleHistory { get; }
Property Value
Type | Description |
---|---|
SaleHistRows |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
SaleId
Primary key
Declaration
public int SaleId { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
SaleText
Related object TextRow: Long text fields from all over the system
Declaration
public TextRow SaleText { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
SaleType
Related object ProjTypeRow: ProjType list table
Declaration
public SaleTypeRow SaleType { get; set; }
Property Value
Type | Description |
---|---|
SaleTypeRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Saledate
(expected | lost | won) sales date
Declaration
public DateTime Saledate { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Source
"For future integration use; source of record"
Declaration
public short Source { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
SourceRow
Related object SourceRow: Source list table
Declaration
public SourceRow SourceRow { get; set; }
Property Value
Type | Description |
---|---|
SourceRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Stakeholders
Related object Stakeholders: all the "project members" involved in the sale.
Declaration
public SaleStakeholderRows Stakeholders { get; }
Property Value
Type | Description |
---|---|
SaleStakeholderRows |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Status
Status (open, closed, lost)
Declaration
public SaleStatus Status { get; set; }
Property Value
Type | Description |
---|---|
SaleStatus |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
TableInfo
Get a TableInfo object for the sale table.
Declaration
public SaleTableInfo TableInfo { get; }
Property Value
Type | Description |
---|---|
SaleTableInfo |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
UdefLarge
Related object UDSaleLargeRow: User-defined fields
Declaration
public UDSaleLargeRow UdefLarge { get; set; }
Property Value
Type | Description |
---|---|
UDSaleLargeRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
UdefSmall
Related object UDSaleSmallRow: User-defined fields
Declaration
public UDSaleSmallRow UdefSmall { get; set; }
Property Value
Type | Description |
---|---|
UDSaleSmallRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Updated
Last updated
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
UpdatedCount
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
UserGroup
Related object UserGroupRow: Secondary user groups
Declaration
public UserGroupRow UserGroup { get; set; }
Property Value
Type | Description |
---|---|
UserGroupRow |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Visibility
OBSOLETE - the VisibleFor table is used instead
Declaration
public short Visibility { 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
VisibleForHelper
Get the helper class for working with the visible-for of the entity.
Declaration
public EntityVisibleForHelper VisibleForHelper { get; }
Property Value
Type | Description |
---|---|
EntityVisibleForHelper |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
Methods
CreateNew()
Create a new instance of the Sale entity.
Declaration
public static Sale CreateNew()
Returns
Type | Description |
---|---|
Sale | A new instance of the Sale 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
CreateNew(SaleIdxBase)
Create a new instance of the Sale entity, by reading from the database using the specified index (represented by a nested index class).
Declaration
public static Sale CreateNew(Sale.SaleIdxBase idx)
Parameters
Type | Name | Description |
---|---|---|
Sale.SaleIdxBase | idx | Index search, represented by a subclass if the Sale.SaleIdxBase nested index class |
Returns
Type | Description |
---|---|
Sale | A new instance of the Sale 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
FromSaleRow(SaleRow)
Operator asigning a Sale from a SaleRow.
Declaration
public static Sale FromSaleRow(SaleRow row)
Parameters
Type | Name | Description |
---|---|---|
SaleRow | row | SaleRow object |
Returns
Type | Description |
---|---|
Sale | Sale 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
FromSaleRow(SaleRow, SaleIdxBase)
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, and things like owner associate and whatever else is logically related to the base object.Declaration
public static Sale FromSaleRow(SaleRow row, Sale.SaleIdxBase idx)
Parameters
Type | Name | Description |
---|---|---|
SaleRow | row | |
Sale.SaleIdxBase | idx |
Returns
Type | Description |
---|---|
Sale |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
GetFromCustomSearch(CustomSearch)
Create a new instance of the Sale 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 Sale object representing the first row will be returned. Any further rows in the result will be ignored.
Declaration
public static Sale GetFromCustomSearch(Sale.CustomSearch query)
Parameters
Type | Name | Description |
---|---|---|
Sale.CustomSearch | query | The custom search to execute against the database |
Returns
Type | Description |
---|---|
Sale | A new instance of the Sale 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
GetFromIdxSaleId(int)
Create a new instance of the Sale object, by querying the database table via the index 'IDXSaleId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static Sale GetFromIdxSaleId(int saleId)
Parameters
Type | Name | Description |
---|---|---|
int | saleId | Primary key |
Returns
Type | Description |
---|---|
Sale | 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 Sale table. Non-unique indexes have corresponding inner classes and methods in the SaleCollection 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
IsNumberValid()
Validate number field - is it unique/blank according to numbering rules?
Declaration
public bool IsNumberValid()
Returns
Type | Description |
---|---|
bool | true if Number is ok |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: GetFromIdxContactId(int) |
Saledate | Saledate: (expected | lost | won) sales date Nested index class: SaleCollection.IdxSaledateStatic Get method: GetFromIdxSaledate(DateTime) |
Number1 | Number1: Alphanumeric user field Nested index class: SaleCollection.IdxNumber1Static Get method: GetFromIdxNumber1(string) |
AssociateId, ContactId, Saledate | AssociateId: Owning associate ContactId:Optional contact reference Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdContactIdSaledateStatic Get method: GetFromIdxAssociateIdContactIdSaledate(int, int, DateTime) |
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()
Sales
For every Sale record edited through the SuperOffice GUI, a copy of the previous version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels.
Entity Object for table 'sale'. Entity objects represent full entities with both the base table object and all related objects, such as udef, publish, visiblefor, 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.Sale.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) Sale Sale.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.Sale.IsNew and SuperOffice.CRM.Data.Sale.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 |
---|---|
SaleId | SaleId: Primary key Nested index class: Sale.IdxSaleIdStatic Get method: GetFromIdxSaleId(int) |
Index fields | Nested index class name |
---|---|
Status | Status: Status (open, closed, lost) Nested index class: SaleCollection.IdxStatusStatic Get method: GetFromIdxStatus(SaleStatus) |
Done | Done: Done (0 = don’t know; 1 = No; 2 = yes) Nested index class: SaleCollection.IdxDoneStatic Get method: GetFromIdxDone(SaleDone) |
UserdefId | UserdefId: User-defined fields reference Nested index class: SaleCollection.IdxUserdefIdStatic Get method: GetFromIdxUserdefId(int) |
Userdef2Id | Userdef2Id: User-defined fields reference Nested index class: SaleCollection.IdxUserdef2IdStatic Get method: GetFromIdxUserdef2Id(int) |
ProjectId | ProjectId: Optional project reference Nested index class: SaleCollection.IdxProjectIdStatic Get method: GetFromIdxProjectId(int) |
Source | Source: For future integration use; source of record Nested index class: SaleCollection.IdxSourceStatic Get method: GetFromIdxSource(short) |
Heading | Heading: Sale heading (short description) Nested index class: SaleCollection.IdxHeadingStatic Get method: GetFromIdxHeading(string) |
ProjectId, AssociateId, Saledate | ProjectId: Optional project reference AssociateId:Owning associate Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxProjectIdAssociateIdSaledateStatic Get method: GetFromIdxProjectIdAssociateIdSaledate(int, int, DateTime) |
PersonId | PersonId: Optional person reference Nested index class: SaleCollection.IdxPersonIdStatic Get method: GetFromIdxPersonId(int) |
AssociateId, Done, Saledate | AssociateId: Owning associate Done:Done (0 = don’t know; 1 = No; 2 = yes) Saledate:(expected | lost | won) sales date Nested index class: SaleCollection.IdxAssociateIdDoneSaledateStatic Get method: GetFromIdxAssociateIdDoneSaledate(int, SaleDone, DateTime) |
ContactId | ContactId: Optional contact reference Nested index class: SaleCollection.IdxContactIdStatic Get method: |