DatePropertiesWithinPeriod
The context class for pre-macros was extended to support three new properties for date that are relevant for the handling of file descriptor patterns that use @withinPeriod. These properties are only available in the context of pre-macros.
| Property | Description |
|---|---|
|
AuditPeriodStart as Date |
Gets/sets the audit period's start date. |
|
AuditPeriodEnd as Date |
Gets/sets the audit period's end date. |
|
AuditPeriodByStart as Date |
Gets/sets the start date of the period's business year. |
Example
Sub Main()
SmartContext.AuditPeriodStart = DateSerial(2005, 5, 1)
SmartContext.AuditPeriodEnd = DateSerial(2005, 12, 31)
SmartContext.AuditPeriodByStart = DateSerial(2005, 1, 1)
End Sub