Class SaleTypeEntity
Namespace: SuperOffice.WebApi.DataAssembly: SuperOffice.WebApi.dll Carrier object for SaleTypeEntity.
Inheritance
object ← Carrier ← SaleTypeEntityInherited 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 AlternativesProperty Value
boolConfirmationLinesTemplate
The template that this sale type should use when producing the order confirmation lines document; the template must have DocTmplQuoteType=ConfirmationLinesProperty Value
intDefaultQuoteValidity
Default valid days for quotes linked to sales of this type (valid from quote transmission)Property Value
intDeleted
0 -> record is active 1 -> record is ‘deleted’ and should not be shown in listsProperty Value
boolDurationUnit
Units for the duration (day, week, whatever) NULL if unknown enum value.Property Value
DurationUnit?See Also
SaleTypeEntity.DurationUnit_StringDurationUnit_String
Units for the duration (day, week, whatever) Raw string enum value.Property Value
stringSee Also
SaleTypeEntity.DurationUnitGroupQuoteLinesBy
Group quote lines by this fieldProperty Value
intHasGuide
Does this sale type have a guide attachedProperty Value
boolHasStakeholders
Does this sale type have stakeholdersProperty Value
boolIsAutoAdvance
Does the sale stage advance automatically, when the last guided activity in a stage is completed?Property Value
boolMaxDiscountPercent
The maximum discount in percent of total, if set, on quotes linked to sales of this typeProperty Value
intMaxDiscountPercentSet
Is there a limit, in percent, to the total discount on quotes linked to sales of this typeProperty Value
boolMinEarningPercent
The minimum earning in percent of total, if set, on quotes linked to sales of this typeProperty Value
intMinEarningPercentSet
Is there a limit, in earning as percent of total, on quotes linked to sales of this typeProperty Value
boolName
The list itemProperty Value
stringQuoteLinesTemplate
The template that this sale type should use when producing the product lines offer document; the template must have DocTmplQuoteType=QuoteLinesProperty Value
intRank
Rank orderProperty Value
shortSaleDuration
Expected number of dales from initiation to close of saleProperty Value
intSaleTypeCatId
Category of sale type, copied to saleProperty Value
intSaleTypeId
Primary keyProperty Value
intSortGroupLinesBy
Sort group lines by this fieldProperty Value
intStages
Stages, those associated with this SaleType are selected.Use MDO List name “salestage” to get list items.