Click or drag to resize

IQuoteAlternative Interface

IQuoteAlternative Interface

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
public interface IQuoteAlternative : IModelBase

The IQuoteAlternative type exposes the following members.

Properties
  NameDescription
Public propertyChanged
has record been changed since read?
Public propertyCreatedAssociate
The user that created the object
Public propertyCreatedDate
The date the object was saved to the database.
Public propertyDescription
Description: Tooltip/description
Public propertyDiscountAmount
DiscountAmount: Discount as absolute amount; either this or DiscountPercent is set, never both
Public propertyDiscountPercent
DiscountPercent: Discount in %; either this or DiscountAmount is set, never both
Public propertyEarningAmount
EarningAmount: Earning on this alternative, as an absolute amount
Public propertyEarningPercent
EarningPercent: Earning on this alternative, in percent of total
Public propertyERPDiscountAmount
ERPDiscountAmount: The discount the system calculates based on customer / amount / whatever. Can be overridden by the salesman in the field 'discountPercent' or 'discountAmount'. Only one of the two ERPDiscountPercent and ERPDiscountAmount' will be filled out,
Public propertyERPDiscountPercent
ERPDiscountPercent: The discount the system calculates based on customer / amount / whatever. Can be overridden by the salesman in the field 'discountPercent' or 'discountAmount'. Only one of the two ERPDiscountPercent and ERPDiscountAmount' will be filled out
Public propertyERPQuoteAlternativeKey
ERPQuoteAlternativeKey: Key that identifies this alternative in the ERP system, if it exists there
Public propertyExtraField1
ExtraField1: Optional information added by Quote Connector; usable in the quote document merge process
Public propertyExtraField2
ExtraField2: Optional information added by Quote Connector; usable in the quote document merge process
Public propertyExtraField3
ExtraField3: Optional information added by Quote Connector; usable in the quote document merge process
Public propertyExtraField4
ExtraField4: Optional information added by Quote Connector; usable in the quote document merge process
Public propertyExtraField5
ExtraField5: Optional information added by Quote Connector; usable in the quote document merge process
Public propertyIdentity
The primary key on the primary table. Is zero for new objects. Is set when an object is saved.
Public propertyIsAvailable
is record available in db?
Public propertyIsRequiredFilled
Are all the required fields filled out? Can we save the record?
Public propertyIsValid
does the record exist?
Public propertyName
Name: Name on tab, intentionally kept short
Public propertyQuoteVersionId
QuoteVersionId: The version that owns this alternative
Public propertyReason
Reason: If QuoteStatus is not OK, then this field should contain the reason or other relevant information to be shown to the user
Public propertySentry
Sentry settings for this object. Lets you find out your read/write access to the object.
Public propertyStatus
QuoteStatus: The status tells the system how the connector evaluated the state. Typically shown as an icon. QuoteStatus is an enum with statuses: OK, OKWithInfo, Warning, Error
Public propertyTotalPrice
TotalPrice: Total price, sum of lines - discount
Public propertyUpdatedAssociate
The last user to modify the object
Public propertyUpdatedDate
The date of the most recent update.
Public propertyUserValueOverride
UserValueOverride: Has the pre-calculated (from ERP) discount information been overridden, and how
Public propertyVAT
VAT: Tax/VAT if available from ERP system; not used in any business logic in SuperOffice; available to document templates
Public propertyVATInfo
VATInfo: Tax/VAT information, transported from ERP system but not used in any business logic in SuperOffice; available to document templates
Top
Methods
  NameDescription
Public methodCancelChanges
Undo any changes made since the object was loaded.
Public methodChangeIdentity
Loads a different record into the object. Causes changes to the existing object to be saved first.
Public methodDelete
Delete the object from the database. May throw an error if you are not allowed to delete the object.
Public methodSave
Persist the object to the database. May throw an error if you are not allowed to save changes to the object.
Public methodSetDefaults
Populate the object with default values, such as setting the owner to the current user.
Top
See Also