dbo.SXAHMEventIntraOccurrenceRule 
Default Table Name  SXAHMEventIntraOccurrenceRule 
Definition  Defines the spacing rules between the occurrences of a series, which are generally used to calculate catchup schedules. 

dbo.SXAHMEventIntraOccurrenceRule Columns 
ColumnName  Domain  Datatype  NULL  Definition 
Build    int  NO  Identifies the build number and patch level of the software that inserted/updated this row. The format is the Build number followed by 3 digits for the patch level which is typically 000. The build number is tied to specific versions of the software, e.g. Sunrise 15.3 is Build 5021, Sunrise 16.3 is Build 5503. 
TouchedBy    varchar(50)  NO  Information about the user that last updated the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
TouchedWhenUTC    datetimeoffset(3)  NO  The date and time that the row was last updated including the time zone offset from UTC, for example 2015-01-30 04:55:04.372 -05:00. The date and time is based on the Enterprise Time Zone. 
CreatedBy    varchar(50)  NO  Information about the user that created the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
CreatedWhenUTC    datetimeoffset(3)  NO  The date and time that the row was created including the time zone offset from UTC, for example 2015-01-30 04:55:04.372 -05:00. The date and time is based on the Enterprise Time Zone. 
Active    bit  NO  Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. 
EventIntraOccurrenceRuleID(PK)    int  NO  Auto generated unique primary key value. 
EventSeriesDefinitionID(FK)    int  NO  A foreign key to the EventSeriesDefinitionID column in the SXAHMEventSeriesDefinition table. 
PrevSequenceNumber    smallint  NO  Defines the sequential number of previous occurrence, for which this rule is defining the spacing, relative to the current sequence number. For example, if the SequenceNumber is 3, and the PrevSequenceNumber is 1, then we are defining the spacing relationship that occurrence 3 has with occurrence 1. 
SequenceNumber    smallint  NO  Defines the sequential number of occurrence that this rule is for. For example, if the SequenceNumber is 3, then we are defining the gap rules between occurrence 3 and the occurrence indicated by the PrevSequenceNumber column. 
CurrentAgeMin    varchar(30)  NO  The minimum client age at which this rule applies. An alphanumeric string representing an age. Accepted values will be all of, or part of, this format: ##y##m##w###d 
CurrentAgeMax    varchar(30)  NO  The maximum client age at which this rule applies. An alphanumeric string representing an age. Accepted values will be all of, or part of, this format: ##y##m##w###d 
PrevOccurrenceAgeMin    varchar(30)  NO  This rule only applies if the previous occurrence was completed after this minimum client age. An alphanumeric string representing an age. Accepted values will be all of, or part of, this format: ##y##m##w###d 
PrevOccurrenceAgeMax    varchar(30)  NO  This rule only applies if the previous occurrence was completed before this maximum client age. An alphanumeric string representing an age. Accepted values will be all of, or part of, this format: ##y##m##w###d 
GapMin    varchar(30)  YES  The minimum amount of time that is allowed to elapse between the scheduling completion of the occurrence represented by the SequenceNumber column, and the completion of the occurrence represented by the PrevSequenceNumber column.
An alphanumeric string representing an amount of time. Accepted values will be all of, or part of, this format: ##y##m##w###d 
IsFinalOccurrence    bit  NO  Flag to indicate that this occurrence, as indicated by the SequenceNumber column, becomes the last occurrence of the series because it is completed so late that any further occurrences can no longer be scheduled or completed. For example, if occurrence 3 is given too late, then occurrence 3 completes the series and occurrence 4 can no longer be scheduled. 
MSRowVersion    timestamp  NO  Optimistic lock identifier using rowversion datatype. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXAHMEventIntraOccurrenceRule Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAHMEventIntraOccurrenceRulePK  PrimaryKey  EventIntraOccurrenceRuleID