Click or drag to resize

ISale Interface

ISale Interface

Namespace:  SuperOffice.COM.Application
Assembly:  SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
Syntax
public interface ISale : IModelBase

The ISale type exposes the following members.

Properties
  NameDescription
Public propertyActiveLinks
ActiveLinks - Number of active links to documents, projects, Urls, appointments, sales, contacts, persons, selections
Public propertyActivityLinks
The ActivityLinks attached to this sale
Public propertyAmount
Amount - changing this affects Earnings and/or Cost
Public propertyAmountAsFloat
AmountAsFloat - same as Amount property but with decimals - changing this affects Earnings and/or Cost
Public propertyAppointment
Appointment
Public propertyAssociate
Owning Associate
Public propertyAutoSaveOnChangeIdentity
Should the model save on IdentityChanged?
Public propertyAutoSaveOnFlush
Should the model save on flush cache?
Public propertyChanged
has record been changed since read?
Public propertyCompetitor
Competitor
Public propertyCompleted
Completed
Public propertyContact
Contact the sale is linked to
Public propertyCost
Cost - changing this affects Earnings and/or Amount
Public propertyCreatedAssociate
The user that created the object
Public propertyCreatedDate
The date the object was saved to the database.
Public propertyCredited
Credited
Public propertyCurrency
Currency - that Amount,Cost,Earning are denoted in
Public propertyDocumentLink
OBSOLETE - use ActivityLinks instead
Public propertyEarning
Earning - changing this affects Amount and EarningPercent
Public propertyEarningPercent
EarningPercent - changing this affects Cost and Earning
Public propertyExternalFieldChanged
have external fields been changed?
Public propertyForeignKey
ForeignKey
Public propertyGroup
User group of the owning associate. Set implicitly when the Associate property is set.
Public propertyIdentity
The primary key on the primary table. Is zero for new objects. Is set when an object is saved.
Public propertyIsAvailable
is record available in db?
Public propertyIsFavourite
Add/Remove this sale from my favourites
Public propertyIsRequiredFilled
Are all the required fields filled out? Can we save the record?
Public propertyIsValid
does the record exist?
Public propertyNextDueDate
The next due date for the sale
Public propertyNumber
Number
Public propertyOurCurrency
OurCurrency - what we are converting amounts to
Public propertyPerson
Person the sale is linked to
Public propertyPostItText
Postit text
Public propertyPrivate
Visible for who? - 0=public,1=private,2=group
Public propertyPrivateToGroup
Which user group is the sale visible for? Sets Private=2 automatically.
Public propertyProbability
Probability - the sale's success rating
Public propertyProbabilityPercent
ProbabilityPercent - Likelyhood of success
Public propertyProject
Project
Public propertyPublishType
Publish type on sale
Public propertyReason
Reason - why the sale was lost
Public propertyReasonLost
The reason why the sale was lost
Public propertyReasonSold
The reason why the sale was sold
Public propertyReasonStalled
The reason why the sale is stalled
Public propertyReopenDate
The reopen date for the sale
Public propertySaleDate
SaleDate - expected closing date
Public propertySaleText
SaleText - description of the sale
Public propertySaleType
The Sale Type for the sale
Public propertySentry
Sentry settings for this object. Lets you find out your read/write access to the object.
Public propertySource
Source - Where the sale originated
Public propertyStage
Which stage is this sale in?
Public propertyStakeholders
Get the stakeholders for this sale.
Public propertyStatus
Status - Open=1,Sold=2,Lost=3
Public propertySuggestedAppointments
Retrieves the collection of Suggested Appointments for this sale
Public propertySuggestedDocuments
Retrieves the collection of Suggested Documents for this sale
Public propertyTitle
Title
Public propertyUDef
UDef
Public propertyUpdatedAssociate
The last user to modify the object
Public propertyUpdatedDate
The date of the most recent update.
Public propertyValidationMessage
get validation message, if empty model will think it is ok to save
Top
Methods
  NameDescription
Public methodCanBeCompleted
Can this sale be completed? (Based on status)
Public methodCancelChanges
Undo any changes made since the object was loaded.
Public methodChangeIdentity
Loads a different record into the object. Causes changes to the existing object to be saved first.
Public methodClone
Clone this sale
Public methodConvertToOurCurrency
ConvertToOurCurrency - converts parameter to our native currency - assumes Currency has been set
Public methodDelete
Delete the object from the database. May throw an error if you are not allowed to delete the object.
Public methodGetActivityList
Public methodGetSuggestedAppointments
OBSOLETE: Use SuggestedAppointments property instead
Public methodGetSuggestedDocuments
OBSOLETE: Use SuggestedDocuments property instead
Public methodIsGuided
Returns TRUE if the sale is guided
Public methodSave
Persist the object to the database. May throw an error if you are not allowed to save changes to the object.
Public methodSetDefaults
Populate the object with default values, such as setting the owner to the current user.
Top
See Also