Click or drag to resize

SOSale Methods

The SOSale type exposes the following members.

Methods
  NameDescription
Public methodCode exampleCanBeCompleted
Can this sale be completed? (Based on status) New in Seven.
(Inherited from ISale.)
Public methodCode exampleCancelChanges
Undo any changes made since the object was loaded.
(Inherited from ISale.)
Public methodCode exampleChangeIdentity
Loads a different record into the object. Causes changes to the existing object to be saved first. Saves the changes made to the sale model to the database. The last thing you do to an object if you want the changes you made to be saved. The ChangeIdentity method calls the save method first.
(Inherited from ISale.)
Public methodClone
Clone this sale
(Inherited from ISale.)
Public methodCode exampleConvertToOurCurrency
ConvertToOurCurrency - converts parameter to our native currency - assumes Currency has been set Converts parameter to our native currency - assumes Currency has been set
(Inherited from ISale.)
Public methodCode exampleDelete
Delete the object from the database. May throw an error if you are not allowed to delete the object. Deletes the specified sale model from the database
(Inherited from ISale.)
Public methodGetActivityList (Inherited from ISale.)
Public methodCode exampleGetSuggestedAppointments
OBSOLETE: Use SuggestedAppointments property instead New in Seven.
(Inherited from ISale.)
Public methodCode exampleGetSuggestedDocuments
OBSOLETE: Use SuggestedDocuments property instead New in Seven.
(Inherited from ISale.)
Public methodIsGuided
Returns TRUE if the sale is guided
(Inherited from ISale.)
Public methodCode exampleSave
Persist the object to the database. May throw an error if you are not allowed to save changes to the object. Saves the changes you made to the sale model to the database
(Inherited from ISale.)
Public methodCode exampleSetDefaults
Populate the object with default values, such as setting the owner to the current user. Uses the UserPreferences table to set the predefined default settings for a sale. The SetDefaults method is only available for current objects in this version of SuperOfficeDB Type Library
(Inherited from ISale.)
Top
See Also