Skip to main content

Constructors

NSSaleTypeEntity()

Initializes a new instance of the NSSaleTypeEntity class.

Methods

GetAllowQuoteAlternatives()

Returns: CRMScript.Global.Bool - Can quotes linked to sales of this type, have multiple Alternatives. Example:

GetConfirmationLinesTemplate()

Returns: CRMScript.Global.Integer - The template that this sale type should use when producing the order confirmation lines document; the template must have DocTmplQuoteType=ConfirmationLines. Example:

GetDefaultQuoteValidity()

Returns: CRMScript.Global.Integer - Default valid days for quotes linked to sales of this type (valid from quote transmission). Example:

GetDeleted()

Returns: CRMScript.Global.Bool - 0 -> record is active 1 -> record is ‘deleted’ and should not be shown in lists. Example:

GetDurationUnit()

Returns: CRMScript.Global.Integer - Units for the duration (day, week, whatever). See <xref href=“CRMScript.NetServer.DurationUnit” data-throw-if-not-resolved=“false”></xref>. Example:

GetGroupQuoteLinesBy()

Returns: CRMScript.Global.Integer - Group quote lines by this field. Example:

GetHasGuide()

Returns: CRMScript.Global.Bool - Does this sale type have a guide attached. Example:

GetHasStakeholders()

Returns: CRMScript.Global.Bool - Does this sale type have stakeholders. Example:

GetIsAutoAdvance()

Returns: CRMScript.Global.Bool - Does the sale stage advance automatically, when the last guided activity in a stage is completed? Example:

GetMaxDiscountPercent()

Returns: CRMScript.Global.Integer - The maximum discount in percent of total, if set, on quotes linked to sales of this type. Example:

GetMaxDiscountPercentSet()

Returns: CRMScript.Global.Bool - Is there a limit, in percent, to the total discount on quotes linked to sales of this type. Example:

GetMinEarningPercent()

Returns: CRMScript.Global.Integer - The minimum earning in percent of total, if set, on quotes linked to sales of this type. Example:

GetMinEarningPercentSet()

Returns: CRMScript.Global.Bool - Is there a limit, in earning as percent of total, on quotes linked to sales of this type. Example:

GetName()

Returns: CRMScript.Global.String - The list item. Example:

GetQuoteLinesTemplate()

Returns: CRMScript.Global.Integer - The template that this sale type should use when producing the product lines offer document; the template must have DocTmplQuoteType=QuoteLines. Example:

GetRank()

Returns: CRMScript.Global.Integer - Rank order. Example:

GetSaleDuration()

Returns: CRMScript.Global.Integer - Expected number of dales from initiation to close of sale. Example:

GetSaleTypeCatId()

Returns: CRMScript.Global.Integer - Category of sale type, copied to sale. Example:

GetSaleTypeId()

Returns: CRMScript.Global.Integer - Primary key. Example:

GetSortGroupLinesBy()

Returns: CRMScript.Global.Integer - Sort group lines by this field. Example:

GetStages()

Returns: CRMScript.NetServer.NSSelectableMDOListItem[] - Stages, those associated with this NSSaleType are selected. Example:

GetTooltip()

Returns: CRMScript.Global.String - Tooltip or other description. Example:

SetAllowQuoteAlternatives(Bool)

Returns: CRMScript.Global.Void Example:

SetConfirmationLinesTemplate(Integer)

Returns: CRMScript.Global.Void Example:

SetDefaultQuoteValidity(Integer)

Returns: CRMScript.Global.Void Example:

SetDeleted(Bool)

Returns: CRMScript.Global.Void Example:

SetDurationUnit(Integer)

Returns: CRMScript.Global.Void Example:

SetGroupQuoteLinesBy(Integer)

Returns: CRMScript.Global.Void Example:

SetHasGuide(Bool)

Returns: CRMScript.Global.Void Example:

SetHasStakeholders(Bool)

Returns: CRMScript.Global.Void Example:

SetIsAutoAdvance(Bool)

Returns: CRMScript.Global.Void Example:

SetMaxDiscountPercent(Integer)

Returns: CRMScript.Global.Void Example:

SetMaxDiscountPercentSet(Bool)

Returns: CRMScript.Global.Void Example:

SetMinEarningPercent(Integer)

Returns: CRMScript.Global.Void Example:

SetMinEarningPercentSet(Bool)

Returns: CRMScript.Global.Void Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetQuoteLinesTemplate(Integer)

Returns: CRMScript.Global.Void Example:

SetRank(Integer)

Returns: CRMScript.Global.Void Example:

SetSaleDuration(Integer)

Returns: CRMScript.Global.Void Example:

SetSaleTypeCatId(Integer)

Returns: CRMScript.Global.Void Example:

SetSaleTypeId(Integer)

Returns: CRMScript.Global.Void Example:

SetSortGroupLinesBy(Integer)

Returns: CRMScript.Global.Void Example:

SetStages(NSSelectableMDOListItem[])

Returns: CRMScript.Global.Void Example:

SetTooltip(String)

Returns: CRMScript.Global.Void Example: