Show / Hide Table of Contents

Interface IQuoteData

Namespace: SuperOffice.CRM.Sale
Assembly: SoDataBase.dll
Syntax
public interface IQuoteData

Properties

ContactInfo

Declaration
IContactInfo ContactInfo { get; }
Property Value
Type Description
IContactInfo

IsDeleted

Declaration
bool IsDeleted { get; }
Property Value
Type Description
bool

IsDirty

Declaration
bool IsDirty { get; }
Property Value
Type Description
bool

PersonInfo

Declaration
IPersonInfo PersonInfo { get; }
Property Value
Type Description
IPersonInfo

ProjectInfo

Declaration
IProjectInfo ProjectInfo { get; }
Property Value
Type Description
IProjectInfo

QuoteRow

Declaration
QuoteRow QuoteRow { get; set; }
Property Value
Type Description
QuoteRow

SaleInfo

Declaration
ISaleInfo SaleInfo { get; }
Property Value
Type Description
ISaleInfo

SaleRow

Declaration
SaleRow SaleRow { get; }
Property Value
Type Description
SaleRow

UserInfo

Declaration
UserInfo UserInfo { get; }
Property Value
Type Description
UserInfo

Methods

AddQuoteAlternativeAsync(QuoteVersionRow, QuoteAlternativeRow, CancellationToken)

Declaration
Task<QuoteAlternativeRow> AddQuoteAlternativeAsync(QuoteVersionRow quoteVersionRow, QuoteAlternativeRow quoteAlternativeRow, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionRow quoteVersionRow
QuoteAlternativeRow quoteAlternativeRow
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteAlternativeRow>

AddQuoteAlternativeAsync(QuoteVersionRow, CancellationToken)

Declaration
Task<QuoteAlternativeRow> AddQuoteAlternativeAsync(QuoteVersionRow quoteVersionRow, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionRow quoteVersionRow
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteAlternativeRow>

AddQuoteVersionAsync(QuoteVersionRow, CancellationToken)

Declaration
Task<QuoteVersionRow> AddQuoteVersionAsync(QuoteVersionRow quoteVersionRow, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionRow quoteVersionRow
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteVersionRow>

AddQuoteVersionAsync(CancellationToken)

Declaration
Task<QuoteVersionRow> AddQuoteVersionAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteVersionRow>

ApplyErpChangesToQuote(QuoteInfo)

Declaration
bool ApplyErpChangesToQuote(QuoteInfo quoteInfo)
Parameters
Type Name Description
QuoteInfo quoteInfo
Returns
Type Description
bool

ApplyErpChangesToQuote(QuoteInfo, bool)

Declaration
bool ApplyErpChangesToQuote(QuoteInfo quoteInfo, bool ignoreSentry)
Parameters
Type Name Description
QuoteInfo quoteInfo
bool ignoreSentry
Returns
Type Description
bool

ApplyErpChangesToQuote(QuoteVersionContextInfo)

Declaration
bool ApplyErpChangesToQuote(QuoteVersionContextInfo quoteVersionContextInfo)
Parameters
Type Name Description
QuoteVersionContextInfo quoteVersionContextInfo
Returns
Type Description
bool

ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeContextInfo, CancellationToken)

Declaration
Task<bool> ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeContextInfo quoteContextInfo, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteAlternativeContextInfo quoteContextInfo
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeInfo, bool, CancellationToken)

Declaration
Task<bool> ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeInfo quoteAlternativeInfo, bool ignoreSentry, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteAlternativeInfo quoteAlternativeInfo
bool ignoreSentry
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeInfo, CancellationToken)

Declaration
Task<bool> ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeInfo quoteAlternativeInfo, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteAlternativeInfo quoteAlternativeInfo
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

ApplyErpChangesToQuoteVersionAsync(QuoteAlternativeContextInfo, CancellationToken)

Declaration
Task<bool> ApplyErpChangesToQuoteVersionAsync(QuoteAlternativeContextInfo quoteAlternativeContextInfo, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteAlternativeContextInfo quoteAlternativeContextInfo
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

ApplyErpChangesToQuoteVersionAsync(QuoteVersionContextInfo, CancellationToken)

Declaration
Task<bool> ApplyErpChangesToQuoteVersionAsync(QuoteVersionContextInfo quoteContextInfo, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionContextInfo quoteContextInfo
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

ApplyErpChangesToQuoteVersionAsync(QuoteVersionInfo, bool, CancellationToken)

Declaration
Task<bool> ApplyErpChangesToQuoteVersionAsync(QuoteVersionInfo quoteVersionInfo, bool ignoreSentry, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionInfo quoteVersionInfo
bool ignoreSentry
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

ApplyErpChangesToQuoteVersionAsync(QuoteVersionInfo, CancellationToken)

Declaration
Task<bool> ApplyErpChangesToQuoteVersionAsync(QuoteVersionInfo quoteVersionInfo, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionInfo quoteVersionInfo
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

ClearQuoteLineCache()

Declaration
void ClearQuoteLineCache()

CloneQuoteAlternativesAsync(QuoteVersionRow, QuoteVersionRow, List<QuoteAlternativeRow>, CancellationToken)

Declaration
Task CloneQuoteAlternativesAsync(QuoteVersionRow existingQuoteVersionRow, QuoteVersionRow newQuoteVersionRow, List<QuoteAlternativeRow> existingQuoteAlternativeRows, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionRow existingQuoteVersionRow
QuoteVersionRow newQuoteVersionRow
List<QuoteAlternativeRow> existingQuoteAlternativeRows
CancellationToken cancellationToken
Returns
Type Description
Task

CloneQuoteAsync(IQuoteManager, CancellationToken)

Declaration
Task CloneQuoteAsync(IQuoteManager copyFromQuoteManager, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IQuoteManager copyFromQuoteManager
CancellationToken cancellationToken
Returns
Type Description
Task

CloneQuoteLineRowsAsync(QuoteAlternativeRow, QuoteAlternativeRow, CancellationToken)

Declaration
Task<QuoteLineRows> CloneQuoteLineRowsAsync(QuoteAlternativeRow existingAlternativeRow, QuoteAlternativeRow newAlternativeRow, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteAlternativeRow existingAlternativeRow
QuoteAlternativeRow newAlternativeRow
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteLineRows>

CloneQuoteVersionAsync(QuoteVersionRow, CancellationToken)

Declaration
Task<QuoteVersionRow> CloneQuoteVersionAsync(QuoteVersionRow existingQuoteVersionRow, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionRow existingQuoteVersionRow
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteVersionRow>

CopyQuoteAlternativeAsync(int, int, CancellationToken)

Declaration
Task<QuoteAlternativeRow> CopyQuoteAlternativeAsync(int quoteVersionId, int copyFromQuoteAlternativeId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteVersionId
int copyFromQuoteAlternativeId
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteAlternativeRow>

CreateQuoteAlternativeAsync(QuoteVersionRow, string, CancellationToken)

Declaration
Task<QuoteAlternativeRow> CreateQuoteAlternativeAsync(QuoteVersionRow quoteVersionRow, string alternativeName, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionRow quoteVersionRow
string alternativeName
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteAlternativeRow>

CreateQuoteAlternativeAsync(int, string, CancellationToken)

Declaration
Task<QuoteAlternativeRow> CreateQuoteAlternativeAsync(int quoteVersionId, string alternativeName, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteVersionId
string alternativeName
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteAlternativeRow>

CreateQuoteLine(int)

Declaration
QuoteLineRow CreateQuoteLine(int quoteAlternativeId)
Parameters
Type Name Description
int quoteAlternativeId
Returns
Type Description
QuoteLineRow

CreateQuoteVersionAsync(string, CancellationToken)

Declaration
Task<QuoteVersionRow> CreateQuoteVersionAsync(string firstAlternativeName, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string firstAlternativeName
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteVersionRow>

CreateQuoteVersionCopyAsync(QuoteVersionRow, List<QuoteAlternativeRow>, CancellationToken)

Declaration
Task<QuoteVersionRow> CreateQuoteVersionCopyAsync(QuoteVersionRow existingQuoteVersionRow, List<QuoteAlternativeRow> existingQuoteAlternativeRows, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionRow existingQuoteVersionRow
List<QuoteAlternativeRow> existingQuoteAlternativeRows
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteVersionRow>

DeleteQuote(int)

Declaration
void DeleteQuote(int quoteId)
Parameters
Type Name Description
int quoteId

DeleteQuoteAlternativeAsync(int)

Declaration
Task DeleteQuoteAlternativeAsync(int quoteAlternativeId)
Parameters
Type Name Description
int quoteAlternativeId
Returns
Type Description
Task

DeleteQuoteLineAsync(int, CancellationToken)

Declaration
Task DeleteQuoteLineAsync(int quoteLineId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteLineId
CancellationToken cancellationToken
Returns
Type Description
Task

DeleteQuoteLineRowAsync(int, CancellationToken)

Declaration
Task DeleteQuoteLineRowAsync(int quoteLineId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteLineId
CancellationToken cancellationToken
Returns
Type Description
Task

DetectErpQuoteLineChangesAsync(List<QuoteLineInfo>, List<QuoteLineInfo>, CancellationToken)

Declaration
Task<QuoteAlternativeRecalculatedHelper> DetectErpQuoteLineChangesAsync(List<QuoteLineInfo> quoteLineInfosBefore, List<QuoteLineInfo> quoteLineInfosAfter, CancellationToken cancellationToken = default)
Parameters
Type Name Description
List<QuoteLineInfo> quoteLineInfosBefore
List<QuoteLineInfo> quoteLineInfosAfter
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteAlternativeRecalculatedHelper>

GetActiveQuoteVersionRowAsync(CancellationToken)

Declaration
Task<QuoteVersionRow> GetActiveQuoteVersionRowAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteVersionRow>

GetAllRowObjectsAsync(CancellationToken)

Declaration
IAsyncEnumerable<TableRowBase> GetAllRowObjectsAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<TableRowBase>

GetAlternativeRowAsync(int, CancellationToken)

Declaration
Task<QuoteAlternativeRow> GetAlternativeRowAsync(int alternativeId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int alternativeId
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteAlternativeRow>

GetAlternativeRowsAsync(QuoteVersionRow, CancellationToken)

Declaration
Task<List<QuoteAlternativeRow>> GetAlternativeRowsAsync(QuoteVersionRow quoteVersionRow, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionRow quoteVersionRow
CancellationToken cancellationToken
Returns
Type Description
Task<List<QuoteAlternativeRow>>

GetAlternativeRowsAsync(int, CancellationToken)

Declaration
Task<List<QuoteAlternativeRow>> GetAlternativeRowsAsync(int quoteVersionId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteVersionId
CancellationToken cancellationToken
Returns
Type Description
Task<List<QuoteAlternativeRow>>

GetBillingAddressAsync(int, CancellationToken)

Declaration
Task<AddressRow> GetBillingAddressAsync(int quoteVersionId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteVersionId
CancellationToken cancellationToken
Returns
Type Description
Task<AddressRow>

GetLikelyAlternativeRowAsync(QuoteVersionRow, CancellationToken)

Declaration
Task<QuoteAlternativeRow> GetLikelyAlternativeRowAsync(QuoteVersionRow quoteVersionRow, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionRow quoteVersionRow
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteAlternativeRow>

GetQuoteLineRowAsync(int, CancellationToken)

Declaration
Task<QuoteLineRow> GetQuoteLineRowAsync(int quoteLineId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteLineId
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteLineRow>

GetQuoteLineRowsAsync(int, CancellationToken)

Declaration
Task<QuoteLineRows> GetQuoteLineRowsAsync(int quoteAlternativeId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteAlternativeId
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteLineRows>

GetQuoteVersionsAsync(CancellationToken)

Declaration
Task<Dictionary<QuoteVersionRow, List<QuoteAlternativeRow>>> GetQuoteVersionsAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<Dictionary<QuoteVersionRow, List<QuoteAlternativeRow>>>

GetShippingAddressAsync(int, CancellationToken)

Declaration
Task<AddressRow> GetShippingAddressAsync(int quoteVersionId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteVersionId
CancellationToken cancellationToken
Returns
Type Description
Task<AddressRow>

GetVersionAttachmentRowsAsync(CancellationToken)

Declaration
Task<Dictionary<QuoteVersionRow, QuoteVersionAttachmentRows>> GetVersionAttachmentRowsAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<Dictionary<QuoteVersionRow, QuoteVersionAttachmentRows>>

GetVersionRowAsync(int, CancellationToken)

Declaration
Task<QuoteVersionRow> GetVersionRowAsync(int quoteVersionId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteVersionId
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteVersionRow>

InitializeAsync(int, CancellationToken)

Declaration
Task InitializeAsync(int saleId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int saleId
CancellationToken cancellationToken
Returns
Type Description
Task

PopulateQuoteAlternativeRow(QuoteAlternativeRow, QuoteAlternativeInfo)

Declaration
QuoteAlternativeRow PopulateQuoteAlternativeRow(QuoteAlternativeRow quoteAlternativeRow, QuoteAlternativeInfo quoteAlternative)
Parameters
Type Name Description
QuoteAlternativeRow quoteAlternativeRow
QuoteAlternativeInfo quoteAlternative
Returns
Type Description
QuoteAlternativeRow

PopulateQuoteLineRow(QuoteLineRow, QuoteLineInfo)

Declaration
QuoteLineRow PopulateQuoteLineRow(QuoteLineRow quoteLineRow, QuoteLineInfo quoteLine)
Parameters
Type Name Description
QuoteLineRow quoteLineRow
QuoteLineInfo quoteLine
Returns
Type Description
QuoteLineRow

PopulateQuoteRow(QuoteRow, QuoteInfo)

Declaration
QuoteRow PopulateQuoteRow(QuoteRow quoteRow, QuoteInfo quoteInfo)
Parameters
Type Name Description
QuoteRow quoteRow
QuoteInfo quoteInfo
Returns
Type Description
QuoteRow

PopulateQuoteVersionRow(QuoteVersionRow, QuoteVersionInfo)

Declaration
QuoteVersionRow PopulateQuoteVersionRow(QuoteVersionRow quoteVersionRow, QuoteVersionInfo quoteVersionInfo)
Parameters
Type Name Description
QuoteVersionRow quoteVersionRow
QuoteVersionInfo quoteVersionInfo
Returns
Type Description
QuoteVersionRow

PopulateQuoteVersionRow(QuoteVersionRow, QuoteVersionInfo, bool)

Declaration
QuoteVersionRow PopulateQuoteVersionRow(QuoteVersionRow quoteVersionRow, QuoteVersionInfo quoteVersionInfo, bool ignorNumberField)
Parameters
Type Name Description
QuoteVersionRow quoteVersionRow
QuoteVersionInfo quoteVersionInfo
bool ignorNumberField
Returns
Type Description
QuoteVersionRow

RenameQuoteAlternativeAsync(int, string, CancellationToken)

Declaration
Task RenameQuoteAlternativeAsync(int quoteAlternativeId, string newName, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteAlternativeId
string newName
CancellationToken cancellationToken
Returns
Type Description
Task

SaveAlternativesAsync(QuoteVersionRow)

Declaration
Task SaveAlternativesAsync(QuoteVersionRow versionRow)
Parameters
Type Name Description
QuoteVersionRow versionRow
Returns
Type Description
Task

SaveAsync()

Declaration
Task SaveAsync()
Returns
Type Description
Task

SaveErpQuoteLineChangesAsync(int, QuoteAlternativeRecalculatedHelper, CancellationToken)

Declaration
Task SaveErpQuoteLineChangesAsync(int quoteAlternativeId, QuoteAlternativeRecalculatedHelper i_quoteAlternativeRecalculatedHelper, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteAlternativeId
QuoteAlternativeRecalculatedHelper i_quoteAlternativeRecalculatedHelper
CancellationToken cancellationToken
Returns
Type Description
Task

SaveQuoteLineAsync(QuoteLineInfo, string, CancellationToken)

Declaration
Task<QuoteLineInfo> SaveQuoteLineAsync(QuoteLineInfo quoteLine, string strImage, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteLineInfo quoteLine
string strImage
CancellationToken cancellationToken
Returns
Type Description
Task<QuoteLineInfo>

SetOwnAddressAsync(QuoteVersionRow, AddressInfo, AddressType, CancellationToken)

Declaration
Task SetOwnAddressAsync(QuoteVersionRow quoteVersionRow, AddressInfo addressInfo, AddressType addressType, CancellationToken cancellationToken = default)
Parameters
Type Name Description
QuoteVersionRow quoteVersionRow
AddressInfo addressInfo
AddressType addressType
CancellationToken cancellationToken
Returns
Type Description
Task

SetOwnAddressAsync(int, AddressRow, int, CancellationToken)

Declaration
Task SetOwnAddressAsync(int quoteVersionId, AddressRow addressRow, int countryId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int quoteVersionId
AddressRow addressRow
int countryId
CancellationToken cancellationToken
Returns
Type Description
Task

SetQuoteLineImageAsync(QuoteLineInfo, BlobLinkType, string, string, CancellationToken)

Declaration
Task SetQuoteLineImageAsync(QuoteLineInfo quoteLineInfo, BlobLinkType blobLinkType, string base64String, string conceptualType, CancellationToken cancellationToken)
Parameters
Type Name Description
QuoteLineInfo quoteLineInfo
BlobLinkType blobLinkType
string base64String
string conceptualType
CancellationToken cancellationToken
Returns
Type Description
Task

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top