Table SMFBlock

Description of table SMFBlock

The Standard Message Format Block table is a record of the submission of data for a particular district either through online editing or via file submission. The details of the block, who submitted it and so forth are contained in this table.


Code preview of table SMFBlock

use StudentCentered
go

if exists (select 1
from sysindexes
where id = object_id('dbo.SMFBlock')
and name = 'SMFFile_FK'
and indid > 0
and indid < 255)
drop index dbo.SMFBlock.SMFFile_FK
go

if exists (select 1
from sysindexes
where id = object_id('dbo.SMFBlock')
and name = 'SMFConfig_FK'
and indid > 0
and indid < 255)
drop index dbo.SMFBlock.SMFConfig_FK
go

if exists (select 1
from sysindexes
where id = object_id('dbo.SMFBlock')
and name = 'OwnerInstID_IDX'
and indid > 0
and indid < 255)
drop index dbo.SMFBlock.OwnerInstID_IDX
go

if exists (select 1
from sysobjects
where id = object_id('dbo.SMFBlock')
and type = 'U')
drop table dbo.SMFBlock
go

/*==============================================================*/
/* Table: SMFBlock */
/*==============================================================*/
create table dbo.SMFBlock (
ID int not null,
SMFFile_ID int not null,
SMFConfig_ID int not null,
OwnerInstID int null,
PrcDt datetime null,
SbmtTyp char(1) null,
EmailAddr varchar(255) null,
EffDt datetime not null default getdate(),
EndDt datetime null,
LoadSeq_ID int null,
LoadDt datetime null,
constraint SMFBlock_PK primary key nonclustered (ID)
on SMFIDX
)
on SMFTBL
go

/*==============================================================*/
/* Index: OwnerInstID_IDX */
/*==============================================================*/
create index OwnerInstID_IDX on dbo.SMFBlock (
OwnerInstID
)
on SMFIDX
go

/*==============================================================*/
/* Index: SMFConfig_FK */
/*==============================================================*/
create index SMFConfig_FK on dbo.SMFBlock (
SMFConfig_ID
)
on SMFIDX
go

/*==============================================================*/
/* Index: SMFFile_FK */
/*==============================================================*/
create index SMFFile_FK on dbo.SMFBlock (
SMFFile_ID
)
on SMFIDX
go


List of columns of the table SMFBlock

Name

Code

Standard Message Format Block Identifier

ID

Standard Message Format File Identifier

SMFFile_ID

Standard Message Format Configuration Identifier

SMFConfig_ID

Owner Institution Identifier

OwnerInstID

Process Date

PrcDt

Submission Type

SbmtTyp

Email Address

EmailAddr

Effective Date

EffDt

End Date

EndDt

LoadSeq_ID

LoadSeq_ID

LoadDt

LoadDt


Column ID of the table SMFBlock

Card of the column ID of the table SMFBlock

Name

Standard Message Format Block Identifier

Code

ID

Data Type

int

Mandatory

TRUE


Description of the column ID of the table SMFBlock

Unique ID assigned and maintained by the StudentCenteredStaging database for the SMFBlock table.


Column SMFFile_ID of the table SMFBlock

Card of the column SMFFile_ID of the table SMFBlock

Name

Standard Message Format File Identifier

Code

SMFFile_ID

Data Type

int

Mandatory

TRUE


Description of the column SMFFile_ID of the table SMFBlock

Foreign key to the SMFFile table.


Column SMFConfig_ID of the table SMFBlock

Card of the column SMFConfig_ID of the table SMFBlock

Name

Standard Message Format Configuration Identifier

Code

SMFConfig_ID

Data Type

int

Mandatory

TRUE


Description of the column SMFConfig_ID of the table SMFBlock

Foreign key from the Standard Message Format Configuration (SMFConfig) table. This key represents a subject and year combination.


Column OwnerInstID of the table SMFBlock

Card of the column OwnerInstID of the table SMFBlock

Name

Owner Institution Identifier

Code

OwnerInstID

Data Type

int

Mandatory

FALSE


Description of the column OwnerInstID of the table SMFBlock

District Institution identifier that is the owner of the block.


Column PrcDt of the table SMFBlock

Card of the column PrcDt of the table SMFBlock

Name

Process Date

Code

PrcDt

Data Type

datetime

Mandatory

FALSE


Description of the column PrcDt of the table SMFBlock

Date that the block started processing.


Column SbmtTyp of the table SMFBlock

Card of the column SbmtTyp of the table SMFBlock

Name

Submission Type

Code

SbmtTyp

Data Type

char(1)

Mandatory

FALSE


Description of the column SbmtTyp of the table SMFBlock

Indicates the submission type as coming from a vendor or from a district.


Column EmailAddr of the table SMFBlock

Card of the column EmailAddr of the table SMFBlock

Name

Email Address

Code

EmailAddr

Data Type

varchar(255)

Mandatory

FALSE


Description of the column EmailAddr of the table SMFBlock

Email address of the user who submitted the data from their central login application user record.


Column EffDt of the table SMFBlock

Card of the column EffDt of the table SMFBlock

Name

Effective Date

Code

EffDt

Data Type

datetime

Mandatory

TRUE


Description of the column EffDt of the table SMFBlock

The date that this row of data becomes effective in StudentCentered.


Column EndDt of the table SMFBlock

Card of the column EndDt of the table SMFBlock

Name

End Date

Code

EndDt

Data Type

datetime

Mandatory

FALSE


Description of the column EndDt of the table SMFBlock

The date that this row of data ceases to be effective in StudentCentered.


Column LoadSeq_ID of the table SMFBlock

Card of the column LoadSeq_ID of the table SMFBlock

Name

LoadSeq_ID

Code

LoadSeq_ID

Data Type

int

Mandatory

FALSE


Description of the column LoadSeq_ID of the table SMFBlock

Foreign key from the Load Sequence (LoadSeq) table. Each load receives a unique identifier.


Column LoadDt of the table SMFBlock

Card of the column LoadDt of the table SMFBlock

Name

LoadDt

Code

LoadDt

Data Type

datetime

Mandatory

FALSE


Description of the column LoadDt of the table SMFBlock

The date the data was loaded into StudentCentered.