Indicates whether the OrgByPeriodApplication application setting is on or off for the application to which the user is connected. In other words, this method indicates whether the Organization by Period feature is enabled.
<HsvMetadata>.IsOrgByPeriodApplication pvarbIsEnabled
The following example tests the OrgByPeriodApplication application setting. If the setting is on, any code placed within the If structure would be executed.