Constructors
NSQuoteAlternative()
Methods
GetDescription()
GetDiscountAmount()
Both the two ‘DiscountPercent’ and ‘DiscountAmount’ shall be filled out, but the UserValueOverride field must be set to the field the user actually changed. If this field is filled out by the user, it overrides the discount suggested by the connector. If the user has not filled any values, the system will copy the ERP discount amount value into this field.
GetDiscountPercent()
Both the two ‘DiscountPercent’ and ‘DiscountAmount’ shall be filled out, but the UserValueOverride field must be set to the field the user actually changed. If this field is filled out by the user, it overrides the discount suggested by the connector. If the user has not filled any values, the system will copy the ERP discount percent value into this field.
GetEarningAmount()
GetEarningPercent()
GetERPDiscountAmount()
Can be overridden by the user in the field ‘DiscountPercent’ or ‘DiscountAmount’. Both the two ‘ERPDiscountPercent’ and ‘ERPDiscountAmount’ shall be filled out. If UserValueOverride is ‘None’, then the ERPDiscountAmount shall be copied into DiscountAmount and ERPDiscountPercent into DiscountPercent.GetERPDiscountPercent()
Can be overridden by the sales rep in the field ‘DiscountPercent’ or ‘DiscountAmount’. Both the two ‘ERPDiscountPercent’ and ‘ERPDiscountAmount’ shall be filled out. If UserValueOverride is ‘None’, then the ERPDiscountAmount shall be copied into DiscountAmount and ERPDiscountPercent into DiscountPercent.
GetERPQuoteAlternativeKey()
GetExtraField1()
GetExtraField2()
GetExtraField3()
GetExtraField4()
GetExtraField5()
GetName()
GetQuoteAlternativeId()
GetQuoteVersionId()
GetReason()
GetStatus()
GetSubTotal()
GetTotalPrice()
GetUserValueOverride()
If the user has filled out the discountpercentage field, then the UserValueOverride field is set to OverridePercent. (The DiscountAmount, EarningPercent, EarningAmount and TotalPrice fields are calculated based on the discountPercent.)
GetVAT()
The SuperOffice quote connector will calculate this field based on the vat PERCENTAGES on the individual lines; other connectors may implement other algorithms at will.
GetVATInfo()
This field has no business logic in the CRM code, but is available as a merge field in the quote documents.
SetDescription(String)
SetDiscountAmount(Float)
If this field is filled out by the user, it overrides the discount suggested by the connector. If the user has not filled any values, the system will copy the ERP discount amount value into this field.
SetDiscountPercent(Float)
If this field is filled out by the user, it overrides the discount suggested by the connector. If the user has not filled any values, the system will copy the ERP discount percent value into this field.
SetEarningAmount(Float)
SetEarningPercent(Float)
SetERPDiscountAmount(Float)
Can be overridden by the user in the field ‘DiscountPercent’ or ‘DiscountAmount’. Both the two ‘ERPDiscountPercent’ and ‘ERPDiscountAmount’ shall be filled out. If UserValueOverride is ‘None’, then the ERPDiscountAmount shall be copied into DiscountAmount and ERPDiscountPercent into DiscountPercent.
SetERPDiscountPercent(Float)
Can be overridden by the sales rep in the field ‘DiscountPercent’ or ‘DiscountAmount’. Both the two ‘ERPDiscountPercent’ and ‘ERPDiscountAmount’ shall be filled out. If UserValueOverride is ‘None’, then the ERPDiscountAmount shall be copied into DiscountAmount and ERPDiscountPercent into DiscountPercent.
SetERPQuoteAlternativeKey(String)
SetExtraField1(String)
SetExtraField2(String)
SetExtraField3(String)
SetExtraField4(String)
SetExtraField5(String)
SetName(String)
SetQuoteAlternativeId(Integer)
SetQuoteVersionId(Integer)
SetReason(String)
SetStatus(Integer)
SetSubTotal(Float)
SetTotalPrice(Float)
SetUserValueOverride(Integer)
If the user has filled out the discountpercentage field, then the UserValueOverride field is set to OverridePercent. (The DiscountAmount, EarningPercent, EarningAmount and TotalPrice fields are calculated based on the discountPercent.)
SetVAT(Float)
The SuperOffice quote connector will calculate this field based on the vat PERCENTAGES on the individual lines; other connectors may implement other algorithms at will.
SetVATInfo(String)
This field has no business logic in the CRM code, but is available as a merge field in the quote documents.