Show / Hide Table of Contents

Class SaleTypeEntity

Carrier object for SaleTypeEntity. Services for the SaleTypeEntity Carrier is available from the List Agent.

Inheritance
object
SaleTypeEntity
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.9.0.0")]
public class SaleTypeEntity : Carrier
Examples

Get SaleTypeEntity 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new ListAgent();
   var saleTypeEntity = agent.GetSaleTypeEntity( 123 );
}

Constructors

SaleTypeEntity()

Default constructor

Declaration
public SaleTypeEntity()
See Also
IListAgent

Properties

AllowQuoteAlternatives

Can quotes linked to sales of this type, have multiple Alternatives

Declaration
[DataMember]
public virtual bool AllowQuoteAlternatives { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

ConfirmationLinesTemplate

The template that this sale type should use when producing the order confirmation lines document; the template must have DocTmplQuoteType=ConfirmationLines

Declaration
[DataMember]
public virtual int ConfirmationLinesTemplate { get; set; }
Property Value
Type Description
int
See Also
IListAgent

DefaultQuoteValidity

Default valid days for quotes linked to sales of this type (valid from quote transmission)

Declaration
[DataMember]
public virtual int DefaultQuoteValidity { get; set; }
Property Value
Type Description
int
See Also
IListAgent

Deleted

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists

Declaration
[DataMember]
public virtual bool Deleted { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

DurationUnit

Units for the duration (day, week, whatever)

Declaration
[DataMember]
public virtual DurationUnit DurationUnit { get; set; }
Property Value
Type Description
DurationUnit
See Also
IListAgent

GroupQuoteLinesBy

Group quote lines by this field

Declaration
[DataMember]
public virtual int GroupQuoteLinesBy { get; set; }
Property Value
Type Description
int
See Also
IListAgent

HasGuide

Does this sale type have a guide attached

Declaration
[DataMember]
public virtual bool HasGuide { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

HasStakeholders

Does this sale type have stakeholders

Declaration
[DataMember]
public virtual bool HasStakeholders { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

IsAutoAdvance

Does the sale stage advance automatically, when the last guided activity in a stage is completed?

Declaration
[DataMember]
public virtual bool IsAutoAdvance { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

MaxDiscountPercent

The maximum discount in percent of total, if set, on quotes linked to sales of this type

Declaration
[DataMember]
public virtual int MaxDiscountPercent { get; set; }
Property Value
Type Description
int
See Also
IListAgent

MaxDiscountPercentSet

Is there a limit, in percent, to the total discount on quotes linked to sales of this type

Declaration
[DataMember]
public virtual bool MaxDiscountPercentSet { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

MinEarningPercent

The minimum earning in percent of total, if set, on quotes linked to sales of this type

Declaration
[DataMember]
public virtual int MinEarningPercent { get; set; }
Property Value
Type Description
int
See Also
IListAgent

MinEarningPercentSet

Is there a limit, in earning as percent of total, on quotes linked to sales of this type

Declaration
[DataMember]
public virtual bool MinEarningPercentSet { get; set; }
Property Value
Type Description
bool
See Also
IListAgent

Name

The list item

Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type Description
string
See Also
IListAgent

QuoteLinesTemplate

The template that this sale type should use when producing the product lines offer document; the template must have DocTmplQuoteType=QuoteLines

Declaration
[DataMember]
public virtual int QuoteLinesTemplate { get; set; }
Property Value
Type Description
int
See Also
IListAgent

Rank

Rank order

Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
Type Description
short
See Also
IListAgent

SaleDuration

Expected number of dales from initiation to close of sale

Declaration
[DataMember]
public virtual int SaleDuration { get; set; }
Property Value
Type Description
int
See Also
IListAgent

SaleTypeCatId

Category of sale type, copied to sale

Declaration
[DataMember]
public virtual int SaleTypeCatId { get; set; }
Property Value
Type Description
int
See Also
IListAgent

SaleTypeId

Primary key

Declaration
[DataMember]
public virtual int SaleTypeId { get; set; }
Property Value
Type Description
int
See Also
IListAgent

SortGroupLinesBy

Sort group lines by this field

Declaration
[DataMember]
public virtual int SortGroupLinesBy { get; set; }
Property Value
Type Description
int
See Also
IListAgent

Stages

Stages, those associated with this SaleType are selected.

Use MDO List name "salestage" to get list items.

Declaration
[DataMember]
public virtual SelectableMDOListItem[] Stages { get; set; }
Property Value
Type Description
SelectableMDOListItem[]
See Also
IListAgent

Tooltip

Tooltip or other description

Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
Type Description
string
See Also
IListAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IListAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
IListAgent

See Also

IListAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top