Skip to main content

Class SaleTypeEntity

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for SaleTypeEntity.

Inheritance

objectCarrierSaleTypeEntity

Inherited Members

Carrier.TableRight, Carrier.FieldProperties, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Examples

Get SaleTypeEntity 123 using the WebApi client:
var configuration = new WebApiConfiguration(url);
var agent = new ListAgent(configuration);
var saleTypeEntity = agent.GetSaleTypeEntity( 123 );

Constructors

SaleTypeEntity()

Default constructor - defaults any enum props to 0.

Properties

AllowQuoteAlternatives

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

Property Value

bool

ConfirmationLinesTemplate

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

Property Value

int

DefaultQuoteValidity

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

Property Value

int

Deleted

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

Property Value

bool

DurationUnit

Units for the duration (day, week, whatever) NULL if unknown enum value.

Property Value

DurationUnit?

See Also

SaleTypeEntity.DurationUnit_String

DurationUnit_String

Units for the duration (day, week, whatever) Raw string enum value.

Property Value

string

See Also

SaleTypeEntity.DurationUnit

GroupQuoteLinesBy

Group quote lines by this field

Property Value

int

HasGuide

Does this sale type have a guide attached

Property Value

bool

HasStakeholders

Does this sale type have stakeholders

Property Value

bool

IsAutoAdvance

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

Property Value

bool

MaxDiscountPercent

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

Property Value

int

MaxDiscountPercentSet

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

Property Value

bool

MinEarningPercent

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

Property Value

int

MinEarningPercentSet

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

Property Value

bool

Name

The list item

Property Value

string

QuoteLinesTemplate

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

Property Value

int

Rank

Rank order

Property Value

short

SaleDuration

Expected number of dales from initiation to close of sale

Property Value

int

SaleTypeCatId

Category of sale type, copied to sale

Property Value

int

SaleTypeId

Primary key

Property Value

int

SortGroupLinesBy

Sort group lines by this field

Property Value

int

Stages

Stages, those associated with this SaleType are selected.

Use MDO List name “salestage” to get list items.

Property Value

SelectableMDOListItem[]

Tooltip

Tooltip or other description

Property Value

string

See Also

ListAgent