Class FindErpProductProvider
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Implements
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("FindErpProduct", 1073741823)]
public class FindErpProductProvider : Object, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
Constructors
FindErpProductProvider(String)
Construct wrapper and dispatch to correct real provider, based on whether a custom implementation is available or not
Declaration
public FindErpProductProvider(string context)
Parameters
Type | Name | Description |
---|---|---|
String | context |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
Fields
ProviderName
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public const string ProviderName = "FindErpProduct"
Field Value
Type | Description |
---|---|
String |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
QuoteAlternativeContext
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public const string QuoteAlternativeContext = "QuoteAlternativeId"
Field Value
Type | Description |
---|---|
String |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
QuoteConnectionContext
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public const string QuoteConnectionContext = "QuoteConnectionId"
Field Value
Type | Description |
---|---|
String |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
QuoteContext
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public const string QuoteContext = "QuoteId"
Field Value
Type | Description |
---|---|
String |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
UserInputRestriction
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public const string UserInputRestriction = "userInput"
Field Value
Type | Description |
---|---|
String |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
Methods
Close()
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public void Close()
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
GetAvailableColumns()
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public List<ArchiveColumnInfo> GetAvailableColumns()
Returns
Type | Description |
---|---|
List<ArchiveColumnInfo> |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
GetAvailableEntities()
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public List<ArchiveRowTypeInfo> GetAvailableEntities()
Returns
Type | Description |
---|---|
List<ArchiveRowTypeInfo> |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
GetReader(String)
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public IDataReader GetReader(string options)
Parameters
Type | Name | Description |
---|---|---|
String | options |
Returns
Type | Description |
---|---|
IDataReader |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
GetResultInformation()
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public ArchiveResultInformation GetResultInformation()
Returns
Type | Description |
---|---|
ArchiveResultInformation |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
GetRows(String)
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public IEnumerable<ArchiveRow> GetRows(string options)
Parameters
Type | Name | Description |
---|---|---|
String | options |
Returns
Type | Description |
---|---|
IEnumerable<ArchiveRow> |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
SetDesiredColumns(String[])
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public void SetDesiredColumns(params string[] columnIds)
Parameters
Type | Name | Description |
---|---|---|
String[] | columnIds |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
SetDesiredEntities(String[])
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public void SetDesiredEntities(params string[] entities)
Parameters
Type | Name | Description |
---|---|---|
String[] | entities |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
SetOrderBy(ArchiveOrderByInfo[])
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public void SetOrderBy(params ArchiveOrderByInfo[] orderBy)
Parameters
Type | Name | Description |
---|---|---|
ArchiveOrderByInfo[] | orderBy |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
SetPagingInfo(Int32, Int32)
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public void SetPagingInfo(int pageSize, int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
Int32 | pageSize | |
Int32 | pageNumber |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.
SetRestriction(ArchiveRestrictionInfo[])
Find products through a Quote Connector, either through the standard interface or by dispatching to a custom provider, if one is supplied.
Declaration
public bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRestrictionInfo[] | restrictions |
Returns
Type | Description |
---|---|
Boolean |
Remarks
The mandatory quoteAlternativeId or quoteId is used to look up the correct connection/connector. If the connector contains a provider called FindProductsXYZ, where XYZ is the same as the name specified in the connector's QuoteConnectorAttribute name, then that custom provider is called. Otherwise, the FindProduct method of the connector will be called and its results transformed into an archive provider result set.
From quoteAlternativeId or quoteId the currency of the sale will be derived and added as a ArchiveRestrictionInfo to the search provider. The restriction name will be 'currencyName'
Default restrictions will also be added: priceList/isActive, priceList/validFrom and priceList/validTo.