Interface IQuoteData
Assembly: SoDataBase.dll
Syntax
public interface IQuoteData
Properties
Declaration
IContactInfo ContactInfo { get; }
Property Value
IsDeleted
Declaration
Property Value
IsDirty
Declaration
Property Value
PersonInfo
Declaration
IPersonInfo PersonInfo { get; }
Property Value
ProjectInfo
Declaration
IProjectInfo ProjectInfo { get; }
Property Value
QuoteRow
Declaration
QuoteRow QuoteRow { get; set; }
Property Value
SaleInfo
Declaration
ISaleInfo SaleInfo { get; }
Property Value
SaleRow
Declaration
Property Value
UserInfo
Declaration
UserInfo UserInfo { get; }
Property Value
Methods
AddQuoteAlternativeAsync(QuoteVersionRow, QuoteAlternativeRow, CancellationToken)
Declaration
Task<QuoteAlternativeRow> AddQuoteAlternativeAsync(QuoteVersionRow quoteVersionRow, QuoteAlternativeRow quoteAlternativeRow, CancellationToken cancellationToken = default)
Parameters
Returns
AddQuoteAlternativeAsync(QuoteVersionRow, CancellationToken)
Declaration
Task<QuoteAlternativeRow> AddQuoteAlternativeAsync(QuoteVersionRow quoteVersionRow, CancellationToken cancellationToken = default)
Parameters
Returns
AddQuoteVersionAsync(QuoteVersionRow, CancellationToken)
Declaration
Task<QuoteVersionRow> AddQuoteVersionAsync(QuoteVersionRow quoteVersionRow, CancellationToken cancellationToken = default)
Parameters
Returns
AddQuoteVersionAsync(CancellationToken)
Declaration
Task<QuoteVersionRow> AddQuoteVersionAsync(CancellationToken cancellationToken = default)
Parameters
Returns
ApplyErpChangesToQuote(QuoteInfo)
Declaration
bool ApplyErpChangesToQuote(QuoteInfo quoteInfo)
Parameters
Returns
ApplyErpChangesToQuote(QuoteInfo, bool)
Declaration
bool ApplyErpChangesToQuote(QuoteInfo quoteInfo, bool ignoreSentry)
Parameters
Returns
ApplyErpChangesToQuote(QuoteVersionContextInfo)
Declaration
bool ApplyErpChangesToQuote(QuoteVersionContextInfo quoteVersionContextInfo)
Parameters
Returns
ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeContextInfo, CancellationToken)
Declaration
Task<bool> ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeContextInfo quoteContextInfo, CancellationToken cancellationToken = default)
Parameters
Returns
ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeInfo, bool, CancellationToken)
Declaration
Task<bool> ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeInfo quoteAlternativeInfo, bool ignoreSentry, CancellationToken cancellationToken = default)
Parameters
Returns
ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeInfo, CancellationToken)
Declaration
Task<bool> ApplyErpChangesToQuoteAlternativeAsync(QuoteAlternativeInfo quoteAlternativeInfo, CancellationToken cancellationToken = default)
Parameters
Returns
ApplyErpChangesToQuoteVersionAsync(QuoteAlternativeContextInfo, CancellationToken)
Declaration
Task<bool> ApplyErpChangesToQuoteVersionAsync(QuoteAlternativeContextInfo quoteAlternativeContextInfo, CancellationToken cancellationToken = default)
Parameters
Returns
ApplyErpChangesToQuoteVersionAsync(QuoteVersionContextInfo, CancellationToken)
Declaration
Task<bool> ApplyErpChangesToQuoteVersionAsync(QuoteVersionContextInfo quoteContextInfo, CancellationToken cancellationToken = default)
Parameters
Returns
ApplyErpChangesToQuoteVersionAsync(QuoteVersionInfo, bool, CancellationToken)
Declaration
Task<bool> ApplyErpChangesToQuoteVersionAsync(QuoteVersionInfo quoteVersionInfo, bool ignoreSentry, CancellationToken cancellationToken = default)
Parameters
Returns
ApplyErpChangesToQuoteVersionAsync(QuoteVersionInfo, CancellationToken)
Declaration
Task<bool> ApplyErpChangesToQuoteVersionAsync(QuoteVersionInfo quoteVersionInfo, CancellationToken cancellationToken = default)
Parameters
Returns
ClearQuoteLineCache()
Declaration
void ClearQuoteLineCache()
CloneQuoteAlternativesAsync(QuoteVersionRow, QuoteVersionRow, List<QuoteAlternativeRow>, CancellationToken)
Declaration
Task CloneQuoteAlternativesAsync(QuoteVersionRow existingQuoteVersionRow, QuoteVersionRow newQuoteVersionRow, List<QuoteAlternativeRow> existingQuoteAlternativeRows, CancellationToken cancellationToken = default)
Parameters
Returns
CloneQuoteAsync(IQuoteManager, CancellationToken)
Declaration
Task CloneQuoteAsync(IQuoteManager copyFromQuoteManager, CancellationToken cancellationToken = default)
Parameters
Returns
CloneQuoteLineRowsAsync(QuoteAlternativeRow, QuoteAlternativeRow, CancellationToken)
Declaration
Task<QuoteLineRows> CloneQuoteLineRowsAsync(QuoteAlternativeRow existingAlternativeRow, QuoteAlternativeRow newAlternativeRow, CancellationToken cancellationToken = default)
Parameters
Returns
CloneQuoteVersionAsync(QuoteVersionRow, CancellationToken)
Declaration
Task<QuoteVersionRow> CloneQuoteVersionAsync(QuoteVersionRow existingQuoteVersionRow, CancellationToken cancellationToken = default)
Parameters
Returns
CopyQuoteAlternativeAsync(int, int, CancellationToken)
Declaration
Task<QuoteAlternativeRow> CopyQuoteAlternativeAsync(int quoteVersionId, int copyFromQuoteAlternativeId, CancellationToken cancellationToken = default)
Parameters
Returns
CreateQuoteAlternativeAsync(QuoteVersionRow, string, CancellationToken)
Declaration
Task<QuoteAlternativeRow> CreateQuoteAlternativeAsync(QuoteVersionRow quoteVersionRow, string alternativeName, CancellationToken cancellationToken = default)
Parameters
Returns
CreateQuoteAlternativeAsync(int, string, CancellationToken)
Declaration
Task<QuoteAlternativeRow> CreateQuoteAlternativeAsync(int quoteVersionId, string alternativeName, CancellationToken cancellationToken = default)
Parameters
Returns
CreateQuoteLine(int)
Declaration
QuoteLineRow CreateQuoteLine(int quoteAlternativeId)
Parameters
Type |
Name |
Description |
int |
quoteAlternativeId |
|
Returns
CreateQuoteVersionAsync(string, CancellationToken)
Declaration
Task<QuoteVersionRow> CreateQuoteVersionAsync(string firstAlternativeName, CancellationToken cancellationToken = default)
Parameters
Returns
CreateQuoteVersionCopyAsync(QuoteVersionRow, List<QuoteAlternativeRow>, CancellationToken)
Declaration
Task<QuoteVersionRow> CreateQuoteVersionCopyAsync(QuoteVersionRow existingQuoteVersionRow, List<QuoteAlternativeRow> existingQuoteAlternativeRows, CancellationToken cancellationToken = default)
Parameters
Returns
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
DeleteQuoteLineAsync(int, CancellationToken)
Declaration
Task DeleteQuoteLineAsync(int quoteLineId, CancellationToken cancellationToken = default)
Parameters
Returns
DeleteQuoteLineRowAsync(int, CancellationToken)
Declaration
Task DeleteQuoteLineRowAsync(int quoteLineId, CancellationToken cancellationToken = default)
Parameters
Returns
DetectErpQuoteLineChangesAsync(List<QuoteLineInfo>, List<QuoteLineInfo>, CancellationToken)
Declaration
Task<QuoteAlternativeRecalculatedHelper> DetectErpQuoteLineChangesAsync(List<QuoteLineInfo> quoteLineInfosBefore, List<QuoteLineInfo> quoteLineInfosAfter, CancellationToken cancellationToken = default)
Parameters
Returns
GetActiveQuoteVersionRowAsync(CancellationToken)
Declaration
Task<QuoteVersionRow> GetActiveQuoteVersionRowAsync(CancellationToken cancellationToken = default)
Parameters
Returns
GetAllRowObjectsAsync(CancellationToken)
Declaration
IAsyncEnumerable<TableRowBase> GetAllRowObjectsAsync(CancellationToken cancellationToken = default)
Parameters
Returns
GetAlternativeRowAsync(int, CancellationToken)
Declaration
Task<QuoteAlternativeRow> GetAlternativeRowAsync(int alternativeId, CancellationToken cancellationToken = default)
Parameters
Returns
GetAlternativeRowsAsync(QuoteVersionRow, CancellationToken)
Declaration
Task<List<QuoteAlternativeRow>> GetAlternativeRowsAsync(QuoteVersionRow quoteVersionRow, CancellationToken cancellationToken = default)
Parameters
Returns
GetAlternativeRowsAsync(int, CancellationToken)
Declaration
Task<List<QuoteAlternativeRow>> GetAlternativeRowsAsync(int quoteVersionId, CancellationToken cancellationToken = default)
Parameters
Returns
GetBillingAddressAsync(int, CancellationToken)
Declaration
Task<AddressRow> GetBillingAddressAsync(int quoteVersionId, CancellationToken cancellationToken = default)
Parameters
Returns
GetLikelyAlternativeRowAsync(QuoteVersionRow, CancellationToken)
Declaration
Task<QuoteAlternativeRow> GetLikelyAlternativeRowAsync(QuoteVersionRow quoteVersionRow, CancellationToken cancellationToken = default)
Parameters
Returns
GetQuoteLineRowAsync(int, CancellationToken)
Declaration
Task<QuoteLineRow> GetQuoteLineRowAsync(int quoteLineId, CancellationToken cancellationToken = default)
Parameters
Returns
GetQuoteLineRowsAsync(int, CancellationToken)
Declaration
Task<QuoteLineRows> GetQuoteLineRowsAsync(int quoteAlternativeId, CancellationToken cancellationToken = default)
Parameters
Returns
GetQuoteVersionsAsync(CancellationToken)
Declaration
Task<Dictionary<QuoteVersionRow, List<QuoteAlternativeRow>>> GetQuoteVersionsAsync(CancellationToken cancellationToken = default)
Parameters
Returns
GetShippingAddressAsync(int, CancellationToken)
Declaration
Task<AddressRow> GetShippingAddressAsync(int quoteVersionId, CancellationToken cancellationToken = default)
Parameters
Returns
GetVersionAttachmentRowsAsync(CancellationToken)
Declaration
Task<Dictionary<QuoteVersionRow, QuoteVersionAttachmentRows>> GetVersionAttachmentRowsAsync(CancellationToken cancellationToken = default)
Parameters
Returns
GetVersionRowAsync(int, CancellationToken)
Declaration
Task<QuoteVersionRow> GetVersionRowAsync(int quoteVersionId, CancellationToken cancellationToken = default)
Parameters
Returns
InitializeAsync(int, CancellationToken)
Declaration
Task InitializeAsync(int saleId, CancellationToken cancellationToken = default)
Parameters
Returns
PopulateQuoteAlternativeRow(QuoteAlternativeRow, QuoteAlternativeInfo)
Declaration
QuoteAlternativeRow PopulateQuoteAlternativeRow(QuoteAlternativeRow quoteAlternativeRow, QuoteAlternativeInfo quoteAlternative)
Parameters
Returns
PopulateQuoteLineRow(QuoteLineRow, QuoteLineInfo)
Declaration
QuoteLineRow PopulateQuoteLineRow(QuoteLineRow quoteLineRow, QuoteLineInfo quoteLine)
Parameters
Returns
PopulateQuoteRow(QuoteRow, QuoteInfo)
Declaration
QuoteRow PopulateQuoteRow(QuoteRow quoteRow, QuoteInfo quoteInfo)
Parameters
Returns
PopulateQuoteVersionRow(QuoteVersionRow, QuoteVersionInfo)
Declaration
QuoteVersionRow PopulateQuoteVersionRow(QuoteVersionRow quoteVersionRow, QuoteVersionInfo quoteVersionInfo)
Parameters
Returns
PopulateQuoteVersionRow(QuoteVersionRow, QuoteVersionInfo, bool)
Declaration
QuoteVersionRow PopulateQuoteVersionRow(QuoteVersionRow quoteVersionRow, QuoteVersionInfo quoteVersionInfo, bool ignorNumberField)
Parameters
Returns
RenameQuoteAlternativeAsync(int, string, CancellationToken)
Declaration
Task RenameQuoteAlternativeAsync(int quoteAlternativeId, string newName, CancellationToken cancellationToken = default)
Parameters
Returns
SaveAlternativesAsync(QuoteVersionRow)
Declaration
Task SaveAlternativesAsync(QuoteVersionRow versionRow)
Parameters
Returns
SaveAsync()
Declaration
Returns
SaveErpQuoteLineChangesAsync(int, QuoteAlternativeRecalculatedHelper, CancellationToken)
Declaration
Task SaveErpQuoteLineChangesAsync(int quoteAlternativeId, QuoteAlternativeRecalculatedHelper i_quoteAlternativeRecalculatedHelper, CancellationToken cancellationToken = default)
Parameters
Returns
SaveQuoteLineAsync(QuoteLineInfo, string, CancellationToken)
Declaration
Task<QuoteLineInfo> SaveQuoteLineAsync(QuoteLineInfo quoteLine, string strImage, CancellationToken cancellationToken = default)
Parameters
Returns
SetOwnAddressAsync(QuoteVersionRow, AddressInfo, AddressType, CancellationToken)
Declaration
Task SetOwnAddressAsync(QuoteVersionRow quoteVersionRow, AddressInfo addressInfo, AddressType addressType, CancellationToken cancellationToken = default)
Parameters
Returns
SetOwnAddressAsync(int, AddressRow, int, CancellationToken)
Declaration
Task SetOwnAddressAsync(int quoteVersionId, AddressRow addressRow, int countryId, CancellationToken cancellationToken = default)
Parameters
Returns
SetQuoteLineImageAsync(QuoteLineInfo, BlobLinkType, string, string, CancellationToken)
Declaration
Task SetQuoteLineImageAsync(QuoteLineInfo quoteLineInfo, BlobLinkType blobLinkType, string base64String, string conceptualType, CancellationToken cancellationToken)
Parameters
Returns
Extension Methods