Class SaleFilterDialogDataHandler
Data fetch/save class for the Sale Filter dialog.
Inherited Members
Namespace: SuperOffice.CRM
Assembly: SoDataBase.dll
Syntax
public static class SaleFilterDialogDataHandler
Methods
AddFilterRestrictions(Select, FieldInfo)
Declaration
public static void AddFilterRestrictions(Select query, FieldInfo dateField)
Parameters
Type | Name | Description |
---|---|---|
Select | query | |
FieldInfo | dateField |
GetToDate()
Get the 'to date', i.e., the date of the newest visible sales. The date is recalculated based on the 'days after' (today) value every time this method is called, and so moves with real time.
Declaration
public static DateTime GetToDate()
Returns
Type | Description |
---|---|
DateTime | Date of latest visible activity, always greater than today |
Save(Int32)
Declaration
public static void Save(int saleAdvanceDays)
Parameters
Type | Name | Description |
---|---|---|
Int32 | saleAdvanceDays | Number of days ahead of Today |