Class PriceListRows.IdxValidFromValidToIsActiveIsERPCopy
Class representing index 'IValidFromValidToIsActiveIsER'.
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class PriceListRows.IdxValidFromValidToIsActiveIsERPCopy : PriceListRows.PriceListRowsIdx, ICloneable, ISentryIgnorable
Constructors
IdxValidFromValidToIsActiveIsERPCopy(DateTime, DateTimeSearchType, DateTime, DateTimeSearchType, short, short)
Constructor for class PriceListRows.IdxValidFromValidToIsActiveIsERPCopy This class represents index 'IValidFromValidToIsActiveIsERPCopy'.
Declaration
public IdxValidFromValidToIsActiveIsERPCopy(DateTime validFrom, DateTimeSearchType validFromSearchType, DateTime validTo, DateTimeSearchType validToSearchType, short isActive, short isERPCopy)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | validFrom | |
| DateTimeSearchType | validFromSearchType | How to search for ValidFrom |
| DateTime | validTo | |
| DateTimeSearchType | validToSearchType | How to search for ValidTo |
| short | isActive | |
| short | isERPCopy |
IdxValidFromValidToIsActiveIsERPCopy(DateTime, DateTime, short, short)
Constructor for class PriceListRows.IdxValidFromValidToIsActiveIsERPCopy This class represents index 'IValidFromValidToIsActiveIsERPCopy'.
Declaration
public IdxValidFromValidToIsActiveIsERPCopy(DateTime validFrom, DateTime validTo, short isActive, short isERPCopy)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | validFrom | |
| DateTime | validTo | |
| short | isActive | |
| short | isERPCopy |
Properties
InnerRestriction
The Restriction passed to the Select statement.
Declaration
protected override Restriction InnerRestriction { get; }
Property Value
| Type | Description |
|---|---|
| Restriction | Restriction object holding the restrictions for the select statement. |
Overrides
IsActive
Is the list active (as opposed to being worked on, suddenly canceled, etc.
Declaration
public short IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
IsERPCopy
If true, then this pricelist is a cache/copy and cannot be edited by users in CRM
Declaration
public short IsERPCopy { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
ValidFrom
The date (inclusive) the pricelist start to be valid. This can be DateTime.MinValue to signal that it doesn't have a specific start date.
Declaration
public DateTime ValidFrom { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
ValidTo
The date (inclusive) the pricelist ends to be valid. This can be DateTime.MaxValue to signal that it doesn't have a specific end date.
Declaration
public DateTime ValidTo { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Methods
UpdateRow(TableRowBase)
Update the PriceListRow with the values from the index.
Declaration
public override void UpdateRow(TableRowBase baseRow)
Parameters
| Type | Name | Description |
|---|---|---|
| TableRowBase | baseRow | The row to update. This must be an instance of PriceListRow. |