387
AMMst Description Expense Amoritzation table for items to be amoritized. FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto Number Primary Key int NO SSCo.CoNu CoNu Company # smallint NO Descr Name of item to be amoritized varchar(50) NO PurchaseDate Purchase date datetime YES VndNu Vendor Number int NO NANames.NameCounter PONu Purchase order number int NO InvNu Invoice number varchar(15) NO Total Total amount to be amoritized money NO NuMonths Number of months the item will be amoritized smallint NO StartYear Year amoritization started datetime NO StartPeriod Period amoritization started smallint NO SourceFundNu Source fund number smallint NO SourceDeptNu Source department number smallint NO SourceAcctNu Source account number int NO Memo varchar(4096) NO WhenSetup When this record was initially set up datetime NO WhoSetup Who initially set up this record varchar(50) NO WhenUpdated When this record was updated datetime NO WhoUpdated Who updated this record varchar(50) NO TStamp System generated time stamp timestamp YES INDEXES: Index Name Description Key Columns AMMst_Descr nonclustered located on PRIMARY CoNu, Descr PK__AMMst__0666AFE819DFD96B nonclustered, unique, primary key located on PRIMARY Counter RELATED TABLES: Field Name [Related Table].[Related Field] Counter [AMMstDest].[AMMstCounter] [AMMstPost].[AMMstCounter] 7/9/2014 Shelby v5 Table Layout Page 1

FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

  • Upload
    others

  • View
    16

  • Download
    0

Embed Size (px)

Citation preview

Page 1: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

AMMst DescriptionExpense Amoritzation table for items to be amoritized.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NO SSCo.CoNuCoNu Company # smallint NODescr Name of item to be amoritized varchar(50) NOPurchaseDate Purchase date datetime YESVndNu Vendor Number int NO NANames.NameCounterPONu Purchase order number int NOInvNu Invoice number varchar(15) NOTotal Total amount to be amoritized money NONuMonths Number of months the item will be amoritized smallint NOStartYear Year amoritization started datetime NOStartPeriod Period amoritization started smallint NOSourceFundNu Source fund number smallint NOSourceDeptNu Source department number smallint NOSourceAcctNu Source account number int NOMemo varchar(4096) NOWhenSetup When this record was initially set up datetime NOWhoSetup Who initially set up this record varchar(50) NOWhenUpdated When this record was updated datetime NOWhoUpdated Who updated this record varchar(50) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAMMst_Descr nonclustered located on PRIMARY CoNu, DescrPK__AMMst__0666AFE819DFD96B nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [AMMstDest].[AMMstCounter]

[AMMstPost].[AMMstCounter]

7/9/2014 Shelby v5 Table Layout Page 1

Page 2: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

AMMstDest DescriptionExpense Amoritzation table for destination accounts

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOAMMstCounter Links to AMMst int NO AMMst.CounterDestinationDeptNu Destination department number smallint NODestinationAcctNu Destination account number int NOAmount Amount designated for destination account money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAMMstDest_AMMstCounter nonclustered located on PRIMARY AMMstCounter, DestinationDeptNu, DestinationAcctNuPK__AMMstDes__0666AFE82DE6D218

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 2

Page 3: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

AMMstJournal DescriptionExpense Amoritzation table for Journal entries

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company number smallint NO SSCo.CoNuBeginDate Begin date datetime NOPeriod Period smallint NODatePosted Date journal posted datetime NOGLEntriesCounter Link to general ledger journal entry int NO GLEntries.HeaderCounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__AMMstJou__0666AFE82A164134

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [AMMstPost].[AMMstJournalCounter]

7/9/2014 Shelby v5 Table Layout Page 3

Page 4: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

AMMstPost DescriptionExpense Amoritzation table for monthly postings

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOAMMstCounter Links to AMMst int NO AMMst.CounterAMMstJournalCounter Links to AMMstJournal int NO AMMstJournal.CounterAmount Amount money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__AMMstPos__0666AFE82645B050

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 4

Page 5: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APACHDeposit DescriptionAccounts Payable table of your companies bank accounts. Used for ACH transfers.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOACHCoNu Company # int NO SSCo.CoNuCoName Company Name for bank account varchar(50) YESACHCoID Company ID varchar(10) YESACHOffset Boolean for whether to include the offsetting entry in the

ACH file 0) No -1) Yessmallint NO

DestID Destination ID - comes from bank varchar(10) YESDestName Destination name - comes from bank varchar(23) YESOriginID Origination ID - comes from bank varchar(10) YESOriginName Origination Name - comes from bank varchar(23) YESOriginRoutingNu Origination Rounting Number varchar(255) YESRecDFIID Receiving DFI ID varchar(20) YESDFIAcct DFI Account Number varchar(30) YESACHSecurity Security comment put in ACH transfer files if required by

bankvarchar(255) YES

FileLocation Where to write ACH file varchar(255) YESUpperCase Checkbox for Use Uppercase smallint NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPACHDeposit_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [BRAccounts].[ACHCounter]

7/9/2014 Shelby v5 Table Layout Page 5

Page 6: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APCC DescriptionAccounts Payable table for Credit Card Information

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuFundNu General Ledger Fund Credit Card assign to.. smallint NO GLAcct.FundNuDeptNu General Ledger Department Credit Card assigned to. smallint NO GLAcct.DeptNuAcctNu General Ledger Account Number Credit Card assigned

toint NO GLAcct.AcctNu

Descr Credit Card description varchar(50) NOAccount Credit Card account number varchar(25) NOExpiration Credit Card expiration date datetime YESVendorNu Vendor # int NO APVendor.VendorNuMemo varchar(4096) NOWhenSetup When this record was initially set up datetime NOWhoSetup Who initially set up this record varchar(50) NOWhenUpdated When this record was updated datetime NOWhoUpdated Who updated this record varchar(50) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPCC_Acct nonclustered located on PRIMARY CoNu, FundNu, DeptNu, AcctNu, DescrPK__APCC__0666AFE848E5AC6E nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [APCCChg].[APCCCounter]

[APCCReconcile].[APCCCounter][APCCUser].[APCCCounter][APEntry].[APCCCounter]

7/9/2014 Shelby v5 Table Layout Page 6

Page 7: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APCCChg DescriptionAccounts Payable table containing credit card transaction header records.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOPosted Boolean for whether tranaction is posted or not 0) No, -

1) Yessmallint NO

APCCCounter Links to APCC for credit card information int NO APCC.CounterAPCCUserCounter Links to APCCUser for credit card user information int NO APCCUser.CounterVendorNu Vendor # int NO APVendor.VendorNuReference Reference number varchar(15) NOInvNu Invoice number varchar(15) NOCCDate Tranaction date datetime NOPOOpenCounter Links to POOpen for Purchase order information int NO POOpen.CounterTax Tax amount money NOFreight Freight amount money NOOther Other amount money NOAPCCReconcileCounter Links to APPCCReconcile for reconcile information int NO APCCReconcile.CounterAPInvCounter Links to APInv for invoice information int NO APInv.CounterGLEntriesCounter Links to GLEntries int NO GLEntries.CounterImageNu Number for Image Scan int NOMemo varchar(4096) NOWhenSetup When this record was initially set up datetime NOWhoSetup Who initially set up this record varchar(50) NOWhenUpdated When this record was updated datetime NOWhoUpdated Who updated this record varchar(50) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPCCChg_APCCCounter nonclustered located on PRIMARY Posted, APCCCounter, CounterIX_APCCChg_GLEntriesCounter nonclustered located on PRIMARY GLEntriesCounterPK__APCCChg__0666AFE85A103870

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [APCCChgDetail].[APCCChgCounter]

7/9/2014 Shelby v5 Table Layout Page 7

Page 8: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APCCChgDetail DescriptionAccounts Payable table containing credit card transaction detail records.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOAPCCChgCounter Links to APCCChg int NO APCCChg.CounterPOOpenCounter Links to POOpen for purchase order information int NO POOpen.CounterPOOpenDetailCounter Links to POOpenDetail For purchase order detail

informationint NO POOpenDetail.Counter

POQty Purchase order quantity int NOPOStatus Purchase order status varchar(1) NOProjectCounter Links to SSProject int NO SSProject.ProjectCounterFundNu General Ledger Fund expense assign to. smallint NODeptNu General Ledger Department expense assigned to. smallint NOAcctNu General Ledger Account Number expense assigned to. int NODescr Description for expense varchar(30) NOMI1099 How line applies to 1099. '' if it doesn't, 'M'

miscellaneous box, 'I' interest, '1'-'7' for different boxeson misc. 1099

varchar(2) NO

Amount Amount of the expense money NODiscAmt Discount amount money NOTFOAmt Tax, Freight, and Other expense amounts money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPCCChgDetail_APCCChgCounter nonclustered located on PRIMARY APCCChgCounter, CounterPK__APCCChgD__0666AFE86D230CE4

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 8

Page 9: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APCCReconcile DescriptionAccounts Payable table containing credit card reconciliation information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOAPCCCounter Links to APCC for credit card information int NO APCC.CounterCCDate Date for reconciliation datetime NOEndingBalance Ending balance money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPCCReconcile_APCCCounter nonclustered located on PRIMARY APCCCounter, CCDatePK__APCCReco__0666AFE8563FA78C

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [APCCChg].[APCCReconcileCounter]

7/9/2014 Shelby v5 Table Layout Page 9

Page 10: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APCCUser DescriptionAccounts Payable table containing credit card users.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOAPCCCounter Links to APCC for credit card information int NO APCC.CounterUserName User name varchar(35) NOActive Boolean for whether user is active or not. 0) No, -1) Yes smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPCCUser_APCCCounter nonclustered located on PRIMARY APCCCounter, UserNamePK__APCCUser__0666AFE8526F16A8

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [APCCChg].[APCCUserCounter]

7/9/2014 Shelby v5 Table Layout Page 10

Page 11: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APCo DescriptionAccounts Payable table for company specific information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu smallint NO SSCo.CoNuStateID State ID varchar(20) YESTFO Boolean for whether to include tax, freight and other

charges on invoice entry. 0) no or -1) yessmallint NO

FeedGL Boolean for whether to interface with general ledger. 0)no or -1) yes

smallint NO

AcctsPayAcctNu Accounts Payable general ledger account # int NO GLAcct.AcctNuDiscDeptNu Discount general ledger department #. If net is charged

to expense then DiscDeptNu and DiscAcctNu are 0.smallint NO GLAcct.DeptNu

DiscAcctNu Discount general ledger account #. int NO GLAcct.AcctNuDiffFunds Boolean for whether to warn if mixing fund #s in Invoice

Processing. 0) no or -1) yessmallint NO

DupName Boolean for whether to duplicate name on invoiceProcessing. 0) no or -1) yes

smallint NO

Budget Boolean for whether to display bedgets on invoiceprocessing. 0) no or -1) yes

smallint NO

GLInvDate Boolean for whether to journalize to G/L using invoicedates. 0) no or -1) yes

smallint NO

InvoiceDetail Boolean for whether to print invoice detail on checks. 0)print invoice totals only or -1) print detail

smallint NO

LineDescr Line Description smallint NOOrgSalut Boolean for whether to Print Salutations for

Organizations. 0) no or -1) yessmallint NO

PrintDesc Boolean for whether to Print Department name on checkstubs. 0) no or -1) yes

smallint NO

PrintExpDesc Boolean for whether to Print Expense AccountDescription Instead of Line Item Description. 0) no or -1)yes

smallint NO

PrintMemo Boolean for whether to print invoice memos on checks.0) no or -1) yes

smallint NO

StubFormat Check stub format 0) Amount, Discount & Net, 1) ShowNet Only, 2) Show Net Only with Expense Account, 3)Show Inv. Total, Expense Account && Line Amount

smallint NO

PrintOneLineAddr Boolean for whether to print only one line of the address0) no -1) yes

smallint NO

TCCCode TCC Code for 1099s varchar(5) YESMemo varchar(4096) YESMaskACHNu If set to True DFI Account and DFI ID will be masked smallint NOWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPCo_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 11

Page 12: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APDetail DescriptionAccounts Payable table containing invoice detail lines.

FIELDS:Field Name Description Data Type Null? Foreign KeyDetailCounter Auto Number Primary Key int NOEntryCounter Links to APEntry for invoice header information int NO APEntry.EntryCounterPOCounter Links to POOpen purchase order information int NO POOpen.CounterPOStatus 'C' = close entire detail line, 'P' = close only part of detail

line, 'T' = close entire purchase order or '' in not linked to POOpen

varchar(1) YES

POQty Quantity to apply to purchase order float NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterFundNu General ledger fund charged to smallint NO GLAcct.FundNuDeptNu General Ledger department charged to smallint NO GLAcct.DeptNuAcctNu General ledger account charged to int NO GLAcct.AcctNuDescr Description for invoice detail line varchar(30) YESMI1099 How line applies to 1099. '' if it doesn't, 'M'

miscellaneous box, 'I' interest, '1'-'7' for different boxes on misc. 1099

varchar(2) YES

Amount Gross amount applied to this line money NODiscAmt Portion of discount amount applied to this line money NOTFOAmt Portion of tax, freight and other applied to this line money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPDetail_EntryCounter nonclustered located on PRIMARY EntryCounter, DetailCounterAPDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY DetailCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 12

Page 13: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APDistrDetail DescriptionAccounts Payable table containing detail of % distributions.

FIELDS:Field Name Description Data Type Null? Foreign KeyDetailCounter Auto Number Primary Key int NODistrCounter Links to APDistr int NO APDistrs.DistrCounterFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu General ledger account int NO GLAcct.AcctNuProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterMI1099 How line applies to 1099. '' if it doesn't, 'M'

miscellaneous box, 'I' interest, '1'-'7' for different boxes on misc. 1099

varchar(2) YES

APPercent % of invoice to distribute to this line real NODescr Description for this line varchar(30) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPDistrDetail_Distr nonclustered located on PRIMARY DistrCounter, DetailCounterAPDistrDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY DetailCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 13

Page 14: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APDistrs DescriptionAccounts Payable table containing set up distributions for invoices.

FIELDS:Field Name Description Data Type Null? Foreign KeyDistrCounter Description of distribution int NOCoNu Auto Number Primary Key smallint NODescr Company # varchar(30) YES SSCo.CoNuMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPDistrs_CoNu nonclustered located on PRIMARY CoNu, DescrAPDistrs_PrimaryKey nonclustered, unique, primary key located on PRIMARY DistrCounter

RELATED TABLES:Field Name [Related Table].[Related Field]DistrCounter [APDistrDetail].[DistrCounter]

7/9/2014 Shelby v5 Table Layout Page 14

Page 15: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APEntry DescriptionAccounts Payable table containing header information for each invoice.

FIELDS:Field Name Description Data Type Null? Foreign KeyEntryCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuFundNu Bank fund smallint NO BRAccounts.FundNuDeptNu Bank department smallint NO BRAccounts.DeptNuAcctNu Bank general ledger account # int NO BRAccounts.AcctNuVendorNu Vendor # int NO APVendor.VendorNuSepChk Boolean for whether to print this invoice on a separate

check. 0) no mix with other invoices on one check, -1)yes print this invoice on a separate check by itself

smallint NO

Type I) invoice, A) adjustment or M) manual check varchar(1) YESInvNu Invoice # varchar(15) YESPONu Purchase order # int NO POOpen.PoNuCheckNu Check # int NOInvoiceTotal Total amount of invoice money NODiscAmt Discount $ Amount money NOTax Tax $ Amount money NOFreight Freight $ Amount money NOOther Other charges money NOInvDate Invoice Date datetime YESDueDate Due Date datetime YESCheckDate Check Date datetime YESACH Boolean for indicating ACH transaction smallint NODFIID DFI ID # varchar(9) YESDFIAcct DFI Account # varchar(30) YESACHAmount ACH Amount money NOAcctType Account Type smallint NOAPCCCounter Links to APCC for credit card information smallint NO APCC.CounterImageNu Number for Image Scan of Invoice int NOOnHold Indicates Records on hold that cannot be selected for

paymentsmallint NO

Memo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPEntry_CoBank nonclustered located on PRIMARY CoNu, FundNu, DeptNu, AcctNu, VendorNu, Type,

InvNuAPEntry_PrimaryKey nonclustered, unique, primary key located on PRIMARY EntryCounter

RELATED TABLES:Field Name [Related Table].[Related Field]EntryCounter [APDetail].[EntryCounter]

7/9/2014 Shelby v5 Table Layout Page 15

Page 16: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APInv DescriptionAccounts Payable table containing invoices headers finalized either paid or unpaid.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO GLAcct.CoNuFundNu General ledger fund # for bank smallint NO GLAcct.FundNuDeptNu General ledger department # for bank smallint NO GLAcct.DeptNuAcctNu General ledger account # for bank int NO GLAcct.AcctNuVendorNu Vendor # int NO APVendor.VendorNuSepChk Boolean for whether to print this invoice on a separate

check. 0) no mix with other invoices on one check, -1)yes print this invoice on a separate check by itself

smallint NO

Type I) invoice, A) adjustment or M) manual check varchar(1) YESInvNu Invoice # varchar(15) YESPONu Purchase order # int NO POOpen.PoNuInvoiceTotal Total amount of invoice money NODiscAmt Discount $ Amount money NOTax Tax $ Amount money NOFreight Freight $ Amount money NOOther Other $ Amount charges money NOInvDate Invoice Date datetime YESDueDate Due Date datetime YESAllPaid Boolean for whether all lines on this invoice are paid 0)

no, -1) yessmallint NO

ACH Boolean for ACH transaction smallint NODFIID DFI ID # varchar(9) YESDFIAcct DFI Account # varchar(30) YESACHAmount ACH Amount money NOAcctType Account Type smallint NOGLEntriesCounter General Ledger Journal Entries Counter int NO GLEntries.HeaderCounterImageNu Image Number of the scan of the invoice int NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPInv_AllPaid nonclustered located on PRIMARY AllPaid, CoNu, FundNu, DeptNu, AcctNu, VendorNu,

Type, InvNuAPInv_CoBank nonclustered located on PRIMARY CoNu, FundNu, DeptNu, AcctNu, VendorNu, Type,

InvNuAPInv_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterIX_APInv_GLEntriesCounter nonclustered located on PRIMARY GLEntriesCounter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [APCCChg].[APInvCounter]

[APInvDetail].[Counter]

7/9/2014 Shelby v5 Table Layout Page 16

Page 17: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APInvDetail DescriptionAccounts Payable table containing posted invoice detail lines either paid or unpaid.

FIELDS:Field Name Description Data Type Null? Foreign KeyDetailCounter int NOCounter int NO APInv.CounterPOCounter int NO POOpen.CounterPOStatus varchar(1) YESPOQty float NOProjectCounter int NO SSProject.ProjectCounterFundNu smallint NO GLAcct.FundNuDeptNu smallint NO GLAcct.DeptNuAcctNu int NO GLAcct.AcctNuDescr varchar(30) YESMI1099 varchar(2) YESAmount money NODiscAmt money NOTFOAmt money NOStatus varchar(1) YESCheckNu int NOCheckDate datetime YESRunDate datetime YESGLEntriesCounter int NO GLEntries.CounterGLEntriesVoid int NOWhoSelected int NOTStamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPInvDetail_CheckDate nonclustered located on PRIMARY CheckDate, CounterAPInvDetail_CheckNu nonclustered located on PRIMARY CheckNu, CounterAPInvDetail_Counter nonclustered located on PRIMARY Counter, DetailCounterAPInvDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY DetailCounterAPInvDetail_Status nonclustered located on PRIMARY Status, CounterIX_APInvDetail_GLEntriesCounter nonclustered located on PRIMARY GLEntriesCounterIX_APInvDetail_GLEntriesVoid nonclustered located on PRIMARY GLEntriesVoid

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 17

Page 18: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APRecur DescriptionAccounts Payable table containing header information for each recurring charge.

FIELDS:Field Name Description Data Type Null? Foreign KeyEntryCounter Auto Number Primary Key int NOCoNu Company # smallint NO GLAcct.CoNuFundNu General ledger fund # for bank smallint NO GLAcct.FundNuDeptNu General ledger department # for bank smallint NO GLAcct.DeptNuAcctNu General ledger account # for bank int NO GLAcct.AcctNuVendorNu Vendor # int NO APVendor.VendorNuSepChk Boolean for whether to print this invoice on a separate

check. 0) no mix with other invoices on one check, -1)yes print this invoice on a separate check by itself

smallint NO

InvNu Invoice # varchar(15) YESInvoiceTotal Total amount of invoice money NOLimit $ limit for recurring charge. 0 if to use continually. Ex:

$100 InvoiceTotal and $1000 Limit would process 10 times

money NO

DiscAmt Discount $ Amount money NOTax Tax $ Amount money NOFreight Freight $ Amount money NOOther Other $ Amount charges money NODueDate Day of month payment is due smallint NOFreq Frequency 0) Monthly, 1) Quarterly, 2) Semi-Annual, 4)

Annual, 5) Weeklysmallint NO

Hold Boolean for whether recurring charge is on hold 0) no, - 1) yes don't process

smallint NO

ACH Boolean for ACH Transaction smallint NODFIID DFI ID # varchar(9) YESDFIAcct DFI Account # varchar(30) YESACHAmount ACH Amount money NOAcctType Account Type smallint NOPayGroupCounter Counter of the associated pay group int NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YES

Who updated this recordvarchar(50) YES

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPRecur_CoBank nonclustered located on PRIMARY CoNu, FundNu, DeptNu, AcctNu, VendorNu, InvNuAPRecur_PrimaryKey nonclustered, unique, primary key located on PRIMARY EntryCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 18

Page 19: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APRecurDetail DescriptionAccounts Payable table containing detail lines for each recurring header record.

FIELDS:Field Name Description Data Type Null? Foreign KeyDetailCounter Auto Number Primary Key int NOEntryCounter Links to APRecur int NO .EntryCounter

APRecur.EntryCounterProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterFundNu General ledger fund charged to smallint NO GLAcct.FundNuDeptNu General Ledger department charged to smallint NO GLAcct.DeptNuAcctNu General ledger account charged to int NO GLAcct.AcctNuDescr Description for invoice detail line varchar(30) YESMI1099 How line applies to 1099. '' if it doesn't, 'M'

miscellaneous box, 'I' interest, '1'-'7' for different boxes on misc. 1099

varchar(2) YES

Amount Gross amount applied to this line money NODiscAmt Portion of discount amount applied to this line money NOTFOAmt Portion of tax, freight and other applied to this line money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPRecurDetail_EntryCounter nonclustered located on PRIMARY EntryCounter, DetailCounterAPRecurDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY DetailCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 19

Page 20: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APVendor DescriptionAccounts Payable table of vendor records. Pulls GlobaFILE specific information from NANames.

FIELDS:Field Name Description Data Type Null? Foreign KeyVendorNu Links to NANames int NO NANames.NameCounterFundNu Default general ledger fund charged to. This will be put

on invoice entry automatically. Leave blank if there isnot a main account to charge this vendor to.

smallint NO GLAcct.FundNu

DeptNu Default general ledger department charged to smallint NO GLAcct.DeptNuAcctNu Default general ledger account charged to int NO GLAcct.AcctNuProdLine Product Line varchar(25) YESTerms Terms varchar(25) YESPrintOnCheck Text field to have printed on check. Could house

account # with vendor for their referencevarchar(25) YES

MI1099 How line applies to 1099. '' if it doesn't, 'M'miscellaneous box, 'I' interest, '1'-'7' for different boxes on misc. 1099

varchar(2) YES

Box7Codes Text field for user entry of Codes to be put in Box 7 ofthe 1099R (Multiple Entries)

varchar(20) YES

Approval Who approves invoices from this customer varchar(25) YESContactName Contact person at vendor for questions about invoices varchar(50) YESLastInvAmt Updated by system - last invoice amount money NOLastInvDate Updated by system - Last invoice date datetime YESLastInvNu Updated by system - Last invoice # varchar(15) YESIDNu Not used currently varchar(15) YESDefaultDFIID Ddefaullt DFID Value for use when adding a vendor varchar(9) NODefaultDFIAccount Ddefaullt DFI Account Value for use when adding a

vendorvarchar(30) NO

DEFAULTAcctType Ddefaullt Account Type Value for use when adding a vendor

smallint NO

DefaultDistribution Ddefaullt Distribution Value for use when adding a vendor

int NO

ClassCounter Ddefaullt Value for use when adding a vendor int NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPVendor_PrimaryKey nonclustered, unique, primary key located on PRIMARY VendorNu

RELATED TABLES:Field Name [Related Table].[Related Field]VendorNu [APCC].[VendorNu]

[APCCChg].[VendorNu][APEntry].[VendorNu][APInv].[VendorNu][APRecur].[VendorNu][APVendorACH].[DFIBankNu][APVendorTotals].[VendorNu][CKEntry].[VndNu][RMAct].[Vendor]

7/9/2014 Shelby v5 Table Layout Page 20

Page 21: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APVendorACH DescriptionAccounts Payable table for recording vendor ACH information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOVendorNu Vendor # int NODFIBankNu DFI Bank # varchar(9) NO APVendor.VendorNuDFIAcctNu DFI Account # varchar(17) NOAcctType Account type 0) Checking, 1) Savings smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK_APVendorACH nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 21

Page 22: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

APVendorTotals DescriptionAccounts Payable table of system generated vendor totals.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Links to SSCo smallint NO SSCo.CoNuVendorNu Links to APVendor int NO APVendor.VendorNuBeginDate Fiscal year begining date datetime NOYTDGross Gross amounts for fiscal year money NOYTDDisc Discounts for fiscal year money NOYTDNuInv # invoices for fiscal year smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsAPVendorTotals_PrimaryKey nonclustered, unique, primary key located on PRIMARY BeginDate, CoNu, VendorNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 22

Page 23: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARACHDeposit DescriptionAccounts Recievable table of your company's bank accounts. Used for ACH transfers.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Links to SSCo int NO SSCo.CoNuCoName Company Name for bank account varchar(50) YESACHCoID Company ID number varchar(10) YESACHOffset Boolean to indicate if company is setup to use off setting

entry in the ACH file 0) No -1) Yessmallint NO

DestID Destination ID - comes from bank varchar(10) YESDestName Destination Name - comes form bank varchar(23) YESOriginID Originator ID - comes from bank varchar(10) YESOriginName Originator Name - comes from bank varchar(23) YESOriginRoutingNu Origniator Routing Number varchar(255) YESRecDFIID DFI Bank Routing ID varchar(20) YESDFIAcct DFI Bank Account # varchar(30) YESACHSecurity Security comment put in ACH transfer files if required by

bankvarchar(255) YES

FileLocation Where to write ACH file varchar(255) YESUpperCase Boolean to choose use Uppercase smallint NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup When this record was updated varchar(50) YESWhenUpdated Who initially set up this record datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARACHDeposit_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [ARRevCenter].[ACHAcctCtr]

7/9/2014 Shelby v5 Table Layout Page 23

Page 24: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARCo DescriptionAccounts Receivable table for storing information about your companies.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Links to SSCo smallint NO SSCo..CoNuCashBasis Boolean to indicate if company interfaces with GL on

cash basis (versus accrual basis). 0) accrual basis or -1)cash basis

smallint NO

OpenItem Boolean to indicate if company AR type is open item(versus balance forward). 0) balance forward or -1) openitem

smallint NO

PrintInvoices Boolean for whether to print invoices. 0) no or -1) yes smallint NOLastInvNu Last invoice number used int NOFeedGL Boolean for whether to interface with general ledger. 0)

no or -1) yessmallint NO

SepInvoice Separate Invoice smallint NODupName Boolean to indicate whether to maintain the name when

apply is select on the Invoice entry, Recurring ChargeEntry and Payment Entry screens. 0) No or -1) Yes

smallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARCo_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 24

Page 25: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARCust DescriptionAccounts Receivable table for customer information.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterTaxesCounter Links to ARTaxes int NO ARTaxes.CounterTaxExemptID Customer's tax exempt ID # varchar(25) YESBillTo Individual being billed for invoice. int NO NANames.NameCounterContactName varchar(35) YES

Name of contactvarchar(35) YES

Source Links to ARSource for Description int NO ARSource.CounterExcludeLate Boolean for whether to charge lates fees to this

customer. 0) charge late fees or -1) do not charge late customer. 0) charge late fees or -1) do not charge latefees

smallint NO

Div1 Invoice Division 1 int NO ARDiv1.CounterDiv3 Invoice Division 3 int No

Div2 Invoice Division 2 int NO ARDiv2.CounterDiv3 Invoice Division 3 int NO ARDiv3.CounterDiv4 Invoice Division 4 int NO ARDiv4.CounterDiv5 Invoice Division 5 int NO ARDiv5.CounterMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARCust_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 25

Page 26: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARDiv1 DescriptionAccounts Receivable table for invoice divisions.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Invoice division description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARDiv1_Descr nonclustered located on PRIMARY DescrARDiv1_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [ARInv].[Div1]

[ARRecur].[Div1]

7/9/2014 Shelby v5 Table Layout Page 26

Page 27: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARDiv2 DescriptionAccounts Receivable table for invoice divisions.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Invoice division description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARDiv2_Descr nonclustered located on PRIMARY DescrARDiv2_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [ARCust].[Div2]

[ARInv].[Div2][ARRecur].[Div2]

7/9/2014 Shelby v5 Table Layout Page 27

Page 28: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARDiv3 DescriptionAccounts Receivable table for invoice divisions.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Invoice division description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARDiv3_Descr nonclustered located on PRIMARY DescrARDiv3_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [ARCust].[Div3]

[ARInv].[Div3][ARRecur].[Div3]

7/9/2014 Shelby v5 Table Layout Page 28

Page 29: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARDiv4 DescriptionAccounts Receivable table for invoice divisions.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Invoice division description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARDiv4_Descr nonclustered located on PRIMARY DescrARDiv4_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [ARCust].[Div4]

[ARInv].[Div4][ARRecur].[Div4]

7/9/2014 Shelby v5 Table Layout Page 29

Page 30: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARDiv5 DescriptionAccounts Receivable table for invoice divisions.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Invoice division description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARDiv5_Descr nonclustered located on PRIMARY DescrARDiv5_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [ARCust].[Div5]

[ARInv].[Div5][ARRecur].[Div5]

7/9/2014 Shelby v5 Table Layout Page 30

Page 31: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARInv DescriptionAccounts Receivable table for invoice header.

FIELDS:Field Name Description Data Type Null? Foreign KeyHeaderCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuRevCenter Links to ARRevCenter Description int NO ARRevCenter.RevCenterPosted Boolean for whether invoice has been posted. 0) no or -

1) yessmallint NO

Customer Customer int NO NANames.NameCounterBillTo Individual to be billed for invoice int NO NANames.NameCounterInvNu Invoice number int NOSource Links to ARSource Description int NO ARSource.CounterARDate Invoice date datetime YESDiv1 Links to ARDiv1 int NO ARDiv1.CounterDiv2 Links to ARDiv2 int NO ARDiv2.CounterDiv3 Links to ARDiv3 int NO ARDiv3.CounterDiv4 Links to ARDiv4 int NO ARDiv4.CounterDiv5 Links to ARDiv5 int NO ARDiv5.CounterTotalAmount Total amount of invoice money NOTaxableAmount Amount of invoice subject to taxation money NOTaxesCounter Links to ARTaxes int NO ARTaxes.CounterSalesTax Sales tax money NOPayments Payments made toward invoice money NODiscounts Discounts for invoice money NOWriteOffs Any write-offs for invoice money NOPrinted Boolean for whether invoice has been printed. 0) no or -

1) yessmallint NO

GLEntriesCounter Counter for GLEntries Table int NO GLEntries.CounterGLEntriesUnpost Used to hold GLEntries Counter during upost process int NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARInv_InvNu nonclustered located on PRIMARY CoNu, InvNuArInv_PostedFor nonclustered located on PRIMARY Posted, CoNu, Customer, InvNu, HeaderCounterARInv_PostedTo nonclustered located on PRIMARY Posted, CoNu, BillTo, InvNu, HeaderCounterARInv_PrimaryKey nonclustered, unique, primary key located on PRIMARY HeaderCounterARInv_Printed nonclustered located on PRIMARY Printed, CoNu, Customer, InvNu, HeaderCounterIX_ARInv_GLEntriesCounter nonclustered located on PRIMARY GLEntriesCounterIX_ARInv_GLEntriesUnPost nonclustered located on PRIMARY GLEntriesUnpost

RELATED TABLES:Field Name [Related Table].[Related Field]HeaderCounter [ARInvDetail].[HeaderCounter]

[ARPayDetail].[HeaderCounter][ARRecurSchedule].[InvHeader][RGRegRspInv].[InvCounter]

7/9/2014 Shelby v5 Table Layout Page 31

Page 32: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARInvDetail DescriptionAccounts Receivable table for detail lines of invoice.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOHeaderCounter Links to ARInv int NO ARInv.HeaderCounterItemCounter Item being purchased int NO ARItem.CounterDescr Description of item varchar(50) YESAmount Amount of detail line money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterDeptNu General ledger department # for bank smallint NO GLAcct.DeptNuAcctNu General ledger account # for bank int NO GLAcct.AcctNuNuUnits Number of units purhased smallint NOLateFees Boolean to indicate whether late fees will be charged on

this item. 0) no or -1) yessmallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARInvDetail_HeaderCounter nonclustered located on PRIMARY HeaderCounter, CounterARInvDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 32

Page 33: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARItem DescriptionAccounts Receivable table for Item information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORevCenter Revenue Center int NO ARRevCenter.RevCenterItem Item (abbreviated) varchar(15) YESDescr Item description varchar(50) YESDeptNu General ledger department # for bank smallint NO GLAcct.DeptNuAcctNu General ledger account # for bank int NO GLAcct.AcctNuLateFees Boolean to indicate whether to charge late fees on

unpaid balance. 0) no or -1) apply late feessmallint NO

Taxable Boolean to indicate whether the item cost is taxable. 0)no or -1) yes

smallint NO

UnitPrice Price per unit money NOCommission Boolean to indicate whether individual receives

commision on item. 0) no or -1) apply late feessmallint NO

Active Boolean to indicate whether or not the item is active. 0)No or -1) Yes

smallint NO

Recurring Boolean for Recurring Item smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARItem_Descr nonclustered located on PRIMARY RevCenter, Descr, CounterARItem_Item nonclustered located on PRIMARY RevCenter, ItemARItem_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [ARInvDetail].[ItemCounter]

[ARRecurDetail].[ItemCounter][ARTimeClockItems].[ItemCounter][IRTypes].[DisabItem][IRTypes].[Distr1Item][IRTypes].[Distr2Item][IRTypes].[Distr3Item][IRTypes].[Distr4Item][IRTypes].[Distr5Item][IRTypes].[LifeItem][IRTypes].[RetireItem][IRWorkco].[Item]

7/9/2014 Shelby v5 Table Layout Page 33

Page 34: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARPay DescriptionAccounts Receivable table for Payment Header.

FIELDS:Field Name Description Data Type Null? Foreign KeyPayCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuPosted Boolean to indicate whether payment has been posted.

0) no or -1) yessmallint NO

BillTo Individual to be billed for invoice int NO NANames.NameCounterCheckNu Check number varchar(15) YESCheckDate Check date datetime YESCheckAmount Check amount money NO ARSource.CounterSource Source int NO ARRevCenter.RevCenterRevCenter Revenue Center int NOUnappliedCash Amount of unapplied cash money NOPayUnapplied References payment where unapplied cash exists int NORecNu Receipt number int NOPrinted Boolean to indicate whether the payment has been

printer. 0) no or -1) yessmallint NO ShelbydbDocs.MICRImages.Counter

MICRImgCounter Link to MICR Images int NOAppliedPayCounter Counter used when the Unapplied Cash was applied int NO GLEntries.CounterGLEntriesCounter Counter for GLEntries Table int NOCheckType Indicator for AR or AP smallint NOBOC Back Office Conversion Boolean 0) no or -1) yes smallint NOMICRCounter Used to associate MICR entry int NOGLEntriesVoid GLEntries Counter of entry being voided int NOMemo varchar(4096) NOWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARPay_PayUnapplied nonclustered located on PRIMARY PayUnappliedARPay_Posted nonclustered located on PRIMARY Posted, CoNu, BillTo, CheckNu, PayCounterARPay_PrimaryKey nonclustered, unique, primary key located on PRIMARY PayCounterARPay_Printed nonclustered located on PRIMARY Printed, CoNu, BillTo, CheckNu, PayCounterARPay_RecNu nonclustered located on PRIMARY CoNu, RecNuIX_ARPay_GLEntriesCounter nonclustered located on PRIMARY GLEntriesCounterIX_ARPay_GLEntriesVoid nonclustered located on PRIMARY GLEntriesVoid

RELATED TABLES:Field Name [Related Table].[Related Field]PayCounter [ARPayDetail].[PayCounter]

[ARPayMisc].[PayCounter]

7/9/2014 Shelby v5 Table Layout Page 34

Page 35: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARPayDetail DescriptionAccounts Receivable table for detail lines of a payment.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOHeaderCounter Links to ARInv int NO ARInv.HeaderCounterPayCounter Links to ARPay int NO ARPay.PayCounterCheckAmount Check amount money NODiscount Discounts money NOWriteOff Write offs money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARPayDetail_HeaderCounter nonclustered located on PRIMARY HeaderCounter, CounterARPayDetail_PaymentCounter nonclustered located on PRIMARY PayCounter, CounterARPayDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 35

Page 36: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARPayMisc DescriptionAccounts Receivable table for miscellaneous payments.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOPayCounter Links to ARPay int NO ARPay.PayCounterRevCenter Revenue Center int NO ARRevCenter.RevCenterDeptNu General ledger department # for bank smallint NO GLAcct.DeptNuAcctNu General ledger account # for bank int NO GLAcct.AcctNuProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterCheckAmount Check amount money NODescr Description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARPayMisc_PaymentCounter nonclustered located on PRIMARY PayCounter, CounterARPayMisc_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 36

Page 37: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARRecur DescriptionAccounts Receivable table for recurring charges.

FIELDS:Field Name Description Data Type Null? Foreign KeyHeaderCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuRevCenter Revenue Center int NO ARRevCenter.RevCenterActive Boolean to indicate whether this recurring charge is

active. 0) no or -1) yessmallint NO

NameCounter GlobaFILE Name ID int NO NANames.NameCounterBillTo Individual to be billed int NOSource Source int NO ARSource.CounterDiv1 Invoice Division 1 int NO ARDiv1.CounterDiv2 Invoice Division 2 int NO ARDiv2.CounterDiv3 Invoice Division 3 int NO ARDiv3.CounterDiv4 Invoice Division 4 int NO ARDiv4.CounterDiv5 Invoice Division 5 int NO ARDiv5.CounterTotalAmount Total amount of recurring charge money NOLimit Limit of recurring charges money NOAROption Billing option/frequency of charges smallint NOACH Boolean to indicate whether to use ACH. 0) no or -1) yes smallint NOACHAmount Amount to be transferred via ACH money NOAcctType Account type (i.e., savings, checking, etc.) smallint NOACHInv Invoice number used to tie ach payments to the invoice int YESMICRCounter Associated MICR entry int NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARRecur_CoNu nonclustered located on PRIMARY CoNu, HeaderCounterARRecur_PrimaryKey nonclustered, unique, primary key located on PRIMARY HeaderCounter

RELATED TABLES:Field Name [Related Table].[Related Field]HeaderCounter [ARRecurDetail].[HeaderCounter]

[ARRecurSchedule].[HeaderCounter][CAAptPlan].[ARRecurCounter]

7/9/2014 Shelby v5 Table Layout Page 37

Page 38: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARRecurDetail DescriptionAccounts Receivable table for recurring charges detail.

FIELDS:Field Name Description Data Type Null? Foreign KeyDetailCounter Auto Number Primary Key int NOHeaderCounter Links to ARRecur int NO ARRecur.HeaderCounterItemCounter Links to ARItem int NO ARItem.CounterDescr Description varchar(50) YESAmount Total detail line amount money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterNuUnits Number of units smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARRecurDetail_HeaderCounter nonclustered located on PRIMARY HeaderCounter, DetailCounterARRecurDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY DetailCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 38

Page 39: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARRecurSchedule DescriptionAccounts Receivable table for recurring charges payment schedule.

FIELDS:Field Name Description Data Type Null? Foreign KeyScheduleCounter Auto Number Primary Key int NOHeaderCounter Links to ARRecur int NO ARRecur.HeaderCounterInvHeader Invoice number int NO ARInv.HeaderCounterARDate Payment date datetime YESAmount Payment amount money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK_ARRecurSchedule nonclustered, unique, primary key located on PRIMARY ScheduleCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 39

Page 40: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARRevCenter DescriptionAccounts Receivable table for Revenue Centers.

FIELDS:Field Name Description Data Type Null? Foreign KeyRevCenter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuDescr Description varchar(35) YESActive Boolean to indicate whether this revenue center is

active. 0) no or -1) yessmallint NO

FundNu General ledger fund # for bank smallint NO GLAcct.FundNuARAcctNu Accounts receivable account # int NO GLAcct.AcctNuBankAcctNu Bank Account # int NO GLAcct.AcctNuLCDeptNu Late charge department # smallint NO GLAcct.DeptNuLCAcctNu Late charge account # int NO GLAcct.AcctNuLCFee Late charge fee money NOLCFeeMin Minimum balance for late charge fee money NOLCPct Late charge rate real NOLCPctMin Minimum balance for late charge rate money NODiscDeptNu Discount department # smallint NO GLAcct.DeptNuDiscAcctNu Discount account # int NO GLAcct.AcctNuWriteOffDeptNu Write-off department # smallint NO GLAcct.DeptNuWriteOffAcctNu Write-off account # int NO GLAcct.AcctNuUnappliedCashDeptNu Unapplied cash department # smallint NO GLAcct.DeptNuUnappliedCashAcctNu Unapplied cash account # int NO GLAcct.AcctNuSalesTaxAcctNu Sales tax department # int NO GLAcct.DeptNuSalesTaxDeptNu Sales tax account # smallint NO GLAcct.AcctNuACH Boolean for whether to assign revenue center to ACH

account. 0) no or -1) yessmallint NO

ACHAcctCtr ACH accounts int NO ARACHDeposit.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARRevCenter_CoNu nonclustered located on PRIMARY CoNu, RevCenterARRevCenter_PrimaryKey nonclustered, unique, primary key located on PRIMARY RevCenter

RELATED TABLES:Field Name [Related Table].[Related Field]RevCenter [ARInv].[RevCenter]

[ARItem].[RevCenter][ARPay].[Source][ARPayMisc].[RevCenter][ARRecur].[RevCenter][REPrefs].[UnAppliedCashRevCenter][RGEve].[RevCenter]

7/9/2014 Shelby v5 Table Layout Page 40

Page 41: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARSource DescriptionAccounts Receivable table for source.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARSource_Descr nonclustered located on PRIMARY DescrARSource_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [ARCust].[Source]

[ARInv].[Source][ARPay].[CheckAmount][ARRecur].[Source][REPrefs].[UnAppliedCashSource]

7/9/2014 Shelby v5 Table Layout Page 41

Page 42: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARTaxes DescriptionAccounts Receivable table for tax information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOState State varchar(2) YESLocale City, town, etc. varchar(60) YESRate Tax rate real NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsARTaxes_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterARTaxes_State nonclustered located on PRIMARY State, Locale, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [ARCust].[TaxesCounter]

[ARInv].[TaxesCounter]

7/9/2014 Shelby v5 Table Layout Page 42

Page 43: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARTaxesException DescriptionTable to hold AR Items that are tax exceptions

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto generated int NOARItemCounter int NOARTaxesCounter int NOTStamp timestamp YES

INDEXES:Index Name Description Key ColumnsARTaxesException_ARItem_ARTaxesCounter

nonclustered located on PRIMARY ARItemCounter, ARTaxesCounter

PK__ARTaxesE__0666AFE810C14EDC

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 43

Page 44: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARTimeClock DescriptionAccounts Recievable table for importing time clock information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuCustNu Customer int NO NANames.NameCounterName Customer Name varchar(34) NOBillTo Bill To Name int NO NANames.NameCounterChargeCode Charge code from time clock varchar(10) NOHours # of hours money NOCharge Charge Amount money NO

INDEXES:Index Name Description Key ColumnsARTimeClock_CoNuChargeCode nonclustered located on PRIMARY CoNu, ChargeCodeARTimeClock_CoNuCustNu nonclustered located on PRIMARY CoNu, CustNuPK__ARTimeCl__0666AFE827EECCF7

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]ChargeCode [ARTimeClockItems].[ChargeCode]

7/9/2014 Shelby v5 Table Layout Page 44

Page 45: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

ARTimeClockItems DescriptionAccounts Receivable table for importing Time Clock information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuChargeCode Charge Code from time clock varchar(10) NO ARTimeClock.ChargeCodeItemCounter Item Counter links to ARItem int NO ARItem.CounterMinutesBillingCycle Billing Cycle in minutes smallint NO

INDEXES:Index Name Description Key ColumnsARTimeClockItems_CoNuChargeCode

nonclustered located on PRIMARY CoNu, ChargeCode

PK__ARTimeCl__0666AFE8326C5B6A

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 45

Page 46: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

BRAccounts DescriptionBank Reconciliation table for accounts.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter ID of record for Bank Reconciliation table int NOCoNu Company # smallint NO SSCo.CoNuFundNu General ledger fund # for bank smallint NO GLAcct.FundNuDeptNu General ledger department # for bank smallint NO GLAcct.DeptNuAcctNu General ledger account # for bank int NO GLAcct.AcctNuBankAcctNu Used to identify the bank account if using PositivePay varchar(20) YESCanadaCheck Bank Account Canadian Routing Number (- in position

6)smallint NO

OnUS Prints USFUNDS on Canadian Checks smallint NOFileLocation Location of output file if using PositivePay varchar(255) YESEndorsement Cross Check Pro Endorsement Text varchar(255) NOUsePositivePay Boolean for whether using PositivePay smallint NOOpeningBalance Account opening balance money NOLastCheckNu Last check number used in specific account int NOACHCounter Links ach payments to a particular bank account for the

companyint NO APACHDeposit.Counter

CompanyLine2 Company Extra Line varchar(50) YESBankRoutingNu Bank Account Routing Number varchar(9) YESBankName Bank Name varchar(200) YESBankText1 Bank Text varchar(60) YESBankText2 Bank Text varchar(60) YESBankText3 Bank Text varchar(60) YESBankText4 Bank Text varchar(60) YESBankLocation Bank Location Code (Optional) varchar(12) YESCheckMemo Check Memo varchar(50) YESOneStub -1) One Stub Checked, 0) Two Stub Checked, or 1)

ShelbyMICR Plus Not Usedsmallint NO

CheckTitles Print Titles Boolean -1) Yes or 0) No smallint NONonNegotCopy Print Non-Negotiable Copy Boolean -1) Yes or 0) No smallint NOPostalFormat Print Capitalized Name and Address on Check Boolean -

1) Yes or 0) Nosmallint NO

SignatureLines Number of signature liine -1) One Signature line 0) TwoSignature lines

smallint NO

SigTitle1 Text 1 Above Signature varchar(255) YESSigTitle2 Text 2 Above Signature varchar(255) YESSignatureLine1 Text Under Signature 1 varchar(255) YESSignatureLine2 Text Under Signature 2 varchar(255) YESSigOneAmt Max Amount for one signature money NOSigTwoAmt Max Amount for two signatures money NOCoBitmap Company bit map location varchar(255) YESBankBitmap Bank bit map location varchar(255) YESSigBitmapOne Signature one bit map location varchar(255) YESSigBitmapTwo Signature two bit map location varchar(255) YESMICRPassword Password for double certification of check processing

(security)varchar(50) NO

ACOMFile Boolean whether to create chk files for ACOM chk printing system

smallint NO

PosPayControlFile Points Positive Pay program to a custom Positive Pay File

varchar(255) YES

LastACHSeqNum Keeps track of the last squence number used int NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsBRAccounts_Counter nonclustered located on PRIMARY CounterBRAccounts_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, FundNu, DeptNu, AcctNu

RELATED TABLES:Field Name [Related Table].[Related Field]AcctNu [APEntry].[AcctNu]

Counter [BRBankRec].[BRAccountsCounter][BRReconcile].[BRAccountsCounter]

DeptNu [APEntry].[DeptNu]

FundNu [APEntry].[FundNu]

7/9/2014 Shelby v5 Table Layout Page 46

Page 47: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

BRBankRec DescriptionBank Reconciliation table for item reconciliation.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOItemNu Item number int NOType Item type. Check ('c'), withdrawal ('w'), deposit ('d'), or

void ('v').varchar(1) YES

BRDate Date datetime YESPayee Payee/description varchar(35) YESAmount Amount money NOBRAccountsCounter Counter for BRAccounts Table int NO BRAccounts.CounterBRReconcileCounter Counter for BRReconcile Table int NO BRReconcile.CounterGLEntriesCounter Counter for GLEntries Table int NO GLEntries.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsBRBankRec_CheckNu nonclustered located on PRIMARY BRAccountsCounter, ItemNu, Type, CounterBRBankRec_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterIX_BRBankRec_GLEntriesCounter nonclustered located on PRIMARY GLEntriesCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 47

Page 48: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

BRReconcile DescriptionBank Reconcilation Table

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter ID of record in BRReconcile Table int NOBRAccountsCounter Counter of BRAccounts Table int NO BRAccounts.CounterBRDate Date of Bank Reconciliation datetime NOEndingBalance Ending balance after Bank Reconciliation money NOImageNu Image Number smallint NOFinalized Indicates bank rec record finalized int NOWhenSetup When this record was initially setup datetime YESWhoSetup Who initally setup this record varchar(50) YESTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsBRReconcile_BRAccountsCounter nonclustered located on PRIMARY BRAccountsCounter, BRDatePK__BRReconc__0666AFE804C58C4B

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [BRBankRec].[BRReconcileCounter]

7/9/2014 Shelby v5 Table Layout Page 48

Page 49: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CAApp DescriptionCabinet Appointment table for appointee information.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterConfRelCounter Links to CAPicks type ConfRel int NO CAPicks.CounterSpecApptCounter Links to CAPicks type SpecAppt int NO CAPicks.CounterEthnicityCounter Links to CAPicks type Ethnicity int NO CAPicks.CounterFirstAppt Date of first appointment datetime YESOrdainedElder Date ordained as elder datetime YESOrdainedDeacon Date ordained as deacon datetime YESPresentAppt Date appointed to present position datetime YESClergyCouple Boolean to indicate whether husband/wife (couple) are

clergy. 0) no or -1) yessmallint NO

OtherDenom Boolean indicating whether appointee is of anotherdemonination. 0) no or -1) yes

smallint NO

Spouse Spouse's name varchar(50) YESNuChildren Number of children smallint NOAssociate Boolean indicating whether appointee is an associate

pastor. 0) no or -1) yessmallint NO

ChgCounter Links to CAChg int NO CAChg.NameCounterMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup When this record was updated varchar(50) YESWhenUpdated Who initially set up this record datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCAApp_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:Field Name [Related Table].[Related Field]NameCounter [CAAppApt].[AppCounter]

[CAAppCEU].[AppCounter]

7/9/2014 Shelby v5 Table Layout Page 49

Page 50: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CAAppApt DescriptionCabinet Appointment table for Appointments.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOAppCounter Links to CAApp int NO CAApp.NameCounterAppointee Appointee name varchar(50) YESNewAppt Boolean indicating whether the appointment is a new

appointment. 0) no or -1) yessmallint NO

BeginDate Appointment start date datetime YESEndDate Appointment end date datetime YESChgCounter Links to CAChg int NO CAChg.NameCounterCharge Charge varchar(50) YESPosCounter Links to CAPicks type Positions int NO CAPicks.CounterDistrict District varchar(8) YESSalaryLocal Monetary amount of salary local money NOHeadSupport Boolean indicating headquarters support. 0) no or -1) yes money NOEquitable Boolean indicating whether equitable compensation

applies. 0) no or -1) yessmallint NO

Reimbursements Monetary amount of reimbursements money NOHousing Monetary amount for housing money NOParticipant Boolean indicating whether they are a Participant in the

pention plan. 0) no or -1) yessmallint NO

BillTo Boolean indicating the Bill To 0) Charge 1) Appointee smallint NOPensionPlan Links to CAPicks type PensionPlan int NO CAPicks.CounterPlanLimit Dollar limit for Plan money NOPlanPercent Percent Rate for Plan money NOPlanAmount Plan amount money NOHousingOpt Housing Option 0) Housing or 1) Parsonage smallint NOACH Boolean indicating whether they are using ACH. 0) no

or -1) yessmallint NO

DFIID DFI bank ID #smallint NoDFIID DFI bank ID #

varchar(9) YES

DFIAcct DFI bank account # varchar(30) YESACHType Typs of account to deposit into. 1) Checking, 2) Savings smallint NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup When this record was updated varchar(50) YESWhenUpdated Who initially set up this record datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCAAppApt_ChgCounter nonclustered located on PRIMARY ChgCounter, BeginDateCAAppApt_PasCounter nonclustered located on PRIMARY AppCounter, BeginDateCAAppApt_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CAAptPlan].[AptCounter]

7/9/2014 Shelby v5 Table Layout Page 50

Page 51: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CAAppCEU DescriptionCabinet Appointment table for continuing education units (CEU).

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOAppCounter Links to CAApp int NO CAApp.NameCounterStartDate Start Date datetime YESEndDate End Date datetime YESWhatCounter Links to CAPicks type What (Course) int NO CAPicks.CounterWhereCounter Links to CAPicks type Where (Location) int NO CAPicks.CounterCEUs Number of units for course money NOMemo varchar(4096) YESWhenSetup When this record was initially set datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCAAppCEU_PasCounter nonclustered located on PRIMARY AppCounter, StartDate, CounterCAAppCEU_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 51

Page 52: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CAAptPlan DescriptionCabinet Appointment table for Pension Plans.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOAptCounter Links to CAAppApt for Appoitment information int NO CAAppApt.CounterPlanCounter Links to CAPicks with a type of PensionPlan int NO CAPicks.CounterPlanPercent Plan Percentage money NOPlanLimit Plan Limit money NOPlanAmount Plan Amount money NOExportAR Boolean indicating whether or not to export to Accounts

Recievable 0) No or -1) Yessmallint NO

ARRecurCounter Links to ARRec for Recurring information int NO ARRecur.HeaderCounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK_CAAptPlan clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 52

Page 53: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CAChg DescriptionCabinet Appointment table for Charges.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterEquitableComp Boolean indicating whether equitable compensation

applies. 0) no or -1) yessmallint NO

ParsonageAccessible Boolean indicating whether charge is parsonage(handicap) accessible. 0) no or -1) yes

smallint NO

Memo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCAChg_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:Field Name [Related Table].[Related Field]NameCounter [CAApp].[ChgCounter]

[CAAppApt].[ChgCounter][CAOrg].[ChgCounter]

7/9/2014 Shelby v5 Table Layout Page 53

Page 54: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CACmt DescriptionCabinet Appointment table for Comments.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterCADate Comment date datetime YESSecure Boolean indicating whether comment is secure. 0) no or -

1) yessmallint NO

Memo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCACmt_NameCounter nonclustered located on PRIMARY NameCounter, CADate, CounterCACmt_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 54

Page 55: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CAOrg DescriptionCabinet Appointment table for Organization Information.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterChgCounter Links to CAChg int NO CAChg.NameCounterMembership Membership number of the organization int NOEthnicityCounter Links to CAPicks type Ethnicity int NO CAPicks.CounterHandicapAccessible Boolean indicating whether organization is handicap

accessible. 0) no or -1) yessmallint NO

LeadChurch Boolean indicating whether the organization is theprimary location for the minister. 0) no or -1) yes

smallint NO

Memo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCAOrg_ChgCounter nonclustered located on PRIMARY ChgCounter, NameCounterCAOrg_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 55

Page 56: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CAPicks DescriptionCabinet Appointment table for pick (select) options.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(40) YESType Description category (e.g., ethnicity) varchar(12) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCAPicks_Descr nonclustered located on PRIMARY Type, DescrCAPicks_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CAApp].[ConfRelCounter]

[CAApp].[EthnicityCounter][CAApp].[SpecApptCounter][CAAppApt].[PensionPlan][CAAppApt].[PosCounter][CAAppCEU].[WhatCounter][CAAppCEU].[WhereCounter][CAAptPlan].[PlanCounter][CAOrg].[EthnicityCounter][CAPrefs].[PlanCounter]

7/9/2014 Shelby v5 Table Layout Page 56

Page 57: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CAPrefs DescriptionCabinet Appointment table for Appointment preferences.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOUseCharges Boolean indicating whether individuals are appointed to

charges instead of directly to organizations. 0) no or -1)yes

smallint NO

ParsAllow Parsonage Allowance Percentage money NOPlanCounter Links to CAPicks with Type of PensionPlan int NO CAPicks.CounterPlanLimit Dollar limit for Plan money NOPlanPercent Default Percent Rate for Plan money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCAPrefs_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 57

Page 58: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CKDetail DescriptionCheck Express table for check detail.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOEntryCounter Links to CKEntry int NO CKEntry.CounterProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu General ledger account int NO GLAcct.AcctNuAmount Line item monetary amount money NODescr Line item description varchar(50) YESMI1099 Type/box for 1099 amount varchar(2) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCKDetail_Entries nonclustered located on PRIMARY EntryCounter, DeptNu, AcctNuCKDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 58

Page 59: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CKEntry DescriptionCheck Express table for check entry.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOPosted Boolean indicating whether item has been posted. 0) no

or -1) yessmallint NO

CoNu Company # smallint NO SSCo.CoNuFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu General ledger account int NO GLAcct.AcctNuType Entry type. Check ('c'), deposit ('d') or withdrawal ('w'). varchar(1) YESCKDate Entry date datetime YESVndNu Vendor int NO APVendor.VendorNuPurpose1 "For:" line 1 varchar(35) YESPurpose2 "For:" line 2 varchar(35) YESTotalAmount Total monetary amount of item money NOPrinted Boolean indicating whether item has been printed. 0) no

or -1) yessmallint NO

ItemNu Item number int NOImageNu Image Number smallint NOWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCKEntry_CheckNu nonclustered located on PRIMARY Posted, CoNu, FundNu, DeptNu, AcctNu, ItemNuCKEntry_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CKDetail].[EntryCounter]

7/9/2014 Shelby v5 Table Layout Page 59

Page 60: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CMMst DescriptionCommemorative table for commemorative information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuMemorial Boolean indicating whether this is memorial or

commemorative. 0) commenmorative or -1) memorialsmallint NO

Name Commemorative name varchar(50) YESAnticipated Anticipated monetary amount money NODateClosed Date commemorative closed datetime YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCMMst_Name nonclustered located on PRIMARY CoNu, Name, CounterCMMst_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CMMstAck].[MstCounter]

[CNHstDet].[ComCounter][GFHstDet].[ComCounter]

7/9/2014 Shelby v5 Table Layout Page 60

Page 61: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CMMstAck DescriptionCommemorative table for commemorative acknowledgements.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterMstCounter Links to CMMst int NO CMMst.CounterRelationship Relationship varchar(15) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCMMstAck_MstCounter nonclustered located on PRIMARY MstCounter, CounterCMMstAck_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 61

Page 62: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNACHDeposit DescriptionContribution table of your company's bank accounts. Used for ACH transfers.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # int NO SSCo.CoNuCoName Company name varchar(50) YESACHCoID Company Identification number varchar(10) YESACHOffset Boolean for whether to include the offsetting entry in the

ACH file 0) No -1) Yessmallint NO

DestID Destination ID - comes from bank varchar(10) YESDestName Destination name - comes from bank varchar(23) YESOriginID Origination ID - comes from bank varchar(10) YESOriginName Origination name - comes from bank varchar(23) YESOriginRoutingNu Origination Routing Number varchar(255) YESRecDFIID DFI bank routing ID varchar(20) YESDFIAcct DFI bank account # varchar(30) YESACHSecurity Security comment put in ACH transfer files if required by

bankvarchar(255) YES

FileLocation Where to write ACH file varchar(255) YESUpperCase Boolean for whether or not to make file name uppercase smallint NOCongrCounter Congregation counter - only used with OUMst int NO OUMst.OUMstCounterMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCNACHDeposit_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CNPur].[ACHAcctCtr]

7/9/2014 Shelby v5 Table Layout Page 62

Page 63: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNACHPur DescriptionContributions table for ACH purchases.

FIELDS:Field Name Description Data Type Null? Foreign KeyCongrCounter Congregation Counter int NOPurCounter Purchase Counter int NOACHCounter ACH Counter int NO

INDEXES:Index Name Description Key ColumnsPK_CNACHPur clustered, unique, primary key located on PRIMARY CongrCounter, PurCounter, ACHCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 63

Page 64: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNBat DescriptionContribution table for batch information in Contribution Processing.

FIELDS:Field Name Description Data Type Null? Foreign KeyBatchNu Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuPosted Boolean indicating whether batch has been posted. 0)

no or -1) yessmallint NO

Total Total monetary amount of batch money NONuContr Number of contributions in batch smallint NOHashEnv Total of envelope numbers in batch int NOACH Boolean for whether this batch was created by

processing ACH direct withdrawals. 0) no or -1) yessmallint NO

CongrCounter Congregation Counter int NOHQDirect Boolean indicating whether deposit was made directly to

headquarters 0) no -1) yesHeadquarters in Multi Site Link 0) no -1) yes

int NO

WhenPosted Date when batch was posted datetime YESWhoPosted Individual who posted batch varchar(50) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCNBat_BatchNu nonclustered located on PRIMARY CoNu, BatchNuCNBat_Posted nonclustered located on PRIMARY CoNu, Posted, BatchNuCNBat_PrimaryKey nonclustered, unique, primary key located on PRIMARY BatchNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 64

Page 65: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNHst DescriptionContribution table for contribution information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOBatchNu Batch number int NOCongrCounter Congregation Counter int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterAnon Boolean indicating whether contribution is anonymous.

0) no or -1) yessmallint NO

MatchBilled Unused smallint NOMatCounter Links to MGMatDnr int NO MBMatDnr.CounterCNDate Date datetime YESCheckNu Check number varchar(15) YESAmount Monetary amount of gift money NOCoNu Company # smallint NO SSCo..CoNuNonTax Monetary amount of contribution that is non-taxable money NONonCash Boolean indicating whether contribution is non-cash. 0)

no or -1) yessmallint NO

MediaCounter Media int NOMotCounter Motivation int NO CNMot.CounterPosted Boolean indicating whether contribution has been

posted. 0) no or -1) yessmallint NO

Receipts Boolean indicating whether to print a receipt for thiscontribution. 0) no or -1) yes

smallint NO

ThankYou Boolean indicating whether to print a thank you letter forthis contribution. 0) no or -1) yes

smallint NO

WhsCounter Links to INItmWhs int NO INItmWhs.WarehouseReceiptNu Receipt number int NOMICRImgCounter Links to MICRImages int NO ShelbydbDocs.MICRImages.CounterHQDirect Boolean indicating whether contribution was given

directly to headquarters in MSL 0) no, -1) yesint NO

CheckType Indicator for AR or AP smallint NOBOC Back Office Conversion Boolean 0) no or -1) yes smallint NOMICRCounter Related MICR item int NOConfirmationID Confirmation related to E-Giving varchar(20) NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCNHst_MatCounter nonclustered located on PRIMARY MotCounter, CounterCNHst_NameCounter nonclustered located on PRIMARY CoNu, Posted, NameCounter, CNDate, CounterCNHst_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CNHstDet].[HstCounter]

[CNHstPre].[HstCounter]

7/9/2014 Shelby v5 Table Layout Page 65

Page 66: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNHstDet DescriptionContribution table for contribution detail.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOHstCounter Links to CNHst int NO CNHst.CounterPurCounter Links to CNPur int NO CNPur.CounterProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterAmount Monetary amount on detail line money NOSubDonor Sub-donor int NOComCounter Links to CMMst int NO CMMst.CounterPlgCounter Links to CNPlg int NO CNPlg.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCNHstDet_HstCounter nonclustered located on PRIMARY HstCounter, CounterCNHstDet_PlgCounter nonclustered located on PRIMARY PlgCounter, CounterCNHstDet_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 66

Page 67: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNHstPre DescriptionNot used for Contributions.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOHstCounter Links to CNHst int NO CNHst.CounterMotPreCounter Links to CNMotPre int NO CNMotPre.CounterQty Quantity smallint NOFairMarket Monetary fair market value money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCNHstPre_HstDetCounter nonclustered located on PRIMARY HstCounter, MotPreCounterCNHstPre_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 67

Page 68: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNHstSts DescriptionContribution table for statistics.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuNameCounter GlobaFILE Name ID int NO NANames.NameCounterFirstAmt Amount of first contribution money NOFirstDate Date of first contribution datetime YESFirstPurCounter Purpose for first contribution int NO CNPur.CounterLargestAmt Amount of largest contribution money NOLargestDate Date of largest contribution datetime YESLargestPurCounter Purpose for largest contribution int NO CNPur.CounterLastAmt Amount of last contribution money NOLastDate Date of last contribution datetime YESLastPurCounter Purpose for last contribution int NO CNPur.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCNHstSts_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 68

Page 69: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNMot DescriptionContribution table for motivations.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuMotiv Motivation code varchar(8) YESDescr Description varchar(30) YESBeginDate Begin date datetime YESEndDate End date datetime YESActive Boolean to indicate whether motivation is still active. 0)

no or -1) yessmallint NO

NuMailed Number mailed int NOCost Monetary cost money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterPurCounter Purpose int NO CNPur.CounterDateFirstGift Date of first gift datetime YESDateLastGift Date of last gift datetime YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who initially set up this record varchar(50) YES

WhoUpdated Who updated this recordvarchar(50) YES

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCNMot_Motiv nonclustered located on PRIMARY CoNu, MotivCNMot_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CNHst].[MotCounter]

[CNMotPre].[MotCounter][CNPlg].[MotCounter]

7/9/2014 Shelby v5 Table Layout Page 69

Page 70: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNMotPre DescriptionNot used for Contributions

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOMotCounter Motivation int NO CNMot.CounterItmCounter Item Counter int NOActive Indication where active or not -1)Active 0)Inactive smallint NONuSent Number sent int NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCNMotPre_MotivCounter nonclustered located on PRIMARY MotCounter, ItmCounterCNMotPre_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CNHstPre].[MotPreCounter]

7/9/2014 Shelby v5 Table Layout Page 70

Page 71: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNPlanGiving DescriptionContribution table for planned giving individual information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterActionDate Action date datetime YESActionType Action type int NOStaffMember Type = 'Staffmember' int NO SSTextPicks.CounterPlanGift Type = 'Plan give' int NO SSTextPicks.CounterNextActionDate Next action date datetime YESNextActionType Next action type int NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK_CNPlanGiving nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 71

Page 72: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNPlg DescriptionContribution table for pledges.

FIELDS:Field Name Description Data Type Null? Foreign KeyMICRCounter Related MICR information int NOCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuCongrCounter Congregation Counter Links to int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterActive Boolean indicating whether pledge is active. 0) no or -1)

yessmallint NO

PurCounter Purpose int NO CNPur.CounterMotCounter Motivation int NO CNMot.CounterBeginDate Begin date datetime YESPayPerYear Times individual will pay per year smallint NODuration Duration of pledge smallint NOEndDate End date datetime YESPledge Monetary amount of pledge money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterSubDonor Sub-donor int NOPlanGive Boolean indicating whether to use planned giving smallint NOPlanSM Planned giving staff member int NOPlanAD Planned giving acknowledgement date datetime YESPlanJC Planned giving jurisdiction code int NOACH Boolean indicating whether to use ACH. 0) no or -1) yes smallint NOAcctType Account type (e.g., checking, savings, etc.) 0) checking

or 1) savingssmallint NO

ACHAmount ACH amount money NOACHDay ACH day of month smallint NOImageNu ImageNu smallint NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCNPlg_NameCounter nonclustered located on PRIMARY CoNu, NameCounter, PurCounter, MotCounter,

BeginDate, CounterCNPlg_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CNHstDet].[PlgCounter]

7/9/2014 Shelby v5 Table Layout Page 72

Page 73: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNPur DescriptionContribution table for purposes.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuCongrCounter Congregation Counter links to int NOPurpose Purpose code varchar(8) YESDescr Description varchar(30) YESBeginDate Begin date datetime YESEndDate End date datetime YESActive Boolean indicating whether purpose is active. 0) no or -

1) yessmallint NO

FundNu General ledger fund smallint NO GLAcct.FundNuBankAcctNu General ledger account # int NO GLAcct.AcctNuIncomeAcctNu General ledger account # int NO GLAcct.AcctNuIncomeDeptNu General ledger department # smallint NO GLAcct.DeptNuTaxDed Boolean indicating whether purpose is tax deductable. 0)

no or -1) yessmallint NO

DistrictColumn District column from type DistrColumn int NO SSTextPicks.CounterPledgeOnly Boolean indicating whether purpose is for pledges only.

0) no or -1) yessmallint NO

DefaultProject Links to SSProject for description int NO SSProject.ProjectCounterACH Boolean indicating whether to assign to ACH account smallint NOACHAcctCtr ACH accounts int NO CNACHDeposit.CounterDateFirstGift Date of first gift datetime YESDateLastGift Date of last gift datetime YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsCNPur_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterCNPur_Purpose nonclustered located on PRIMARY CoNu, Purpose

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CNHstDet].[PurCounter]

[CNHstSts].[FirstPurCounter][CNHstSts].[LargestPurCounter][CNHstSts].[LastPurCounter][CNMot].[PurCounter][CNPlg].[PurCounter]

7/9/2014 Shelby v5 Table Layout Page 73

Page 74: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

CNRISK DescriptionTable for Contribution Risk / SOS Scores

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter ID for Record in CNRisk Table int NONuMeetings Number of Weeks smallint NOAMinTG Number for A. Min Times Given % money NOAScoreTG Number for A. Min Times Given Score smallint YESBMinTG Number for B. Min Times Given % money NOBScoreTG Number for B. Min Times Given Score smallint YESCMinTG Number for C. Min Times Given % money NOCScoreTG Number for C. Min Times Given Score smallint YESDMinTG Number for D. Min Times Given % money NODScoreTG Number for D. Min Times Given Score smallint YESFMinTG Number for F. Min Times Given % money NOFScoreTG Number for F. Min Times Given Score smallint YESAMinAG Number for F. Min Times Given % money YESAScoreAG Number for A. Min Amount Given Score smallint YESBMinAG Number for B. Min Amount Given % money YESBScoreAG Number for B. Min Amount Given Score smallint YESCMinAG Number for C. Min Amount Given % money YESCScoreAG Number for C. Min Amount Given Score smallint YESDMinAG Number for D. Min Amount Given % money YESDScoreAG Number for D. Min Amount Given Score smallint YESFMinAG Number for F. Min Amount Given % money YESFScoreAG Number for F. Min Amount Given Score smallint YESACompositeScore Number for A Min Composite Score smallint YESBCompositeScore Number for B Min Composite Score smallint YESCCompositeScore Number for C Min Composite Score smallint YESDCompositeScore Number for D Min Composite Score smallint YESFCompositeScore Number for F Min Composite Score smallint YES

INDEXES:Index Name Description Key ColumnsPK__CNRISK__0666AFE82BDF596C

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 74

Page 75: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

DHAct DescriptionDeposits on Hand table of account information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOPrefsCounter Links to DHPrefs int NO DHPrefs.CounterNameCounter GlobaFILE Name ID int NO NANames.NameCounterAccount Account varchar(15) YESAccountName Account name varchar(35) YESInception Inception date datetime YESActive Boolean indicating whether account is active. 0) no or -

1) yessmallint NO

UsePrefs Boolean indicating whether to use preferences. 0) no or -1) yes

smallint NO

InterestRate Interest rate real NODaily 0 = Daily, 1 = Monthly on 1st, 2 = Monthly on 15th, 3=

Quarterly, 4 = SemiAnnually, 5 = Yearly, 6 = Once atEnd of Term

smallint NO

ActType Account Type - Links to DHActType int NO DHActType.CounterBalance Balance money NOCompound Boolean to indicate whether or not to compound interest smallint NORenew Boolean to indicate whether or not to renew the deposit smallint NODateInterest Interest Date datetime YESApplyPenalty Boolean to indicate whether or not to apply penalty smallint NOUseOnChecks Boolean to indicate whether account name is included

on checkssmallint NO

ACH Boolean to indicate whether or not this is an ACHtransaction

smallint NO

DFIID DFI ID # varchar(9) YESDFIAcct DFI Account # varchar(30) YESACHAcctType ACH Account Type smallint NOAccrue Accrue Frequency 0) Daily, 1) Monthly(on 1st of month),

2) Monthly(on 15th of month), 3) Quarterly, 4) Semi-Annually, and 5) Annually

smallint NO

DateCompound Date interest was posted datetime YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsDHAct_Account nonclustered located on PRIMARY PrefsCounter, AccountDHAct_AccountName nonclustered located on PRIMARY PrefsCounter, AccountName, AccountDHAct_NameCounter nonclustered located on PRIMARY PrefsCounter, NameCounter, AccountDHAct_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [DHTenant].[ActCounter]

7/9/2014 Shelby v5 Table Layout Page 75

Page 76: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

DHActType DescriptionDeposits on Hand table of account types

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOActGroup Account Group int NODescr Description varchar(30) YESNuMonths # of Months int NOInterestRate Interest Rate real NODaily 0 = Daily, 1 = Monthly on 1st, 2 = Monthly on 15th, 3=

Quarterly, 4 = SemiAnnually, 5 = Yearly, 6 = Once atEnd of Term

smallint NO

Compound Boolean to indicate whether or not to compound interest smallint NORenew Boolean to indicate whether or not to renew the deposit smallint NOFundNu GL Fund smallint NO GLFund.FundNuInterestAcctNu Interest Account # int NO GLAcct.AcctNuInterestDeptNu Interest Department # smallint NO GLDept.DeptNuLiabAcctNu Liability Account # int NO GLAcct.AcctNuLiabDeptNu Liability Department # smallint NO GLDept.DeptNuPenaltyDeptNu Withdrawal Penalty Department # smallint NO GLFund.FundNuPenaltyAcctNu Withdrawal Penalty Account # int NO GLAcct.AcctNuApplyPenalty Boolean to indicate whether or not to apply penalty smallint NOPenaltyRate Penalty Rate real NOPenaltyNu Penalty # int NOPenaltyDaily Penalty posting increment - 0= Day, 1 = Month, 2 =

Quarter, 3 = Yearsmallint NO

PrefsCounter Preference - Link to DHPrefs int NO DHPrefs.CounterAccrue Accrue Frequency 0) Daily, 1) Monthly(on 1st of month),

2) Monthly(on 15th of month), 3) Quarterly, 4) Semi-Annually, and 5) Annually

smallint NO

BasedOnInception Boolean to indicate whether or not to base interest oninception date

smallint NO

AllowWithdrawals Boolean to indicate whether or not to allow earlywithdrawals

smallint NO

DateInterest Date Interest posted datetime YESMemo varchar(4096) YESWhoInterest User which setup interest information varchar(50) YESAllowAdditionalDeposits When True additional deposits are allowed smallint NOWhenSetup When this record was initially set up datetime YESWhoSetup Who posted Interest varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK_DHActType nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [DHAct].[ActType]

[DHTrn].[ActCounter]

7/9/2014 Shelby v5 Table Layout Page 76

Page 77: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

DHPrefs DescriptionDeposits on Hand table for preferences.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuBankAcctNu General ledger fund # int NO GLAcct.FundNuBankFundNu General ledger account # smallint NO GLAcct.AcctNuLiabAcctNu General ledger account # int NO GLAcct.AcctNuInterestDeptNu General ledger department # smallint NO GLAcct.DeptNuInterestAcctNu General ledger account # int NO GLAcct.AcctNuInterestRate Interest rate real NOFeedAP Boolean indicating whether to apply entries to AP smallint NODaily Boolean indicating whether interest is compounded daily

or monthly. 0) monthly or -1) dailysmallint NO

Checks Where to print checks from - 0 = DH, 1 = AP, 2 = CK smallint NOMemo varchar(4096) YESDateInterest Date interest was posted datetime YESWhoInterest Login name of user posting interest varchar(50) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsDHPrefs_BankAcctNu nonclustered located on PRIMARY CoNu, BankFundNu, BankAcctNuDHPrefs_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [DHAct].[PrefsCounter]

[DHActType].[PrefsCounter]

7/9/2014 Shelby v5 Table Layout Page 77

Page 78: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

DHTenant DescriptionDeposits on Hand table of Tenants

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOActCounter Account - Links to DHAcct int NO DHAct.CounterTenant Name - Links to NANames int NO NANames.NameCounterTStamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK_DHTenant clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 78

Page 79: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

DHTrn DescriptionDeposits on Hand table of transactions.

FIELDS:Field Name Description Data Type Null? Foreign KeyAddDay True when compound date out is equal to the date

interest is depositedsmallint NO

Counter Auto Number Primary Key int NOPosted Boolean indicating whether transaction has been posted.

0) no or -1) yessmallint NO

ActCounter Links to DHActType int NO DHActType.CounterDHDate Date datetime YESType Type varchar(1) YESAmount Amount money NOInterest Interest smallint NOCheckNu Check # varchar(15) YESLinkedCheck Check # and module where check created varchar(25) YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsDHTrn_ActCounter nonclustered located on PRIMARY Posted, ActCounter, DHDateDHTrn_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 79

Page 80: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

FAAssets DescriptionFixed Assets table for assets.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuTagNu Tag # int NONew Boolean indicating whether this asset is new. 0) no or -1)

yessmallint NO

ITCExempt Boolean indicating whether asset is investment tax smallint NOInventoried Boolean indicating whether this asset is Invernoried 0)

no or -1) yesbit NO

Descr Description varchar(40) YESFundNu General ledger fund smallint NO GLAcct.FundNuAssetAcctNu General ledger account # int NO GLAcct.AcctNuReserveAcctNu General ledger account # int NO GLAcct.AcctNuExpDeptNu General ledger department # smallint NO GLAcct.DeptNuExpAcctNu General ledger account # int NO GLAcct.AcctNuModel Model varchar(25) YESSerialNu Serial # varchar(25) YESVendorNameCounter Vendor int NO NANames.NameCounterPONu Purchase order # int NOBuildingCounter Links to FABuildings int NO FABuildings.CounterClassCounter Links to FAClasses int NO FAClasses.CounterRoomCounter Links to FARooms int NO FARooms.CounterListedProperty Boolean indicating whether this assets is a Listed

Property 0) no -1) yessmallint NO

CapDate Capitalized date datetime YESCapValue Capitalized value money NOSalvage Salvage money NOITC Investment tax credit money NOITCAdj Investment tax credit adjustment money NOTaxMethod Tax method smallint NOTaxLife Tax life in years money NOTaxAccum Tax accumulated money NOTaxCY Tax current year money NOTaxCurrent Tax current money NOBookMethod Book method 0) No Depreciation, 1) Straight Line, 13)

MACRS Straight Line, 14) MACRS 3 Years, 15) MACRS5 Years, 16) MACRS 6 Years, 17) MACRS 10 Years,18) MACRS 15 Years, 19) MACRS 20 Years, 20)MACRS 27.5 Years, 21) MACRS 31.5 Years, 22)MACRS 39 Years

smallint NO

BookLife Book life in years money NOBookAccum Book accumulated money NOBookCY Book current year money NOBookCurrent Book current money NOCost Cost money NOReplaceCost Replacement cost money NOReplaceDate Replacement date datetime YESTransferFromCoNu Transfer from company smallint NOTransferFromTagNu Transfer from tag int NOTransferFromDate Transfer from date datetime YESSaleDate Sale date datetime YESSaleAmount Sale amount money NORetiredDate Retired date datetime YESWarrantyContract Indicates no contract/warranty, warranty or contract smallint NOExpireDate Contract/warranty expiration date datetime YESWarrantyNameCounter Warranty name int NO NANames.NameCounterMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsFAAssets_CoNu nonclustered located on PRIMARY CoNu, TagNuFAAssets_Descr nonclustered located on PRIMARY CoNu, DescrFAAssets_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterFAAssets_ReserveAcctNu nonclustered located on PRIMARY CoNu, ReserveAcctNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 80

Page 81: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name [Related Table].[Related Field]Counter [FAAssetsInventory].[FAAssetsCounter]

[FAComments].[AssetCounter]

7/9/2014 Shelby v5 Table Layout Page 81

Page 82: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

FAAssetsInventory Description

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOFAInventoryCounter Fixed Asset Inventory Counter int NO FAInventory.CounterFAAssetsCounter Fixed Asset int NO FAAssets.Counter

INDEXES:Index Name Description Key ColumnsFAAssetsInventory_FAInventoryCounter

nonclustered located on PRIMARY FAInventoryCounter, FAAssetsCounter

PK__FAAssets__0666AFE8456A2145

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 82

Page 83: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

FABuildings DescriptionFised Assets table of buildings.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsFABuildings_Descr nonclustered located on PRIMARY DescrFABuildings_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [FAAssets].[BuildingCounter]

7/9/2014 Shelby v5 Table Layout Page 83

Page 84: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

FAClasses DescriptionFised Assets table of classes.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsFAClasses_Descr nonclustered located on PRIMARY DescrFAClasses_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [FAAssets].[ClassCounter]

7/9/2014 Shelby v5 Table Layout Page 84

Page 85: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

FAComments DescriptionFised Assets table of asset comments.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Keyv int NOAssetCounter Links to FAAssets int NO FAAssets.CounterFADate Date datetime YESProfileCounter Links to FAProfiles int NO FAProfiles.CounterComment Comment varchar(4096) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsFAComments_Asset nonclustered located on PRIMARY AssetCounter, FADate, ProfileCounterFAComments_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 85

Page 86: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

FAInventory Description

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOFADate Date of last Invetory datetime NODescr Description varchar(50) NO

INDEXES:Index Name Description Key ColumnsFAInventory_Date nonclustered located on PRIMARY FADate, DescrPK__FAInvent__0666AFE841999061

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [FAAssetsInventory].[FAInventoryCounter]

7/9/2014 Shelby v5 Table Layout Page 86

Page 87: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

FAProfiles DescriptionFixed Assets table of profiles.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsFAProfiles_Descr nonclustered located on PRIMARY DescrFAProfiles_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [FAComments].[ProfileCounter]

7/9/2014 Shelby v5 Table Layout Page 87

Page 88: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

FARooms DescriptionFixed Assets table of rooms.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsFARooms_Descr nonclustered located on PRIMARY DescrFARooms_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [FAAssets].[RoomCounter]

7/9/2014 Shelby v5 Table Layout Page 88

Page 89: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFACHDeposit DescriptionGifts table of your company's bank accounts. Used for ACH transfers.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # int NO SSCo.CoNuCoName Company name varchar(50) YESDestID Destination ID - comes from bank varchar(10) YESDestName Destination name - comes from bank varchar(23) YESOriginID Origination ID - comes from bank varchar(10) YESOriginName Origination name - comes from bank varchar(23) YESOriginRoutingNu Origination Routing Number varchar(255) YESRecDFIID DFI bank routing ID varchar(20) YESDFIAcct DFI bank account # varchar(30) YESACHSecurity Security comment put in ACH transfer files if required by

bankvarchar(255) YES

FileLocation Where to write ACH file varchar(255) YESUpperCase Boolean for whether or not to make ACH file Uppercase smallint NOACHCoID Company Identification number varchar(10) YESACHOffset Boolean for whether to include the offsetting entry in the

ACH file 0) No -1) Yessmallint NO

CongrCounter Congregation counter - only used with OUMst int NO OUMst.OUMstCounterMemo varchar(4096) YESWhenSetup When this record was initially set up

WhenUpdated Whendatetime YES

WhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFACHDeposit_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 89

Page 90: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFAutoEntry DescriptionGifts table of imported entries.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increment int NOCoNu Company # smallint NO SSCo.CoNuDescr Description varchar(30) NOZipCode Postal code varchar(5) NOPurCounter Purpose int NO GFPur.CounterMediaCounter Media int NO NANames.NameCounterSubDonor Sub Donor # int NO SSProject.ProjectcounterProjectCounter Project int NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFAutoEntry_Descr nonclustered located on PRIMARY CoNu, Descr, ZipCodeGFAutoEntry_ZipCode nonclustered located on PRIMARY CoNu, ZipCodePK__GFAutoEn__0666AFE860683044

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 90

Page 91: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFBat DescriptionGifts table of batch information in Contribution Processing.

FIELDS:Field Name Description Data Type Null? Foreign KeyBatchNu Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuCongrCounter Congregation Counter LInks to int NOPosted Boolean indicating whether batch has been posted. 0)

no or -1) yessmallint NO

Total Total monetary amount of batch money NONuContr Number of gifts in batch smallint NOHashEnv Total of envelope numbers in batch int NOACH Boolean for whether this batch was created by

processing ACH direct withdrawals. 0) no or -1) yessmallint NO

HQDirect Boolean indicating whether deposit was made directly to headquarters 0) no -1) yesHeadquarters in Multi Site Link 0) no -1) yes

int NO

WhenPosted Date when batch was posted datetime YESWhoPosted Date when batch was posted varchar(50) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFBat_BatchNu nonclustered located on PRIMARY CoNu, BatchNuGFBat_Posted nonclustered located on PRIMARY CoNu, Posted, BatchNuGFBat_PrimaryKey nonclustered, unique, primary key located on PRIMARY BatchNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 91

Page 92: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFHst DescriptionGifts table of contribution information.

FIELDS:Field Name Description Data Type Null? Foreign KeyMICRCounter int NOCounter Auto Number Primary Key int NOPosted Boolean indicating whether gift has been posted. 0) no

or -1) yessmallint NO

CongrCounter Congregation Counter links to int NOCoNu Company # smallint NO SSCo.CoNuBatchNu Batch number int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterAnon Boolean indicating whether gift is anonymous. 0) no or -

1) yessmallint NO

ReceiptNu Receipt number int YESGFDate Gift Date datetime YESCheckNu Check number varchar(15) YESAmount Monetary amount of gift money NOMotCounter Motivation int NO GFMot.CounterMediaCounter Type = 'Media' int NO SSTextPicks.CounterMatCounter Links to MGMatDnr int NO MBMatDnr.CounterMatchBilled Has matching gift been billed? smallint NOWhsCounter Links to INItmWhs int NO INItmWhs.WarehouseNonCash Boolean indicating whether gift is non-cash. 0) no or -1)

yessmallint NO

NonTax Monetary amount of gift that is non-taxable money NOReceipts Boolean indicating whether to print a receipt for this gift.

0) no or -1) yessmallint NO

ThankYou Boolean indicating whether to print a thank you letter forthis gift. 0) no or -1) yes

smallint NO

MICRImgCounter Links to MICRImages int NO ShelbydbDocs.MICRImages.CounterHQDirect Boolean indicating whether gift was donated directly to

headquarters 0) noint NO

CheckType Indicator for AR or AP smallint NOBOC Back Office Conversion Boolean 0) no or -1) yes smallint NOMemo varchar(4096) YESConfirmationID Confirmation ID varchar(20) NOWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFHst_MatCounter nonclustered located on PRIMARY MotCounter, CounterGFHst_NameCounter nonclustered located on PRIMARY CoNu, Posted, NameCounter, GFDate, CounterGFHst_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [GFHstDet].[HstCounter]

[GFHstPre].[HstCounter]

7/9/2014 Shelby v5 Table Layout Page 92

Page 93: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFHstDet DescriptionGifts table of contribution detail.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOHstCounter Links to GFHst int NO GFHst.CounterPurCounter Links to GFPur int NO GFPur.CounterProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterAmount Monetary amount on detail line money NOSubDonor Sub-donor int NO NANames.NameCounterComCounter Links to CMMst int NO CMMst.CounterPlgCounter Links to GFPlg int NO GFPlg.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFHstDet_HstCounter nonclustered located on PRIMARY HstCounter, CounterGFHstDet_PlgCounter nonclustered located on PRIMARY PlgCounter, CounterGFHstDet_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 93

Page 94: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFHstPre DescriptionGifts table of Premiums.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOHstCounter Links to GFHst int NO GFHst.CounterMotPreCounter Links to GFMotPre int NO GFMotPre.CounterQty Quantity smallint NOFairMarket Monetary fair market value money NOPlgPreCounter Pledge Premium # int NO GFPlgPre.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFHstPre_HstDetCounter nonclustered located on PRIMARY HstCounter, MotPreCounterGFHstPre_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 94

Page 95: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFHstSts DescriptionGifts table of statistics.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuNameCounter GlobaFILE Name ID int NO NANames.NameCounterFirstAmt Amount of first gift money NOFirstDate Date of first gift datetime YESFirstPurCounter Purpose for first gift int NO GFPur.CounterLargestAmt Amount of largest gift money NOLargestDate Date of largest gift datetime YESLargestPurCounter Purpose for largest gift int NO GFPur.CounterLastAmt Amount of last gift money NOLastDate Date of last gift datetime YESLastPurCounter Purpose for last gift int NO GFPur.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFHstSts_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 95

Page 96: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFMot DescriptionGifts table of motivations.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuMotiv Motivation code varchar(8) YESDescr Description varchar(30) YESBeginDate Begin date datetime YESEndDate End date datetime YESActive Boolean to indicate whether motivation is still active. 0)

no or -1) yessmallint NO

NuMailed Number mailed int NOCost Monetary cost money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterPurCounter Purpose int NO GFPur.CounterDateFirstGift Date of first gift datetime YESDateLastGift Date of last gift datetime YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFMot_Motiv nonclustered located on PRIMARY CoNu, MotivGFMot_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [GFHst].[MotCounter]

[GFMotPre].[MotCounter][GFPlg].[MotCounter][MGMat].[MotCounter]

7/9/2014 Shelby v5 Table Layout Page 96

Page 97: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFMotPre DescriptionGifts table of motivation premiums.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOMotCounter Motivation int NO GFMot.CounterItmCounter Links to INItm for item information int NO INItm.CounterActive Active Motivation Premium smallint NONuSent Number sent int NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFMotPre_MotivCounter nonclustered located on PRIMARY MotCounter, ItmCounterGFMotPre_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [GFHstPre].[MotPreCounter]

[GFPlgPre].[MotPreCounter]

7/9/2014 Shelby v5 Table Layout Page 97

Page 98: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFPlanGiving DescriptionGifts table of planned giving individual information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterActionDate Action date datetime YESActionType Action type int NOStaffMember Type = 'Staffmember' int NO SSTextPicks.CounterPlanGift Type = 'Plan give' int NO SSTextPicks.CounterNextActionDate Next action date datetime YESNextActionType Next action type int NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK_GFPlanGiving nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 98

Page 99: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFPlg DescriptionGifts table of pledges.

FIELDS:Field Name Description Data Type Null? Foreign KeyMICRCounter int NOCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuCongrCounter Congregation Counter links to int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterActive Boolean indicating whether pledge is active. 0) no or -1)

yessmallint NO

PurCounter Purpose int NO GFPur.CounterMotCounter Motivation int NO GFMot.CounterBeginDate Begin date datetime YESPayPerYear Times individual will pay per year smallint NODuration Duration of pledge smallint NOEndDate End date datetime YESPledge Monetary amount of pledge money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterSubDonor Sub-donor int NO NANames.NameCounterPlanGive Boolean indicating whether to use planned giving smallint NOPlanSM Planned giving staff member int NOPlanAD Planned giving acknowledgement date datetime YESPlanJC Planned giving jurisdiction code int NOACH Boolean indicating whether to use ACH. 0) no or -1) yes smallint NOAcctType Account type (e.g., checking, savings, etc.) smallint NOACHAmount ACH amount money NOACHDay ACH day of month smallint NOImageNu ImageNu smallint NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFPlg_NameCounter nonclustered located on PRIMARY CoNu, NameCounter, PurCounter, MotCounter,

BeginDate, CounterGFPlg_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [GFHstDet].[PlgCounter]

[GFPlgPre].[PlgCounter]

7/9/2014 Shelby v5 Table Layout Page 99

Page 100: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFPlgPre DescriptionGifts table of pledged premiums.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increment # int NOPlgCounter Pledge int NO GFPlg.CounterMotPreCounter Motivation Premium int NO GFMotPre.CounterQty Quantity smallint NOQtyUsed Quantity Used smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFPlgPre_PlgCounter nonclustered located on PRIMARY PlgCounter, MotPreCounterPK__GFPlgPre__0666AFE85BA37B27

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [GFHstPre].[PlgPreCounter]

7/9/2014 Shelby v5 Table Layout Page 100

Page 101: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GFPur DescriptionGifts table of purposes.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuCongrCounter Congregation Counter links to int NOPurpose Purpose code varchar(8) YESDescr Description varchar(30) YESBeginDate Begin date datetime YESEndDate End date datetime YESActive Boolean indicating whether purpose is active. 0) no or -

1) yessmallint NO

FundNu General ledger fund smallint NO GLAcct.FundNuBankAcctNu General ledger account # int NO GLAcct.AcctNuIncomeAcctNu General ledger account # int NO GLAcct.AcctNuIncomeDeptNu General ledger department # smallint NO GLAcct.DeptNuTaxDed Boolean indicating whether purpose is tax deductable. 0)

no or -1) yessmallint NO

DistrictColumn District column from type DistrColumn int NO SSTextPicks.CounterPledgeOnly Boolean indicating whether purpose is for pledges only.

0) no or -1) yessmallint NO

DefaultProject Links to SSProject for description int NO SSProject.ProjectCounteACH Boolean indicating whether to assign to ACH account smallint NOACHAcctCtr ACH accounts int NODateFirstGift Date of first gift datetime YESDateLastGift Date of last gift datetime YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who initially set up this record varchar(50) YES

WhoUpdated Who updated this recordvarchar(50) YES

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGFPur_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterGFPur_Purpose nonclustered located on PRIMARY CoNu, Purpose

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [GFAutoEntry].[PurCounter]

[GFHstDet].[PurCounter][GFHstSts].[FirstPurCounter][GFHstSts].[LargestPurCounter][GFHstSts].[LastPurCounter][GFMot].[PurCounter][GFPlg].[PurCounter]

7/9/2014 Shelby v5 Table Layout Page 101

Page 102: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLAcct DescriptionGeneral Ledger table for accounts.

FIELDS:Field Name Description Data Type Null? Foreign KeyBeginDate Fiscal year begin date for accounts datetime NOCoNu Company # smallint NO SSCo.CoNuFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu Account number int NOStmtType Statement type varchar(1) YESLineType Line type varchar(1) YESDescr Description varchar(50) YESClosingAcctNu Closing account # int NO GLAcct.DeptNuVariableBudget Boolean indicating whether budget is variable. 0) no or -

1) yessmallint NO

MasterFundNu If Multisite Link is owned this feild can be used formaster Fund Number

smallint NO

MasterDeptNu If Multisite Link is owned this feild is used for MasterDepartment Number

smallint NO

MasterAcctNu If Multisite Link is owned this feild is used for MasterAcct Number

int NO

Memo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was initially set up datetime YES

WhenUpdated When this record was updateddatetime YES

WhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLAcct_ClosingSeq nonclustered located on PRIMARY BeginDate, CoNu, FundNu, ClosingAcctNuGLAcct_Descr nonclustered located on PRIMARY BeginDate, CoNu, FundNu, DeptNu, DescrGLAcct_MasterChart nonclustered located on PRIMARY BeginDate, MasterFundNu, MasterDeptNu,

MasterAcctNuGLAcct_PrimaryKey nonclustered, unique, primary key located on PRIMARY BeginDate, CoNu, FundNu, DeptNu, AcctNu

RELATED TABLES:Field Name [Related Table].[Related Field]AcctNu [APCC].[AcctNu]

[APCo].[AcctsPayAcctNu][APCo].[DiscAcctNu][APDetail].[AcctNu][APDistrDetail].[AcctNu][APInv].[AcctNu][APInvDetail].[AcctNu][APRecur].[AcctNu][APRecurDetail].[AcctNu][APVendor].[AcctNu][ARInvDetail].[AcctNu][ARItem].[AcctNu][ARPayMisc].[AcctNu][ARRevCenter].[ARAcctNu][ARRevCenter].[BankAcctNu][ARRevCenter].[DiscAcctNu][ARRevCenter].[LCAcctNu][ARRevCenter].[SalesTaxDeptNu][ARRevCenter].[UnappliedCashAcctNu][ARRevCenter].[WriteOffAcctNu][BRAccounts].[AcctNu][CKDetail].[AcctNu][CKEntry].[AcctNu][CNPur].[BankAcctNu][CNPur].[IncomeAcctNu][DHActType].[InterestAcctNu][DHActType].[LiabAcctNu][DHActType].[PenaltyAcctNu][DHPrefs].[BankFundNu][DHPrefs].[InterestAcctNu][DHPrefs].[LiabAcctNu][FAAssets].[AssetAcctNu][FAAssets].[ExpAcctNu][FAAssets].[ReserveAcctNu][GFPur].[BankAcctNu]

7/9/2014 Shelby v5 Table Layout Page 102

Page 103: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name [Related Table].[Related Field][GFPur].[IncomeAcctNu][GLBudget].[AcctNu][GLDetail].[AcctNu][GLFund].[RetainedAcctNu][GLRecurDetail].[AcctNu][GLSummary].[AcctNu][INCls].[COSAcctNu][INCls].[InvAcctNu][INCls].[SalesAcctNu][PODetail].[AcctNu][PRDed].[AcctNu][PRDed].[MatchingAcctNu][PRDistr].[DblAcctNu][PRDistr].[HolAcctNu][PRDistr].[MedAcctNu][PRDistr].[OtherAcctNu][PRDistr].[OverDeptNu][PRDistr].[RegAcctNu][PRDistr].[SickAcctNu][PRDistr].[SSAcctNu][PRDistr].[VacAcctNu][PRTaxTablesGL].[AcctNu][REDetail].[AcctNu][REEntry].[AcctNu][RGEve].[IncomeAcctNu][RGEveAct].[IncomeAcctNu][RGEveCat].[IncomeAcctNu][RGEveCatSel].[IncomeAcctNu][RMAct].[BankAcctNu][RMActPct].[IncomeAcctNu]

CoNu [APInv].[CoNu][APRecur].[CoNu][PO].[CoNu]

DeptNu [APCC].[DeptNu][APCo].[DiscDeptNu][APDetail].[DeptNu][APDistrDetail].[DeptNu][APInv].[DeptNu][APInvDetail].[DeptNu][APRecur].[DeptNu][APRecurDetail].[DeptNu][APVendor].[DeptNu][ARInvDetail].[DeptNu][ARItem].[DeptNu][ARPayMisc].[DeptNu][ARRevCenter].[DiscDeptNu][ARRevCenter].[LCDeptNu][ARRevCenter].[SalesTaxAcctNu][ARRevCenter].[UnappliedCashDeptNu][ARRevCenter].[WriteOffDeptNu][BRAccounts].[DeptNu][CKDetail].[DeptNu][CKEntry].[DeptNu][CNPur].[IncomeDeptNu][DHPrefs].[InterestDeptNu][FAAssets].[ExpDeptNu][GFPur].[IncomeDeptNu][GLAcct].[ClosingAcctNu][GLAcct].[DeptNu][GLBudget].[DeptNu][GLDept].[DeptNu][GLDetail].[DeptNu][GLRecurDetail].[DeptNu][GLReportLinks].[DeptNu][GLRestrict].[DeptNu][GLSummary].[DeptNu][INCls].[COSDeptNu][INCls].[InvDeptNu][INCls].[SalesDeptNu][PODetail].[DeptNu][PRDed].[DeptNu][PRDed].[MatchingDeptNu]

7/9/2014 Shelby v5 Table Layout Page 103

Page 104: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name [Related Table].[Related Field][PRDistr].[DblDeptNu][PRDistr].[HolDeptNu][PRDistr].[MedDeptNu][PRDistr].[OtherDeptNu][PRDistr].[OverAcctNu][PRDistr].[RegDeptNu][PRDistr].[SickDeptNu][PRDistr].[SSDeptNu][PRDistr].[VacDeptNu][PRTaxTablesGL].[DeptNu][REDetail].[DeptNu][REEntry].[DeptNu][RGEve].[IncomeDeptNu][RGEveAct].[IncomeDeptNu][RGEveCat].[IncomeDeptNu][RGEveCatSel].[IncomeDeptNu][RMActPct].[IncomeDeptNu]

FundNu [APCC].[FundNu][APDetail].[FundNu][APDistrDetail].[FundNu][APInv].[FundNu][APInvDetail].[FundNu][APRecur].[FundNu][APRecurDetail].[FundNu][APVendor].[FundNu][ARRevCenter].[FundNu][BRAccounts].[FundNu][CKDetail].[FundNu][CKEntry].[FundNu][CNPur].[FundNu][DHPrefs].[BankAcctNu][FAAssets].[FundNu][GFPur].[FundNu][GLAcct].[FundNu][GLBudget].[FundNu][GLDept].[FundNu][GLDetail].[FundNu][GLFund].[FundNu][GLRecurDetail].[FundNu][GLReportLinks].[FundNu][GLRestrict].[FundNu][GLSummary].[FundNu][INCls].[FundNu][PODetail].[FundNu][PRDed].[FundNu][PRDistr].[FundNu][PRTaxTablesGL].[FundNu][REDetail].[FundNu][REEntry].[FundNu][RMAct].[FundNu][RMActPct].[IncomeFundNu]

7/9/2014 Shelby v5 Table Layout Page 104

Page 105: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLBFS DescriptionStores Budgeted Financial layouts

FIELDS:Field Name Description Data Type Null? Foreign KeyDescr Description varchar(50) NOCounter Auto Number Primary Key int NOPasswordForChange Password required to make changes to report format varchar(50) NOTStamp System Generated Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLBFS_Descr nonclustered located on PRIMARY Descr, CounterPK__GLBFS__0666AFE82220E508 nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [GLBFSDetail].[GLBFSCounter]

7/9/2014 Shelby v5 Table Layout Page 105

Page 106: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLBFSDetail DescriptionBudgeted Financial layout detail columns

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Generated Primary Key int NOGLBFSCounter Links to GLBFS table int NO GLBFS.CounterVisible Boolean to designate show on report or not. 0) no or -1)

yes.smallint NO

FiscalYearOffset Small Integer for storing the Fiscal year offset Description

smallint NO

Descr Description varchar(50) NOFormula Formula for calculating varchar(255) NOColType Small Integer representing type of data smallint NOFieldKey Integer represting the key field int NOTStamp System Generated Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLBFSDetail_GLBfsCounter nonclustered located on PRIMARY GLBFSCounter, CounterPK__GLBFSDet__0666AFE825F175EC

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 106

Page 107: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLBudget DescriptionGeneral Ledger table for budgets.

FIELDS:Field Name Description Data Type Null? Foreign KeyBeginDate Fiscal year begin date for budget datetime NOCoNu Company # smallint NO SSCo.CoNuFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu General ledger

Bud01int NO GLAcct.AcctNu

BudType Distribute smallint NOBud01 Budget amount - period 1 money NOBud02 Budget amount - period 2 money NOBud03 Budget amount - period 3 money NOBud04 Budget amount - period 4 money NOBud05 Budget amount - period 5 money NOBud06 Budget amount - period 6 money NOBud07 Budget amount - period 7 money NOBud08 Budget amount - period 8 money NOBud09 Budget amount - period 9 money NOBud10 Budget amount - period 10 money NOBud11 Budget amount - period 11 money NOBud12 Budget amount - period 12 money NOBud13 Budget amount - period 13 money NOCounter AutoGenerated Primary Key int NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhoSetup Who initially set up this record varchar(50) YESWhenUpdated When this record was updated datetime YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLBudget_AcctSeq nonclustered located on PRIMARY CoNu, FundNu, DeptNu, AcctNu, BeginDateGLBudget_Counter nonclustered located on PRIMARY CounterGLBudget_PrimaryKey nonclustered, unique, primary key located on PRIMARY BeginDate, CoNu, FundNu, DeptNu, AcctNu

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [GLBudgetProjects].[GLBudgetCounter]

[GLBudgetRevisions].[GLBudgetCounter]

7/9/2014 Shelby v5 Table Layout Page 107

Page 108: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLBudgetProjects DescriptionTable that saves the Budget by period project

FIELDS:Field Name Description Data Type Null? Foreign KeyBud01 Project Budget for period1 money YESBud02 Project Budget for period2 money YESBud03 Project Budget for period3 money YESBud04 Project Budget for period4 money YESBud05 Project Budget for period5 money YESBud06 Project Budget for period6 money YESBud07 Project Budget for period7 money YESBud08 Project Budget for period8 money YESBud09 Project Budget for period9 money YESBud10 Project Budget for period10 money YESBud11 Project Budget for period11 money YESBud12 Project Budget for period12 money YESBud13 Project Budget for period13 money YESCounter auto generated primary key int NOGLBudgetCounter links to GLBudget int NO GLBudget.CounterProjectCounter Links to Project int NO Project.CounterWhenSetup Date Stamp when setup datetime NOWhenUpdated Date STamp When Updated datetime NOWhoSetup User Stamp who Setup varchar(50) NOWhoUpdated User Stamp Who Updated varchar(50) NOTStamp Time STamp timestamp NO

INDEXES:Index Name Description Key ColumnsGLBudgetProjects_GLBudgetCounter

nonclustered located on PRIMARY GLBudgetCounter, ProjectCounter

PK__GLBudget__0666AFE83691F209

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [GLBudgetRevisionsProjects].[GLBudgetProjectsCounter

]

7/9/2014 Shelby v5 Table Layout Page 108

Page 109: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLBudgetRevisions Description

FIELDS:Field Name Description Data Type Null? Foreign KeyPeriod Period Name smallint NOBud01 Budget for Revision on Period money YESBud02 Budget for Revision on Period 2 money YESBud03 Budget for Revision on Period 3 money YESBud04 Budget for Revision on Period 4 money YESBud05 Budget for Revision on Period 5 money YESBud06 Budget for Revision on Period 6 money YESBud07 Budget for Revision on Period 7 money YESBud08 Budget for Revision on Period 8 money YESBud09 Budget for Revision on Period 9 money YESBud10 Budget for Revision on Period 10 money YESBud11 Budget for Revision on Period 11 money YESBud12 Budget for Revision on Period 12 money YESBud13 Budget for Revision on Period 13 money YESMemo varchar(4096) NOCounter Auto Number Primary Key int NOGLBudgetCounter Links to GLBudget int NO GLBudget.CounterWhenSetup System Time stamp when Revision Setup datetime NOWhenUpdated System Time stamp of when updated datetime NOWhoSetup System STamp of User who Setup varchar(50) NOWhoUpdated System Stamp of User who last updated varchar(50) NOTStamp System TIme Stamp timestamp NO

INDEXES:Index Name Description Key ColumnsGLBudgetRevisions_GLBudgetCounter

nonclustered located on PRIMARY GLBudgetCounter, Period

PK__GLBudget__0666AFE8274FAE79

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 109

Page 110: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLBudgetRevisionsProjects Description

FIELDS:Field Name Description Data Type Null? Foreign KeyPeriod Period Name smallint NOBud01 Budget for Project Revisions in Period 1 money YESBud02 Budget for Project Revisions in Period 2 money YESBud03 Budget for Project Revisions in Period 3 money YESBud04 Budget for Project Revisions in Period 4 money YESBud05 Budget for Project Revisions in Period 5 money YESBud06 Budget for Project Revisions in Period 6 money YESBud07 Budget for Project Revisions in Period 7 money YESBud08 Budget for Project Revisions in Period 8 money YESBud09 Budget for Project Revisions in Period 9 money YESBud10 Budget for Project Revisions in Period 10 money YESBud11 Budget for Project Revisions in Period 11 money YESBud12 Budget for Project Revisions in Period 12 money YESBud13 Budget for Project Revisions in Period 13 money YESCounter Auto Number Primary Key int NOGLBudgetProjectsCounter Links to GLBudgetProjects int NO GLBudgetProjects.CounterWhenSetup System Time stamp when setup datetime NOWhenUpdated System Time Stamp last updated datetime NOWhoSetup System Stamp User setup varchar(50) NOWhoUpdated System Stamp Last User who updated varchar(50) NOTStamp System Time Stamp timestamp NO

INDEXES:Index Name Description Key ColumnsGLBudgetRevisionsProjects_GLBudgetProjectsCounter

nonclustered located on PRIMARY GLBudgetProjectsCounter, Period

PK__GLBudget__0666AFE83E3313D1

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 110

Page 111: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLDept DescriptionGeneral Ledger table for departments.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuName Department Name varchar(50) YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLDept_Name nonclustered located on PRIMARY CoNu, FundNu, NameGLDept_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, FundNu, DeptNu

RELATED TABLES:Field Name [Related Table].[Related Field]DeptNu [DHActType].[InterestDeptNu]

[DHActType].[LiabDeptNu]

7/9/2014 Shelby v5 Table Layout Page 111

Page 112: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLDetail DescriptionGeneral Ledger table containing journal entry detail.

FIELDS:Field Name Description Data Type Null? Foreign KeyDetailCounter Auto Number Primary Key int NOHeaderCounter Links to GLEntries int NO GLEntries.HeaderCounterFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu General ledger account int NO GLAcct.AcctNuGLDate Date datetime YESDescription Description varchar(60) YESAmt Line detail amount (i.e., credit, debit) money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterBeginDate Fiscal year datetime YESCoNu Company # smallint NO SSCo.CoNuPeriod Period smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLDetail_GLSeq nonclustered located on PRIMARY BeginDate, CoNu, FundNu, DeptNu, AcctNu, Period,

GLDateGLDetail_HeaderCounter nonclustered located on PRIMARY HeaderCounter, DetailCounterGLDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY DetailCounterGLDetail_Project nonclustered located on PRIMARY ProjectCounter, DetailCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 112

Page 113: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLEntries DescriptionGeneral Ledger table for journal entries.

FIELDS:Field Name Description Data Type Null? Foreign KeyHeaderCounter Auto Number Primary Key int NOPosted Boolean indicating whether entry has been posted. 0) no

or -1) yessmallint NO

BeginDate Fiscal year begin date for journal entries datetime YESCoNu Company # smallint NO SSCo.CoNuPeriod Period smallint NOJType Journal type varchar(2) YESJVNu Journal number int NOHeadDescr Description varchar(50) YESGLDate Date datetime YESEditOK Boolean indicating whether the edit is OK smallint NOManual Boolean indicating Manual entry smallint NOImageNu Image Number int NOImageNuSupp Image Number Supplemental Document smallint NOMemo varchar(4096) YESReversedEntry Indicates a reversing entry is tied to this entry smallint NOReversedHeaderCounter Counter of the reversing entry tiied to this entry int NOWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLEntries_Posted nonclustered located on PRIMARY Posted, BeginDate, CoNu, Period, JType, JVNuGLEntries_PrimaryKey nonclustered, unique, primary key located on PRIMARY HeaderCounter

RELATED TABLES:Field Name [Related Table].[Related Field]HeaderCounter [AMMstJournal].[GLEntriesCounter]

[APInv].[GLEntriesCounter][GLDetail].[HeaderCounter]

7/9/2014 Shelby v5 Table Layout Page 113

Page 114: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLFund DescriptionGeneral Ledger table for funds.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuFundNu General ledger fund smallint NO GLAcct.FundNuRetainedAcctNu Default closing account # int NO GLAcct.AcctNuName Fund Name varchar(50) YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLFund_Name nonclustered located on PRIMARY CoNu, NameGLFund_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, FundNu

RELATED TABLES:Field Name [Related Table].[Related Field]FundNu [DHActType].[FundNu]

[DHActType].[PenaltyDeptNu]

7/9/2014 Shelby v5 Table Layout Page 114

Page 115: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLJournals DescriptionGeneral ledger table for journal types.

FIELDS:Field Name Description Data Type Null? Foreign KeyJType Journal type varchar(2) NODescr Description varchar(50) YESJVNu Last journal number used int NORecurNu Last recurring journal number used int NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLJournals_Descr nonclustered located on PRIMARY DescrGLJournals_PrimaryKey nonclustered, unique, primary key located on PRIMARY JType

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 115

Page 116: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLJournalsNu DescriptionGeneral Ledger table for last journal numbers used.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuFiscalYear Fiscal year begin date for journal numbers datetime NOJType Journal type varchar(2) NOJVNu Last journal number used int YES

INDEXES:Index Name Description Key ColumnsPK__GLJourna__16D1CE512BF46805

clustered, unique, primary key located on PRIMARY CoNu, FiscalYear, JType

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 116

Page 117: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLRecur DescriptionGeneral Ledger table of recurring journal entries.

FIELDS:Field Name Description Data Type Null? Foreign KeyHeaderCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuJType Journal type varchar(2) YESJVNu Journal number int NOActive Boolean indicating whether entry is active. 0) no or -1)

yessmallint NO

HeadDescr Description varchar(50) YESByPercent Boolean indicating whether to distribute by percent. 0)

no or -1) yessmallint NO

Memo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLRecur_CoNu nonclustered located on PRIMARY CoNu, JType, JVNuGLRecur_PrimaryKey nonclustered, unique, primary key located on PRIMARY HeaderCounter

RELATED TABLES:Field Name [Related Table].[Related Field]HeaderCounter [GLRecurDetail].[HeaderCounter]

7/9/2014 Shelby v5 Table Layout Page 117

Page 118: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLRecurDetail DescriptionGeneral Ledger table for recurring journal entries detail.

FIELDS:Field Name Description Data Type Null? Foreign KeyDetailCounter Auto Number Primary Key int NOHeaderCounter Links to GLRecur int NO GLRecur.HeaderCounterFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu General ledger account int NO GLAcct.AcctNuDescription Description varchar(60) YESAmt Line item total amount money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLRecurDetail_GLSeq nonclustered located on PRIMARY FundNu, DeptNu, AcctNuGLRecurDetail_HeaderCounter nonclustered located on PRIMARY HeaderCounter, DetailCounterGLRecurDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY DetailCounterGLRecurDetail_Project nonclustered located on PRIMARY ProjectCounter, DetailCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 118

Page 119: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLReportLines DescriptionGeneral Ledger table for lines of Special Report Design.

FIELDS:Field Name Description Data Type Null? Foreign KeyDescr Description varchar(50) YESLineNu Line number int NOLineType Line type varchar(1) YESReportCounter Links to GLReports int NO GLReports.ReportCounterReverse Boolean indicating whether to reverse sign when

printing. 0) no or -1) yessmallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLReportLines_Descr nonclustered located on PRIMARY ReportCounter, DescrGLReportLines_PrimaryKey nonclustered, unique, primary key located on PRIMARY ReportCounter, LineNu

RELATED TABLES:Field Name [Related Table].[Related Field]ReportCounter [GLReportLinks].[ReportCounter]

7/9/2014 Shelby v5 Table Layout Page 119

Page 120: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLReportLinks DescriptionGeneral Ledger table of criteria for report lines.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuLineNu Line number int NOAcctNuHigh Account number range - higher value int NOAcctNuLow Account number range - lower value int NOReportCounter Links to GLReportLines int NO GLReportLines.ReportCounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLReportLinks_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterGLReportLinks_ReportLine nonclustered located on PRIMARY ReportCounter, LineNu, FundNu, DeptNu, AcctNuLow

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 120

Page 121: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLReports DescriptionGeneral Ledger table for special reports.

FIELDS:Field Name Description Data Type Null? Foreign KeyReportCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuTitle Title varchar(50) YESPassword Password varchar(30) NOSecurityLevel Security level 0) Unsecure, 1) Change or Run, 2)

Change onlysmallint NO

Memo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLReports_PrimaryKey nonclustered, unique, primary key located on PRIMARY ReportCounterGLReports_Title nonclustered located on PRIMARY CoNu, Title

RELATED TABLES:Field Name [Related Table].[Related Field]ReportCounter [GLReportLines].[ReportCounter]

7/9/2014 Shelby v5 Table Layout Page 121

Page 122: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLRestrict DescriptionGeneral Ledger table for account rights.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNuLow Account number range - lower value int NOAcctNuHigh Account number range - higher value int NOOmit Boolean for whether selection should include or omit smallint NOSSUsersCounter Links to the User Counter int NO SSUser.CounterOUMstCounter Links to OUMst int NO OUMst.CounterFundNuHigh Fund Nu High value smallint NODeptNuHigh Dept Num High Value smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLRestrict_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterGLRestrict_SSUsersCounter nonclustered located on PRIMARY SSUsersCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 122

Page 123: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLSummary DescriptionGeneral Ledger table for account summary balances.

FIELDS:Field Name Description Data Type Null? Foreign KeyBeginDate Fiscal year begin date datetime NOCoNu Company # smallint NO SSCo.CoNuFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu General ledger account int NO GLAcct.AcctNuOpenBal Opening balance money NOAmt01 Summary amount - period 1 money NOAmt02 Summary amount - period 2 money NOAmt03 Summary amount - period 3 money NOAmt04 Summary amount - period 4 money NOAmt05 Summary amount - period 5 money NOAmt06 Summary amount - period 6 money NOAmt07 Summary amount - period 7 money NOAmt08 Summary amount - period 8 money NOAmt09 Summary amount - period 9 money NOAmt10 Summary amount - period 10 money NOAmt11 Summary amount - period 11 money NOAmt12 Summary amount - period 12 money NOAmt13 Summary amount - period 13 money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLSummary_AcctSeq nonclustered located on PRIMARY CoNu, FundNu, DeptNu, AcctNu, BeginDateGLSummary_PrimaryKey nonclustered, unique, primary key located on PRIMARY BeginDate, CoNu, FundNu, DeptNu, AcctNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 123

Page 124: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLTransaction DescriptionTable used for Importing GL entries form external sources. See GLEntries

FIELDS:Field Name Description Data Type Null? Foreign KeyID int NOCoNu smallint NOWhenSetup datetime NOName varchar(50) NOReadyToImport bit NOWhenImported datetime YESWhoImported varchar(50) NOImported bit NOHeaderCounter int NO

INDEXES:Index Name Description Key ColumnsIX_GLTransaction_CoNu_WhenSetup_Name

nonclustered located on PRIMARY CoNu, WhenSetup, Name

PK_GLTransaction clustered, unique, primary key located on PRIMARY ID

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 124

Page 125: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLTransactionDetail DescriptionTable used for Importing GL entries form external sources. See GLDetail

FIELDS:Field Name Description Data Type Null? Foreign KeyID int NOGLTransactionID int NOFundNu smallint NODeptNu smallint NOAcctNu int NOJournalType varchar(2) NOJournalNumber int NOAccountingPeriod smallint NOJournalDate datetime NODescription varchar(50) NOAmount money NOProjectCounter int YESProjectName varchar(50) NO

INDEXES:Index Name Description Key ColumnsIX_GLTransactionDetail_GLTransactionID_ID

nonclustered, unique located on PRIMARY GLTransactionID, ID

PK_GLTransactionDetail clustered, unique, primary key located on PRIMARY ID

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 125

Page 126: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

GLYear DescriptionGeneral Ledger table for your company's year and period information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuBeginDate Year begin date datetime NOEndDate Year end date datetime YESYearClosed Boolean indicating whether year is closed. 0) no or -1)

yessmallint NO

WhoClosed User who closed year varchar(50) YESWhoOpened User who opened year varchar(50) YESPeriod01 Period description varchar(50) YESClosed01 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed01 User who closed period varchar(50) YESWhoOpened01 User who opened period varchar(50) YESPeriod02 Period description varchar(50) YESClosed02 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed02 User who closed period varchar(50) YESWhoOpened02 User who opened period varchar(50) YESPeriod03 Period description varchar(50) YESClosed03 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed03 User who closed period varchar(50) YESWhoOpened03 User who opened period varchar(50) YESPeriod04 Period description varchar(50) YESClosed04 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed04 User who closed period varchar(50) YESWhoOpened04 User who opened period varchar(50) YESPeriod05 Period description varchar(50) YESClosed05 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed05 User who closed period varchar(50) YESWhoOpened05 User who opened period varchar(50) YESPeriod06 Period description varchar(50) YESClosed06 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed06 User who closed period varchar(50) YESWhoOpened06 User who opened period varchar(50) YESPeriod07 Period description varchar(50) YESClosed07 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed07 User who closed period varchar(50) YESWhoOpened07 User who opened period varchar(50) YESPeriod08 Period description varchar(50) YESClosed08 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed08 User who closed period varchar(50) YESWhoOpened08 User who opened period varchar(50) YESPeriod09 Period description varchar(50) YESClosed09 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed09 User who closed period varchar(50) YESWhoOpened09 User who opened period varchar(50) YESPeriod10 Period description varchar(50) YESClosed10 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed10 User who closed period varchar(50) YESWhoOpened10 User who opened period varchar(50) YESPeriod11 Period description varchar(50) YESClosed11 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed11 User who closed period varchar(50) YESWhoOpened11 User who opened period varchar(50) YESPeriod12 Period description varchar(50) YESClosed12 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

WhoClosed12 User who closed period varchar(50) YESWhoOpened12 User who opened period varchar(50) YESPeriod13 Period description varchar(50) YESClosed13 Boolean indicating whether period is closed. 0) no or -1)

yessmallint NO

7/9/2014 Shelby v5 Table Layout Page 126

Page 127: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name Description Data Type Null? Foreign KeyWhoClosed13 User who closed period varchar(50) YESWhoOpened13 User who opened period varchar(50) YESYearEndDate Date year end was run datetime YESWhoYearEnd Who ran year end varchar(50) YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsGLYear_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, BeginDate

RELATED TABLES:Field Name [Related Table].[Related Field]BeginDate [SSCo].[CurrentYear]

7/9/2014 Shelby v5 Table Layout Page 127

Page 128: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

INCls DescriptionPremium Inventory table for Class Information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuClass Class varchar(8) NODescr Description varchar(30) YESFundNu General ledger fund smallint NO GLAcct.FundNuSalesDeptNu General ledger department smallint NO GLAcct.DeptNuSalesAcctNu General ledger account int NO GLAcct.AcctNuCOSDeptNu General ledger department smallint NO GLAcct.DeptNuCOSAcctNu General ledger account int NO GLAcct.AcctNuInvDeptNu General ledger department smallint NO GLAcct.DeptNuInvAcctNu General ledger account int NO GLAcct.AcctNuTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsINCls_Descr nonclustered located on PRIMARY CoNu, DescrINCls_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, Class

RELATED TABLES:Field Name [Related Table].[Related Field]Class [INItm].[Class]

7/9/2014 Shelby v5 Table Layout Page 128

Page 129: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

INItm DescriptionPremium Inventory table for Item Information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuItemNu Item # varchar(15) YESDescr Description varchar(30) YESClass Class varchar(8) YES INCls.ClassVendor Vendor int NO NANames.NameCounterUOM Unit of Measure varchar(6) YESPrice Price money NOAvgCost Average cost money NOLastCost Last cost money NOOrderDate Order date datetime YESExpectedDate Expected date datetime YESReorder Default reorder point int NORecommended Default recommended quantity int NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsINItm_Descr nonclustered located on PRIMARY CoNu, DescrINItm_ItemNu nonclustered located on PRIMARY CoNu, ItemNuINItm_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [GFMotPre].[ItmCounter]

[INItmWhs].[ItmCounter][PODetail].[INItmCounter]

7/9/2014 Shelby v5 Table Layout Page 129

Page 130: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

INItmWhs DescriptionPremium Inventory table for items in warehouse.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOItmCounter Links to INItm int NO INItm.CounterWarehouse Warehouse int NOAisle Aisle varchar(6) YESBin Bin varchar(6) YESReorder Reorder quantity int NORecommended Recommended quantity int NOBeginning Beginning int NOReceipts Receipts int NOAdjusts Adjustments int NOSales Sales int NOINCommitted Committed int NOLastReceipt Date last receipt datetime YESQtyLastReceipt Quantity last receipt int NOLastSale Date last sale datetime YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsINItmWhs_ItmCounter nonclustered located on PRIMARY ItmCounter, WarehouseINItmWhs_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterINItmWhs_Warehouse nonclustered located on PRIMARY Warehouse, ItmCounter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [INTrn].[ItmCounter]

Warehouse [CNHst].[WhsCounter][GFHst].[WhsCounter]

7/9/2014 Shelby v5 Table Layout Page 130

Page 131: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

INTrn DescriptionPremium Inventory table for inventory transactions.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOWarehouse Links to INWhs int NO INWhs.NameCounterItmCounter Links to INItmWhs int NO INItmWhs.CounterINDate Date datetime YESINTransaction Type smallint NOReference Reference varchar(12) YESQty Quantity int NODescr Description varchar(30) YESCost Cost money NOAisle Aisle varchar(6) YESBin Bin varchar(6) YESVendor Vendor int NO NANames.NameCounterWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsINTrn_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 131

Page 132: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

INWhs DescriptionPremium Inventory for warehouse information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuNameCounter GlobaFILE Name ID int NO NANames.NameCounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsINWhs_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, NameCounter

RELATED TABLES:Field Name [Related Table].[Related Field]NameCounter [INTrn].[Warehouse]

7/9/2014 Shelby v5 Table Layout Page 132

Page 133: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

IREmplr DescriptionInsurance/Retirement table for employer information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuNameCounter GlobaFILE Name ID int NO NANames.NameCounterLERE LERE (Plan ID #) varchar(10) YESAR Boolean indicating whether to post to AR. 0) no or -1) yes smallint NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsIREmplr_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, NameCounter

RELATED TABLES:Field Name [Related Table].[Related Field]NameCounter [IREmply].[EmplrCounter]

7/9/2014 Shelby v5 Table Layout Page 133

Page 134: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

IREmply DescriptionInsurance/Retirement table for employees/participants.

FIELDS:Field Name Description Data Type Null? Foreign KeyEmplyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuNameCounter GlobaFILE Name ID int NO NANames.NameCounterStatus Employment status varchar(1) YESDateHired Hire date datetime YESDateTerm Terminated date datetime YESDateEnrolled Enrolled date datetime YESDateInsured Insured date datetime YESTypesCounter Links to IRTypes int NO IRTypes.CounterWorkcoCounter Links to IRWorkco int NO IRWorkco.CounterTypesClassCounter Links to IRTypeClass int NO IRTypesClass.CounterPositCounter Links to IRPosit int NO IRPosit.CounterAnnualEarn Annual earnings money NOLifeCoverage Life coverage money NODisabCoverage Disability coverage money NOHoursWeek Hours/week real NODependents Number of dependents smallint NOCertificate Certificate varchar(10) YESIRPercent Retirement % real NOEmplrCounter Links to IREmplr int NO IREmplr.NameCounterFrequency Frequency smallint NOAltParticipant Amount for Alt Participant money NOAltEmployer Amount for Alt Employer money NOAlt Amount for Proceed Disbursements smallint NOAltDistr1 Amount for Proceed Disbursements 1 money NOAltDistr2 Amount for Proceed Disbursements 2 money NOAltDistr3 Amount for Proceed Disbursements 3 money NOAltDistr4 Amount for Proceed Disbursements 4 money NOAltDistr5 Amount for Proceed Disbursements 5 money NOPreTax Boolean for whether item should be pretax. 0) no -1) yes smallint NOEmployerBilled Boolean for whether item should be Employer Billed. 0)

no -1) yessmallint NO

Memo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsIREmply_CoNu nonclustered located on PRIMARY CoNu, NameCounter, EmplyCounterIREmply_ParCounter nonclustered located on PRIMARY EmplrCounter, NameCounterIREmply_PrimaryKey nonclustered, unique, primary key located on PRIMARY EmplyCounter

RELATED TABLES:Field Name [Related Table].[Related Field]EmplyCounter [IREmplyDepen].[EmplyCounter]

7/9/2014 Shelby v5 Table Layout Page 134

Page 135: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

IREmplyDepen DescriptionInsurance/Retirement table of employee dependents.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuEmplyCounter Links to IREmply int NO IREmply.EmplyCounterName Name varchar(25) YESSSNu Social security number varchar(11) YESBirthdate Birthdate datetime YESDateInsured Insured date datetime YESRelation Relationship varchar(1) YESTypesClassCounter Insurance class int NO IRTypeClass.CounterTypesCounter Type employee int NO IRTypes.CounterMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsIREmplyDepen_EmplyCounter nonclustered located on PRIMARY CoNu, EmplyCounter, CounterIREmplyDepen_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 135

Page 136: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

IRPosit DescriptionInsurance/Retirement table of positons.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(30) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsIRPosit_Descr nonclustered located on PRIMARY DescrIRPosit_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [IREmply].[PositCounter]

7/9/2014 Shelby v5 Table Layout Page 136

Page 137: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

IRPrefs DescriptionInsurance/Retirement table of preferences.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuDistr1Name Proceeds disbursement - name 1 varchar(20) YESDistr2Name Proceeds disbursement - name 2 varchar(20) YESDistr3Name Proceeds disbursement - name 3 varchar(20) YESDistr4Name Proceeds disbursement - name 4 varchar(20) YESDistr5Name Proceeds disbursement - name 5 varchar(20) YESDistr1Type Proceeds disbursement - type 1 smallint NODistr2Type Proceeds disbursement - type 2 smallint NODistr3Type Proceeds disbursement - type 3 smallint NODistr4Type Proceeds disbursement - type 4 smallint NODistr5Type Proceeds disbursement - type 5 smallint NOInsuranceNameCounter Insurance carrier int NO NANames.NameCounterWorkcoFrequency Worker's comp frequency smallint NOLifeFrequency Life and disability frequency smallint NORetireFrequency Retirement frequency smallint NOLifeCovMult Life coverage real NODisabCovMult Disability coverage real NOLifeLimit Life coverage limit money NOSortByPosit Boolean indicating whether to print workers'

compensation billing in alphabetical order by position. 0)no or -1) yes

smallint NO

SepInvs Boolean indicating whether to invoice employer for eachemployee/participant. 0) no or -1) yes

smallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsIRPrefs_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 137

Page 138: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

IRTypes DescriptionInsurance/Retirement table for type information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOCoNu smallint NO SSCo.CoNuType varchar(20) YESLifeRate real NOLifeItem int NO ARItem.CounterDisabRate real NODisabItem int NO ARItem.CounterRetireItem int NO ARItem.CounterDistr1Item int NO ARItem.CounterDistr2Item int NO ARItem.CounterDistr3Item int NO ARItem.CounterDistr4Item int NO ARItem.CounterDistr5Item int NO ARItem.CounterTStamp timestamp YES

INDEXES:Index Name Description Key ColumnsIRTypes_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [IREmply].[TypesCounter]

[IREmplyDepen].[TypesCounter][IRTypesClass].[TypesCounter]

7/9/2014 Shelby v5 Table Layout Page 138

Page 139: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

IRTypesClass DescriptionInsurance/Retirement table class information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOTypesCounter Links to IRTypes int NO IRTypes.CounterClass Class varchar(10) YESDescr Description varchar(50) YESCoverage Coverage varchar(25) YESEmply Employee money NOEmplr Employer money NODistr1 Distr. 1 money NODistr2 Distr. 2 money NODistr3 Distr. 3 money NODistr4 Distr. 4 money NODistr5 Distr. 5 money NOSubFeeCoverage Subfee coverage varchar(25) YESSubFee Subfee money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsIRTypesClass_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterIRTypesClass_TypCounter nonclustered located on PRIMARY TypesCounter, Class, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [IREmply].[TypesClassCounter]

7/9/2014 Shelby v5 Table Layout Page 139

Page 140: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

IRWorkco DescriptionInsurance/Retirement table workmans' compensation information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuDescr Description varchar(30) YESRate Rate real NOItem Item int NO ARItem.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsIRWorkco_Descr nonclustered located on PRIMARY Descr, CounterIRWorkco_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [IREmply].[WorkcoCounter]

7/9/2014 Shelby v5 Table Layout Page 140

Page 141: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

LNInv DescriptionLoan Processing table containing loan invoice information that was sent to Accounts Receivable.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOLNMstCounter Links to LNMst int NO LNMst.CounterLNDate Loan invoice date datetime NOPrincipal Principal amount money NOInterest Intereset amount money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsLNInv_LNMstCounter nonclustered located on PRIMARY LNMstCounter, LNDatePK__LNInv__0666AFE80AB36FCB nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 141

Page 142: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

LNMst DescriptionLoan Processing table containing the loan information.

FIELDS:Field Name Description Data Type Null? Foreign KeyAccountNu Account number varchar(15) NOAccountName Account name varchar(35) NOTypeCounter Links to SSTextPicks for Type information int NO SSTextPicks.CounterInterestThru Date interest posted thru datetime YESCalcOption Calculation options 0) Traditional (360), 1) Traditional

(Acutal Days), 2) Simple Daily Interestsmallint NO

AddtlPaidPrincipal Additional Paid Principal money NOBalloonDate Balloon Date datetime YESCoNu Company # smallint NO SSCo.CoNuCounter Auto Number Primary Key int NODownPayAmount Down payment amount money NODownPayPercent Down payment percent real NOFirstPayment First payment datetime YESInceptionPosted Inception posted smallint NOInterestAcctNu Interest account # int NOInterestDeptNu Interest department # smallint NOInterestFundNu Interest fund # smallint NOInvoicedPrincipal Invoiced Principal money NONameCounter GlobaFILE Name ID int NO NANames.NameCounterNuPayments # of payments smallint NOPaymentAmount Payment amount money NOPaymentsPerYear Payments per year smallint NOPrincipalAcctNu Principal account # int NOPrincipalDeptNu Principal department # smallint NOPrincipalFundNu Principal fund # smallint NORate Interest rate real NOTotalAmount Total amount money NOType Type of loan 0) Conventional, 1) Balloon, 2) Interest Only smallint NOPrint1098 Boolean for whether to print a 1098 0) No or -1) Yes smallint NOPaidPrincipal Principal paid money NOPaidInterest Interest paid money NOInvoicedInterest Invoiced Interest money NOBankAcctNu Bank account # int NOBankFundNu Bank fund # smallint NOInception Inception date datetime YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsLNMst_NameCounter nonclustered located on PRIMARY CoNu, NameCounter, FirstPayment, CounterLNMst_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [LNInv].[LNMstCounter]

7/9/2014 Shelby v5 Table Layout Page 142

Page 143: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

LNPay DescriptionLoan Processing table containing the loan payments.

FIELDS:Field Name Description Data Type Null? Foreign KeyCheckNu Check # varchar(8) YESCounter Auto Number Primary Key int NOLNDate Loan date datetime YESMstCounter Link to LNMst int NOPosted Posted smallint NOPrincipal Principal money NOInterest Interest money NOAddtlPaidPrincipal Additional principal paid money NOAdjustment Payment adjustment amount money NOLateFee Late fee amount money NOMemo varchar(4096) NOWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsLNPay_MstCounter nonclustered located on PRIMARY MstCounter, CounterLNPay_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 143

Page 144: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBAtChurch DescriptionMembership table that is used for the Multiview/@ChurchNetwork export.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterLastRecord Individual's information varchar(8000) NOIndividualPictureDate Date of individual picture varchar(20) YESFamilyPictureDate Date of family picture varchar(20) YES

INDEXES:Index Name Description Key ColumnsMBAtChurch_PrimaryKey clustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 144

Page 145: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBAttStsSave Description

FIELDS:Field Name Description Data Type Null? Foreign KeyContacts int NOCounter int NODollars money NOEnrolled int NOLesson int NOLetters int NOMembers int NOMemo varchar(4096) YESNewMembers int NOOrgDatCounter int NOOrgDetCounter int NOTelephoned int NOTransfers int NOVisitors int NOVisits int NOWorship int NOTStamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBAttSts_OrgDatCounter nonclustered located on PRIMARY OrgDatCounter, OrgDetCounterMBAttSts_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 145

Page 146: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBAttTypSave Description

FIELDS:Field Name Description Data Type Null? Foreign KeyDescr varchar(20) YESType varchar(1) NOTStamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBAttTyp_Descr nonclustered located on PRIMARY DescrMBAttTyp_PrimaryKey nonclustered, unique, primary key located on PRIMARY Type

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 146

Page 147: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBChu DescriptionMembership table for master record information.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterProspectsAT Track prospects in Attendance boolean 0) no or -1) yes smallint NODate1 Date 1 - Field Name Customization varchar(50) YESDate2 Date 2 - Field Name Customization varchar(50) YESDate3 Date 3 - Field Name Customization varchar(50) YESDate4 Date 4 - Field Name Customization varchar(50) YESDate5 Date 5 - Field Name Customization varchar(50) YESDate6 Date 6 - Field Name Customization varchar(50) YESDate7 Date 7 - Field Name Customization varchar(50) YESDate8 Date 8 - Field Name Customization varchar(50) YESDate9 Date 9 - Field Name Customization varchar(50) YESDate10 Date 10 - Field Name Customization varchar(50) YESRelationship Relationship - Field Name Customization varchar(50) YESHowReceived How received - Field Name Customization varchar(50) YESDateReceived Date received - Field Name Customization varchar(50) YESSpecialProfile Special profile - Field Name Customization varchar(50) YESAuxiliary Auxiliary # - Field Name Customization varchar(50) YESEffectiveDate Life events (Effective date) - Field Name Customization varchar(50) YESEndingDate Life events(Ending date) - Field Name Customization varchar(50) YESWho1 Life events(Who1) - Field Name Customization varchar(50) YESWho2 Life events(Who2) - Field Name Customization varchar(50) YESLocation Life events(Location) - Field Name Customization varchar(50) YESCongregationEnrolled Life events(Congregation enrolled) - Field Name

Customizationvarchar(50) YES

Type Life events (Type) - Field Name Customization varchar(50) YESDefaultArea Default area code varchar(3) YESDefaultCity Default city varchar(28) YESDefaultPostal Default postal code varchar(10) YESDefaultState Default state varchar(2) YESModuleTag Replacable tag for 'Module' varchar(50) YESProspectTag Replacable tag for 'Prospect' varchar(50) YESMembershipTag Membership Feild Name Customization varchar(50) YESMiscNameTag Misc Names Feild Name Customization varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBChu_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 147

Page 148: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBLif DescriptionMembership table for life events.

FIELDS:Field Name Description Data Type Null? Foreign KeyMBLifCounter Auto Number Primary Key int NODescr Description varchar(30) YESSecure Boolean indicating whether life event is Secure 0) no or -

1) yessmallint NO

EffectiveDateYN Boolean indicating whether to use Effective Date 0) noor -1) yes

smallint NO

EndingDateYN Boolean indicating whether to use Ending Date 0) no or -1) yes

smallint NO

Who1YN Boolean indicating whether to use Who 1 0) no or -1) yes smallint NOWho2YN Boolean indicating whether to use Who 2 0) no or -1) yes smallint NOLocationYN Boolean indicating whether to use Location 0) no or -1)

yessmallint NO

CongregationEnrolledYN 0) no or -1) yes smallint NOTypeYN Boolean indicating whether to use Type 0) no or -1) yes smallint NONotesYN Boolean indicating whether to use Notes 0) no or -1) yes smallint NOCreateWorkflowCounter Counter that this life event creates when added to a

individualint NO SSWorkFlow.Counter

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBLif_Descr nonclustered located on PRIMARY Descr, MBLifCounterMBLif_PrimaryKey nonclustered, unique, primary key located on PRIMARY MBLifCounter

RELATED TABLES:Field Name [Related Table].[Related Field]MBLifCounter [MBMstLif].[MBLifCounter]

[SGOrgDev].[MBLifCounter]

7/9/2014 Shelby v5 Table Layout Page 148

Page 149: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBMst DescriptionMembership table for individual information.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterAssignedNameCounter Link to Assigned family name int NO NANames.NameCounterRiskScore Risk Score of Member smallint NOAuxNu Auxiliary # int NOHowReceivedCounter Links to MBTextPicks. Type = 'HowReceived' int NO MBTextPicks.CounterDateReceived Date received datetime YESMemberOfCounter Links to MBTextPicks. Type = 'MemberOf' int NO MBTextPicks.CounterRelationshipCounter Links to MBTextPicks. Type = 'Relationship' int NO MBTextPicks.CounterPledgeSpouse Pledge with spouse smallint NOEnvelope Envelope # smallint NOStatement Statement Yes/No smallint NORecordStatus Record status, 0) Active, 1) Inactive, 2) Deleted smallint NORecordType Record type, 0)Member, 1) Prospects, 2) Misc. Names smallint NOSourceCounter Links to MBTextPicks. Type = 'Source' int NO MBTextPicks.CounterSpecialProfileCounter Links to MBTextPicks. Type = 'SpecialProfile' int NO MBTextPicks.CounterStmtFreqCounter Links to MBTextPicks. Type = 'StmtFreq' int NO MBTextPicks.CounterDate1 Date1 datetime YESDate2 Date 2 datetime YESDate3 Date 3 datetime YESDate4 Date 4 datetime YESDate5 Date 5 datetime YESDate6 Date 6 datetime YESDate7 Date 7 datetime YESDate8 Date 8 datetime YESDate9 Date 9 datetime YESDate10 Date10 datetime YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBMst_AuxNu nonclustered located on PRIMARY AuxNu, NameCounterMBMst_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 149

Page 150: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBMstDte DescriptionMembership table for individual information - visit dates.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterVisitDate Date of visit datetime YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBMstDte_NameCounterVisitDate nonclustered located on PRIMARY NameCounter, VisitDateMBMstDte_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 150

Page 151: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBMstLif DescriptionMembership table for life events per member.

FIELDS:Field Name Description Data Type Null? Foreign KeyCongrCounter int YESMBMstLifCounter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterMBLifCounter Links to MBLif int NO MBLif.MBLifCounterEffectiveDate Effective date for event datetime YESEndingDate Ending date for event datetime YESWho1Counter Links to MBTextPicks. Used if not linking this to

GlobaFILE. Type = 'Who'int NO MBTextPicks.Counter

Who1NameCounter Links to NANames. Used if linking to GlobaFILE int NO NANames.NameCounterWho2Counter Links to MBTextPicks. Used if not linking this to

GlobaFILE. Type = 'Who'int NO MBTextPicks.Counter

Who2NameCounter Links to NANames. Used if linking to GlobaFILE int NO NANames.NameCounterLocationCounter Links to MBTextPicks. Type = 'Location' int NO MBTextPicks.CounterCongregationEnrolledCounter

Links to MBTextPicks. Type = 'CongregationEnrolled' int NO MBTextPicks.Counter

TypeCounter Links to MBTextPicks. Type = 'LifeEventType' int NO MBTextPicks.CounterNotes varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBMstLif_NameCounter nonclustered located on PRIMARY NameCounter, MBLifCounter, MBMstLifCounterMBMstLif_PrimaryKey nonclustered, unique, primary key located on PRIMARY MBMstLifCounter

RELATED TABLES:Field Name [Related Table].[Related Field]MBMstLifCounter [SSWorkflowStatus].[CreateLifeEventCounter]

7/9/2014 Shelby v5 Table Layout Page 151

Page 152: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBMstOrgDtlSave Description

FIELDS:Field Name Description Data Type Null? Foreign KeyOrgCounter int NOOrgDatCounter int NOOrgDetCounter int NOWhenUpdated datetime YESWhoUpdated varchar(50) YES

INDEXES:Index Name Description Key ColumnsPK_MBMstOrgDtl nonclustered, unique, primary key located on PRIMARY OrgCounter, OrgDatCounter, OrgDetCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 152

Page 153: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBMstOrgSave Description

FIELDS:Field Name Description Data Type Null? Foreign KeyAttendance smallint NOCounter int NODateEnrolled datetime YESEnrolled smallint NOLeaderCounter int NONameCounter int NOOrgCounter int NOOrgDetCounter int NOPromOrgCounter int NOPromOrgDetCounter int NOT0 varchar(106) YEST1 varchar(106) YEST2 varchar(106) YEST3 varchar(106) YEST4 varchar(106) YEST5 varchar(106) YESTStamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBMstOrg_NameCounterCounter nonclustered located on PRIMARY NameCounter, CounterMBMstOrg_OrgCounter nonclustered located on PRIMARY OrgCounter, OrgDetCounter, Attendance, NameCounterMBMstOrg_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 153

Page 154: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBOrgDatSave Description

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOMBDate datetime YESMeetingNu smallint NOMemo varchar(4096) YESOrgCounter int NOPosted smallint NOTerm smallint NOTStamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBOrgDat_OrgCounter nonclustered located on PRIMARY OrgCounter, Term, MeetingNuMBOrgDat_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 154

Page 155: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBOrgDetSave Description

FIELDS:Field Name Description Data Type Null? Foreign KeyClass varchar(8) YESCounter int NODept varchar(8) YESName varchar(50) YESOrgCounter int NORollHeading varchar(50) YESRoomNu varchar(10) YESWhenSetup datetime YESWhenUpdated datetime YESWhoSetup varchar(50) YESWhoUpdated varchar(50) YESTStamp timestamp YESPromOrgCounter int NOPromOrgDetCounter int NO

INDEXES:Index Name Description Key ColumnsMBOrgDet_OrgDeptClass nonclustered located on PRIMARY OrgCounter, Dept, ClassMBOrgDet_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 155

Page 156: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBOrgSave Description

FIELDS:Field Name Description Data Type Null? Foreign KeyAttendance smallint NOCounter int NODefaultMarkAs varchar(1) YESDefaultUnmarked varchar(1) YESDepts smallint NOEnterTab smallint NOMeetingFreq smallint NOName varchar(50) YESNuMeetings smallint NOWhenSetup datetime YESWhenUpdated datetime YESWhoSetup varchar(50) YESWhoUpdated varchar(50) YESTStamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBOrg_OrgName nonclustered located on PRIMARY NameMBOrg_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 156

Page 157: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBRCHMembers DescriptionMembership table for reaching team members.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOTeamCounter Links to MBRCHTeam int NO MBRCHTeam.CounterNameCounter GlobaFILE Name ID int NO NANames.NameCounterPosition Links to MBTextPicks. Type = 'ReachingPosition' int NO MBTextPicks.CounterLevelCounter Links to MBTextPicks. Type = 'ReachingLevel' int NO MBTextPicks.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBRCHMembers_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterMBRCHMembers_Team nonclustered located on PRIMARY TeamCounter, NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 157

Page 158: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBRCHTeam DescriptionMembership table for reaching teams.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSGOrgCounter Links to SGOrg int NO SGOrg.CounterSGOrgGrpCounter Links to SGOrgGrp int NO SGOrgGrp.CounterGroupLeader Links to NANames int NO NANames.NameCounterSessionTime Links to MBTextPicks. Type = 'ReachingSessionTime' int NO MBTextPicks.CounterTeamDescr Team Description varchar(50) YESTeamLeader Links to NANames int NO NANames.NameCounterBeginDate Beginning date of team datetime YESEndDate Ending date of team datetime YESWhenSetup When this record was initially set up datetime YESWhoSetup When this record was updated varchar(50) YESWhoUpdated Who initially set up this record varchar(50) YESWhenUpdated Who updated this record datetime YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBRCHTeam_Dates nonclustered located on PRIMARY BeginDate, EndDateMBRCHTeam_OrgCounter nonclustered located on PRIMARY SGOrgCounter, SGOrgGrpCounterMBRCHTeam_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [MBRCHMembers].[TeamCounter]

7/9/2014 Shelby v5 Table Layout Page 158

Page 159: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBRISK DescriptionMembership table for Risk/SOS attendance settings.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONuMeetings Number meetings smallint NOAMin Category A minimum smallint NOBMin Category B minimum smallint NOCMin Category C minimum smallint NODMin Category D minimum smallint NOFMin Category F minimum smallint NO

INDEXES:Index Name Description Key ColumnsPK__MBRISK__0666AFE84361DD42

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 159

Page 160: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBRISKScore DescriptionTable for calculating RISK score for Membership

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase Primary Key int NONuMeetings Number of Meetings smallint NOUpdateDay Day of Update smallint YESCongrCounter Counter of Congr int NOUseAT Boolean for Use Times Present 0) no -1) yes smallint YESOrgCounter Counter of Organization Used int NO Org.CounterWithPromotions Boolean for Include Previous Attendance 0) no -1) yes smallint YESAMin A Min Times Present smallint YESAMinScore A Min Score smallint YESBMin B Min Times Present smallint YESBMinScore B Min Score smallint YESCMin C Min Times Present smallint YESCMinScore C Min Score smallint YESDMin D Min Times Present smallint YESDMinScore D Min Score smallint YESFMin F Min Times Present smallint YESFMinScore F Min Score smallint YESCoNu Value of the Company dropdown int YESPurposesToInclude Purposes Included text(2147483647) YESProjectsToInclude Projects Included text(2147483647) YESUseTimesGiven Boolean for Use Times Given Checkbox, 0) no -1) yes smallint YESUseAmtGiven Boolean for Use Amount Given Checkbox 0) no -1) yes smallint YESAMinTG A Min Times Given money NOAScoreTG A Score Times Given smallint YESBMinTG B Min Times Given money NOBScoreTG B Score Times Given smallint YESCMinTG C Min Times Given money NOCScoreTG C Score Times Given smallint YESDMinTG D Min Times Given money NODScoreTG D Score Times Given smallint YESFMinTG F Min Times Given money NOFScoreTG F Score Times Given smallint YESAMinAG A Min Amount Given money NOAScoreAG A Min Amount Score smallint YESBMinAG B Min Amount Given money NOBScoreAG B Min Amount Score smallint YESCMinAG C Min Amount Given money NOCScoreAG C Min Amount Score smallint YESDMinAG D Min Amount Given money NODScoreAG D Min Amount Score smallint YESFMinAG F Min Amount Given money NOFScoreAG F Min Amount Score smallint YESDateUpdated Date Last Updated datetime YES

INDEXES:Index Name Description Key ColumnsPK__MBRISKSc__0666AFE868E867AC

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 160

Page 161: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MBTextPicks DescriptionMembership table containing lookup values for different areas.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOType Description varchar(25) YESDescr Defines what this description if for. varchar(40) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsMBTextPicks_Descr nonclustered located on PRIMARY Type, DescrMBTextPicks_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [MBMst].[HowReceivedCounter]

[MBMst].[MemberOfCounter][MBMst].[RelationshipCounter][MBMst].[SourceCounter][MBMst].[SpecialProfileCounter][MBMst].[StmtFreqCounter][MBMstLif].[CongregationEnrolledCounter][MBMstLif].[LocationCounter][MBMstLif].[TypeCounter][MBMstLif].[Who1Counter][MBMstLif].[Who2Counter][MBRCHMembers].[LevelCounter][MBRCHMembers].[Position][MBRCHTeam].[SessionTime][SGMstOrg].[LeadershipCounter][SGMstOrg].[ReasonInactiveCounter][SGOrgGrp].[CategoryCounter][SGOrgGrpDat].[TopicCounter]

7/9/2014 Shelby v5 Table Layout Page 161

Page 162: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MGMat DescriptionMatching gifts table of sponsors

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuNameCounter GlobaFILE Name ID int NO NANames.NameCounterDescr Description of the Sponsor varchar(30) YESStartDate Beginning date datetime YESEndDate Ending date datetime YESActive Boolean for whether this item is still used. 0) no, -1) yes smallint NOMotCounter Links to GFMot int NO GFMot.CounterMGPercent % of gift that will be matched real NOLimitPerGift Limit of match for each gift money NOOverallLimit Overall limit of matching $s money NOPrintDaily Boolean for whether to print matching gift statement

daily. 0) no, -1) yessmallint NO

DateFirstGift Date of first gift to this matching gift datetime YESDateLastGift Date of first gift to this matching gift datetime YES

DateLastGift Date of most recent gift to this matching giftdatetime YES

Memo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsMGMat_NameCounter nonclustered located on PRIMARY CoNu, NameCounter, StartDateMGMat_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [MGMatDnr].[MatCounter]

7/9/2014 Shelby v5 Table Layout Page 162

Page 163: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MGMatDnr DescriptionMatching gifts table of donors linked to matching gift sponsors

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOMatCounter Links to MGMat int NO MGMat.CounterDonor Links to NANames int NO NANames.NameCounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsMGMatDnr_Donor nonclustered located on PRIMARY Donor, MatCounterMGMatDnr_MatCounter nonclustered located on PRIMARY MatCounter, DonorMGMatDnr_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 163

Page 164: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

MIProfiles DescriptionTable for Profles selected by user in advanced search.

FIELDS:Field Name Description Data Type Null? Foreign KeySSUsersCounter int NO SSUsers.CounterProfile varchar(8) NO NAProfileTypes.ProfileSSModule int NO

INDEXES:Index Name Description Key ColumnsMIProfiles_PrimaryKey clustered, unique, primary key located on PRIMARY SSUsersCounter, SSModule, Profile

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 164

Page 165: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAAddresses DescriptionGlobaFILE table for Addresses.

FIELDS:Field Name Description Data Type Null? Foreign KeyAddressCounter Auto Number Primary Key int NOAdr1 Address Line 1 varchar(35) YESAdr2 Address Line 2 varchar(35) YESCity Address City varchar(28) YESState Address State varchar(5) YESPostalCode Preformatted as 00000-0000 if 9 digit US zip. Allows

alpha for foreign postal codes.varchar(10) YES

DPBC Delivery point bar code varchar(65) YESLOT Line of travel varchar(5) YESCarrier Carrier route varchar(4) YESForeignCounter Links to NAForeign for text int NO NAForeign.CounterLocation Location for main/home addresses varchar(20) YESCassDate CASS certification date int NOLocX Used to interface with Streets on a disk varchar(15) YESLocY Used to interface with Streets on a disk varchar(15) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAAddresses_Adr1 nonclustered located on PRIMARY Adr1NAAddresses_PrimaryKey nonclustered, unique, primary key located on PRIMARY AddressCounter

RELATED TABLES:Field Name [Related Table].[Related Field]AddressCounter [NACrossRef].[AddressCounter]

[SGOrgGrp].[NAAddressesCounter]

7/9/2014 Shelby v5 Table Layout Page 165

Page 166: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAAddressTypes DescriptionLookup table for address types

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key - 1 is always main/home int NODescr Description of address type varchar(30) YESSeq 0 for main/home, 1 for module specific or 2 for user set

up typessmallint NO

NAModule Module address type pertains to if not for all modules varchar(2) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAAddressTypes_Descr nonclustered located on PRIMARY DescrNAAddressTypes_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterNAAddressTypes_Seq nonclustered located on PRIMARY Seq, Descr

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [NACrossRef].[TypeCounter]

7/9/2014 Shelby v5 Table Layout Page 166

Page 167: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAAltID DescriptionGlobaFILE table for alternate id's assigned to names.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterType 1 for crosscheck bank accounts, 2 for CheckIN barcode

Alternate ID'ssmallint NO

AltID Alternate ID varchar(30) NONUUpdated Used by remote Check In if values have changed smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAAltID_NameCounter nonclustered located on PRIMARY NameCounter, Type, AltIDNAAltID_PrimaryKey nonclustered, unique, primary key located on PRIMARY Type, AltID

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 167

Page 168: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAAssociated DescriptionGlobaFILE table containing references to associated files assigned to Name ID's

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterDescr Description of associated file varchar(255) YESFileLocation Location of file including path varchar(255) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAAssociated_NameCounter nonclustered located on PRIMARY NameCounter, CounterNAAssociated_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 168

Page 169: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NACrossRef DescriptionGlobaFILE cross referance file linking NANames to NAAddresses. This table allows addresses such as family andbusiness address to ber recorded one time but referenced by multiple NANames records.

FIELDS:Field Name Description Data Type Null? Foreign KeyCrossRefCounter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterTypeCounter Links to NAAddressTypes for the type of address this is int NO NAAddressTypes.CounterAddressCounter Links to NAAddresses to get address. int NO NAAddresses.AddressCounterBeginDate Used for snow bird address. Used in conjunction with

EndDate. If user doesn't specify then put 01/01-12/31.Only uses Month and Day.

datetime YES

EndDate End date datetime YESUseNow Boolean 0) don't use or -1) to use smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNACrossRef_ByAddress nonclustered located on PRIMARY AddressCounter, NameCounter, TypeCounterNACrossRef_ByName nonclustered located on PRIMARY NameCounter, TypeCounter, AddressCounterNACrossRef_PrimaryKey nonclustered, unique, primary key located on PRIMARY CrossRefCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 169

Page 170: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NACustomC DescriptionGlobaFILE table used to hold custom tab check box values.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterNAIndex Index to which custom check box this applies to smallint NOBoolean 0) if unchecked or -1) if checked smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNACustomC_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter, NAIndex

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 170

Page 171: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NACustomD DescriptionGlobaFILE table used to hold custom tab dates.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterNAIndex Index to which custom date this applies to smallint NONADate Custom date datetime YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNACustomD_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter, NAIndex

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 171

Page 172: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NACustomInfo DescriptionGlobaFILE table used to hold custom field layout information.

FIELDS:Field Name Description Data Type Null? Foreign KeyType Type of field. C) Check box, D) Date, N) Numeric, and

T) Text Boxvarchar(1) NO

Tab Indicate what tab the field is on. 0) Tab 1, 1) Tab 2, 2)Tab 3, 3) Tab 4, 4) Tab 5, 5) Tab 6, 6) Tab 7, and 7)Tab 8

int NO

FieldIndex Field Index on tab int NOLeftSide Left property of the field, used to determine how far from

left the field starts.int NO

TopSide Top property of the field, used to determine how far fromthe top the field starts.

int NO

Tag Label for the Field varchar(50) NOFormat Not used varchar(50) YESTabDescr Tab description varchar(50) NOReportID Identification of the Report int NO

INDEXES:Index Name Description Key ColumnsNACustomInfo_PrimaryKey clustered, unique, primary key located on PRIMARY Type, Tab, FieldIndex

RELATED TABLES:Field Name [Related Table].[Related Field]FieldIndex [SEOtherInfoSetup].[CustomCToMatch]

[SEOtherInfoSetup].[CustomDToMatch][SEOtherInfoSetup].[CustomTToMatch]

7/9/2014 Shelby v5 Table Layout Page 172

Page 173: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NACustomN DescriptionGlobaFILE table used to hold custom tab numeric values

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterNAIndex Index to which custom numeric this applies to smallint NONumber Custom number money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNACustomN_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter, NAIndex

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 173

Page 174: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NACustomT DescriptionGlobaFILE table used to hold custom tab text fields

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterNAIndex Index to which custom text box this applies to smallint NOCounter Links to SSTextPicks to get Description Type = GC2 int NO SSTextPicks.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNACustomT_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter, NAIndex

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 174

Page 175: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NADnr DescriptionGlobaFILE table containing information specific to the miscellaneous tab

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterAltID Alternate ID varchar(12) YESArea Area usually used with the donor and remittances

modules. Type of Dnr10.int NO SSTextPicks.Counter

Region Region usually used with the donor and remittancesmodules. Type of Dnr11.

int NO SSTextPicks.Counter

District District usually used with the donor and remittancesmodules. Type of Dnr12.

int NO SSTextPicks.Counter

FundAppl Boolean to specify whether they will accept fundappeals. 0) no or -1) yes

smallint NO

Mail Boolean to specify whether they will accept mailings. 0)no or -1) yes

smallint NO

Receipts Boolean to specify whether they want receipts. 0) no or -1) yes

smallint NO

ThankYou Boolean to specify whether they want thany you letters.0) no or -1) yes

smallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNADnr_AltID nonclustered located on PRIMARY AltIDNADnr_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 175

Page 176: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAEmailHistory DescriptionTable showing Email history of a Name in GlobaFILE

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter ID of record for NAEmailHistory Table int NOSSUsersCounter SSUsers Counter int YESFromAddressName From Address Name varchar(255) YESFromAddress From Email Address varchar(255) YESModuleSentFrom Application email sent from varchar(50) YESEmailIsPrivate Boolean for email is private. 0) No -1) Yes smallint NOEmailSubject Subject of email varchar(255) YESEmailAttachment Attachment varchar(255) YESOnHold Small integer to indicate whether email is on hold 0) no

or 1) yessmallint YES

WorkFlowCounter Links to SSWorkflow int YES SSWorkFlow.CounterSummarySent Small integer to indicate whether summary sent 0) no or

1) yes -1) yessmallint YES

ImageNu Links to dataflow directory to locate image int YESDataPath Character field for storing data path for email image varchar(250) YESSMTPServer Server Email was sent from varchar(250) YESUserName User name used for sending email varchar(250) YES SSUsers.CounterPassWord Password used for sending email varchar(250) YESWhenSetup Date Email Setup datetime YESWhoSetup Who Setup Email varchar(50) YES

INDEXES:Index Name Description Key ColumnsNAEmailHistory_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterNAEmailHistory_SSUsersCounter nonclustered located on PRIMARY SSUsersCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 176

Page 177: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAEmailRecipients DescriptionTable showing the Recipients of a bulk SMTP emailing

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter ID of the Record for NAEmailRecipients int NONameCounter Name Counter of Email Recipients int NO NANames.CounterSSEmailHistoryCounter Counter of record for SSEMailHistory int NO SSEmailHistory.CounterEmailAddress Email Address varchar(500) NOStatus Status of the email sent or on hold smallint YESImageNu Image of the email that was sent int YESSentTo Address who the email was sent to varchar(250) YESRecipSubject Email subject sent to the Recipient varchar(255) YESEmailText Body of the email sent to the Recipient text(2147483647) YES

INDEXES:Index Name Description Key ColumnsNAEmailRecipients_NameCounter nonclustered located on PRIMARY NameCounterNAEmailRecipients_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterNAEmailRecipients_SSEmailHistoryCounter

nonclustered located on PRIMARY SSEmailHistoryCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 177

Page 178: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAForeign DescriptionGlobaFILE table containing names of foreign countries

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Name of foreign countries varchar(30) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAForeign_Descr nonclustered located on PRIMARY DescrNAForeign_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [NAAddresses].[ForeignCounter]

7/9/2014 Shelby v5 Table Layout Page 178

Page 179: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAGreetings DescriptionGlobaFILE table containg greetings assigned to Name ID's

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterGreetCounter Links to NAGreetTypes int NO NAGreetTypes.CounterGreeting Greeting varchar(40) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAGreetings_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter, GreetCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 179

Page 180: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAGreetTypes DescriptionGlobaFILE table containing names of greeting types

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description of greeting type varchar(20) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAGreetingTypes_Descr nonclustered located on PRIMARY DescrNAGreetingTypes_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [NAGreetings].[GreetCounter]

7/9/2014 Shelby v5 Table Layout Page 180

Page 181: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NALocalExchanges DescriptionGlobaFILE table containing local exchanges for determining whether to dial long distance with PhoneTree

FIELDS:Field Name Description Data Type Null? Foreign KeyAreaCode Telephone area code smallint NOExchange Telephone exchange smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNALocalExchanges_PrimaryKey nonclustered, unique, primary key located on PRIMARY AreaCode, Exchange

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 181

Page 182: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAMICRLookUp DescriptionLookup table for Micr associations.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NONameCounter int NOMICRCounter int NO

INDEXES:Index Name Description Key ColumnsNAMICRLookUp_Primary clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 182

Page 183: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAModules DescriptionGlobaFILE table to maintain which modules each Name ID is used in

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterNAModule Shelby module abbreviation (AP,PR,MB,etc.) varchar(2) NOSearchID Same as SearchID in NANames varchar(22) YESModDelete Boolean to specify whether record has been marked to

delete from a module. 0) no or -1) yessmallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAModules_Module nonclustered located on PRIMARY NAModule, SearchID, NameCounterNAModules_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter, NAModule

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 183

Page 184: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NANameCounters DescriptionTable containing all table locations and field names where the namecounter is located

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOTableName Table name varchar(50) NOFieldName Field name varchar(50) NODelRem Determines if data will be deleted when combining

names. 0) No -1) Yessmallint NO

FieldUsage How field is used in table varchar(128) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__NANameCo__0666AFE801A9F3D5

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 184

Page 185: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NANames DescriptionGlobaFILE Names Base Table

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter Auto Number Primary Key int NOTitleCounter Links to NATitles to get actual text. Value -1 for

organizations and 0 for no title.int NO NATitles.Counter

FirstMiddle First & Middle name varchar(40) YESLastName If organization, full name goes here and nothing in

FirstMiddlevarchar(40) YES

SuffixCounter Links to NASuffixes to get actual text int NO CounterSalutation Salutation varchar(40) YESSearchID System generated. Upper case first 22 characters of

organization name or for individual first 10 characterslast name, first 6 characters first/middle name and first 6characters of salutation

varchar(22) YES

DifName Boolean 0 if LastName of this record is same as head ofhouse or -1 if different

smallint NO

MainAddress Links to NAAddresses to get main/home address int NO AddressCounterBirthdate Birth date datetime YESEMailAddress Email Address varchar(200) YESWebAddress Web Address varchar(96) YESEmpCounter Links to SSTextPicks with Type of Employer to get

descriptionint NO Counter

OccCounter Links to SSTextPicks with Type of Occupation to getdescription

int NO Counter

PosCounter Links to SSTextPicks with Type of Position to getdescription

int NO Counter

EnvNu Envelope # int NONYEnvNu Next Year Envelope # int NOGender M)ale, F)emale or blank for unknown varchar(1) YESHH Head of House: not used unless UnitNu = 0: 1)=Legal

Head of House, 2)=Spouse where Legal HH not on file,3)=Child where Legal HH not on file

smallint NO

FamNu 3)=Child where Legal HH not on filesmallint NoFamNu Circular reference to NANames for person who is thehead of the house.

int NO NameCounter

UnitNu Position in family: 0=Head of House, 1=Spouse,2=Child, 3=Other

int NO

MaritalStatus Blank=Unknown,S)ingle,M)arried,D)ivorced,W)idowed,P)Seperated,R)emarried,N)Partnered

varchar(255) YES

MailStatus User defined 1 character field for Mailing Status varchar(255) YESSSNu Social Security # varchar(11) YESWebViewPassword Web view password - encrypted varchar(20) NOCongrCounter Links to OUMst for congregation information int NO CounterFieldCounter Links to OUTMst for intermediary organization level

information. (Not used at this time)int NO FieldCounter

Memo Additional Comments varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNANames_CongrCounter nonclustered located on PRIMARY CongrCounterNANames_EnvNu nonclustered located on PRIMARY EnvNuNANames_FamNu nonclustered located on PRIMARY FamNu, UnitNu, NameCounterNANames_FieldCounter nonclustered located on PRIMARY FieldCounterNANames_MainAddress nonclustered located on PRIMARY MainAddress, SearchIDNANames_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounterNANames_SearchID clustered located on PRIMARY SearchID

RELATED TABLES:Field Name [Related Table].[Related Field]FamNu [SGMstOrgAttEnt].[FamNu]

NameCounter [AMMst].[VndNu][APVendor].[VendorNu][ARCust].[BillTo][ARCust].[NameCounter]

7/9/2014 Shelby v5 Table Layout Page 185

Page 186: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name [Related Table].[Related Field][ARInv].[BillTo][ARInv].[Customer][ARPay].[BillTo][ARRecur].[NameCounter][ARTimeClock].[BillTo][ARTimeClock].[CustNu][CAApp].[NameCounter][CAChg].[NameCounter][CACmt].[NameCounter][CAOrg].[NameCounter][CMMstAck].[NameCounter][CNHst].[NameCounter][CNHstSts].[NameCounter][CNPlanGiving].[NameCounter][CNPlg].[NameCounter][DHAct].[NameCounter][DHTenant].[Tenant][FAAssets].[VendorNameCounter][FAAssets].[WarrantyNameCounter][GFAutoEntry].[MediaCounter][GFHst].[NameCounter][GFHstDet].[SubDonor][GFHstSts].[NameCounter][GFPlanGiving].[NameCounter][GFPlg].[NameCounter][GFPlg].[SubDonor][INItm].[Vendor][INTrn].[Vendor][INWhs].[NameCounter][IREmplr].[NameCounter][IREmply].[NameCounter][IRPrefs].[InsuranceNameCounter][LNMst].[NameCounter][MBAtChurch].[NameCounter][MBChu].[NameCounter][MBMst].[AssignedNameCounter][MBMst].[NameCounter][MBMstDte].[NameCounter][MBMstLif].[NameCounter][MBMstLif].[Who1NameCounter][MBMstLif].[Who2NameCounter][MBRCHMembers].[NameCounter][MBRCHTeam].[GroupLeader][MBRCHTeam].[TeamLeader][MGMat].[NameCounter][MGMatDnr].[Donor][NAAltID].[NameCounter][NAAssociated].[NameCounter][NACrossRef].[NameCounter][NACustomC].[NameCounter][NACustomD].[NameCounter][NACustomN].[NameCounter][NACustomT].[NameCounter][NADnr].[NameCounter][NAGreetings].[NameCounter][NAModules].[NameCounter][NAPhones].[NameCounter][NAProfiles].[NameCounter][NARelations].[NameCounterHigh][NARelations].[NameCounterLow][NARemove].[NameCounter][NUChkInStatus].[NameCounter][NUQuickSaved].[NameCounter][NUQuickSaved].[RelationNameCounter][PO].[VendorNu][PREmp].[NameCounter][RGReg].[NameCounter][RGRegRsp].[NameCounter][RMHst].[NameCounter][RMHstDet].[StartDate][RMPlg].[NameCounter][SEContacts].[NameCounter][SEServant].[NameCounter][SEServantSchedule].[NameCounter]

7/9/2014 Shelby v5 Table Layout Page 186

Page 187: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name [Related Table].[Related Field][SGMstOrg].[NameCounter][SGMstOrg].[SponsorNameCounter][SGMstOrgAttEnt].[NameCounter][SGOrgGrpInv].[LeaderNameCounter][SGOrgLvl].[LeaderNameCounter][STItmDet].[NANameCounter][WVCombineNames].[NameCounter][WVWebView].[NameCounter][WVWebViewDelete].[NameCounter][wVWebViewLast].[NameCounter]

7/9/2014 Shelby v5 Table Layout Page 187

Page 188: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAPhones DescriptionGlobaFILE table containing all phone #s assigned to Name ID's

FIELDS:Field Name Description Data Type Null? Foreign KeyPhonesCounter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterPhoneCounter Links to NAPhoneType to get which type of phone # int NO NAPhoneTypes.CounterPhoneNu Phone # formatted as needed to print varchar(20) YESExtn Extension for phone varchar(50) YESUnlisted Boolean to specify whether phone # is unlisted. 0) no or

-1) yessmallint NO

SSCellCarriersCounter Counter associating Cell Phone carrier to phone No. int NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAPhones_ByName nonclustered located on PRIMARY NameCounter, PhoneCounterNAPhones_PrimaryKey nonclustered, unique, primary key located on PRIMARY PhonesCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 188

Page 189: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAPhoneTypes DescriptionGlobaFILE table containing names of phone types

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description of phone type varchar(20) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAPhoneTypes_Descr nonclustered located on PRIMARY DescrNAPhoneTypes_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [NAPhones].[PhoneCounter]

7/9/2014 Shelby v5 Table Layout Page 189

Page 190: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAPostalCodes DescriptionGlobaFILE table containing postal codes already used in NAAddresses

FIELDS:Field Name Description Data Type Null? Foreign KeyPostalCode First 5 digits in postal code varchar(5) NOCity City varchar(28) YESState State varchar(5) YESForeignCounter Foreign Country int NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAPostalCodes_City nonclustered located on PRIMARY City, StateNAPostalCodes_PrimaryKey nonclustered, unique, primary key located on PRIMARY PostalCode

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 190

Page 191: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAProfiles DescriptionGlobaFILE table containing profiles/comments assigned to Name ID's

FIELDS:Field Name Description Data Type Null? Foreign KeyNUUpdated Used by remote Check In and is True when values have

changedsmallint NO

Counter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterProfile Profile from NAProfileTypes varchar(8) YES NAProfileTypes.ProfileAppl Application assigned to if profile type is set up for

application specific. Blank if not profile specific.varchar(2) YES

Event Used in conjunction with registrations program to assignprofiles specific to a certain event

int NO RGEve.Counter

Start Starting date for profiles using starting date. NULL if notused.

datetime YES

NAEnd Ending date for profiles using ending date, NULL if notused.

datetime YES

Comment Comment if used or blank if not. If secured thencomment is encrypted.

varchar(4096) YES

Secure If not secured then 0. 1-20 for the different securitylevels for profiles

smallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAProfiles_NameCounterDate nonclustered located on PRIMARY NameCounter, Start, ProfileNAProfiles_NameCounterProfile nonclustered located on PRIMARY NameCounter, Profile, StartNAProfiles_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 191

Page 192: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NAProfileTypes DescriptionGlobaFILE table containing all valid profile types

FIELDS:Field Name Description Data Type Null? Foreign KeyProfile Profile Code varchar(8) NODescr Description of profile code varchar(30) YESStart Boolean specifing whether this profile will use a starting

date. 0) no or -1) yessmallint NO

NAEnd Boolean specifing whether this profile will use a endingdate. 0) no or -1) yes

smallint NO

Comment Boolean specifing whether this profile will use acomment. 0) no or -1) yes

smallint NO

Appl Boolean specifing whether this profile will be specific tothe module assigned. 0) no or -1) yes

smallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNAProfileTypes_Descr nonclustered located on PRIMARY Descr, ProfileNAProfileTypes_PrimaryKey nonclustered, unique, primary key located on PRIMARY Profile

RELATED TABLES:Field Name [Related Table].[Related Field]Profile [MIProfiles].[Profile]

[NAProfiles].[Profile][SSWorkflowStatus].[CreateProfileCode]

7/9/2014 Shelby v5 Table Layout Page 192

Page 193: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NARelations DescriptionGlobaFILE table with relationships between Named ID's. Not primary family relationship.

FIELDS:Field Name Description Data Type Null? Foreign KeyRelationsCounter Auto Number Primary Key int NONameCounterHigh Links to NANames for upper end of relationship. Ex:

Employer in Employer/Employee relationshipint NO NANames.NameCounter

RelationCounter Link to NARelationTypes to get description ofrelationship

int NO NARelationTypes.Counter

NameCounterLow Links to NANames for lower end of relationship. Ex:Employee in Employer/Employee relationship

int NO NANames.NameCounter

DateBegin Beginning date for date specific relationship datetime YESDateEnd Ending date for date specific relationship datetime YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNARelations_Lower nonclustered located on PRIMARY NameCounterLow, RelationCounter, NameCounterHighNARelations_PrimaryKey nonclustered, unique, primary key located on PRIMARY RelationsCounterNARelations_Relation nonclustered located on PRIMARY RelationCounter, RelationsCounterNARelations_Upper nonclustered located on PRIMARY NameCounterHigh, RelationCounter, NameCounterLow

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 193

Page 194: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NARelationTypes DescriptionGlobaFILE table containing different relationship types. Ones other than primary family relationships.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Descripiton of relationship type varchar(30) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNARelationTypes_Descr nonclustered located on PRIMARY DescrNARelationTypes_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [NARelations].[RelationCounter]

7/9/2014 Shelby v5 Table Layout Page 194

Page 195: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NARemove DescriptionGlobaFILE table used to check if Name ID is not used when running utility to remove unreferenced names.

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounterRemove Boolean for whether to application outside GlobaFILE

reference this Name ID. 0) if not or -1) if yessmallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNARemove_PrimaryKey nonclustered, unique, primary key located on PRIMARY NameCounter, Remove

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 195

Page 196: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NASuffixes DescriptionGlobaFILE table containing name suffixes

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Suffix (Jr., Sr., etc.) varchar(20) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNASuffixes_Descr nonclustered located on PRIMARY DescrNASuffixes_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 196

Page 197: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NATitles DescriptionGlobaFILE table containing name titles

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Title (Mr., Mrs., etc.) varchar(20) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsNATitles_Descr nonclustered located on PRIMARY DescrNATitles_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [NANames].[TitleCounter]

7/9/2014 Shelby v5 Table Layout Page 197

Page 198: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NUChkInStatus DescriptionTo track Check In, Check Out Status and where the people actually attended.

FIELDS:Field Name Description Data Type Null? Foreign KeyTransPrefix Prefix that is Randomly Generated value varchar(4) NOTransNum Auto Number Counter for transaction int NOCheckIn Date Time you Checked In datetime YESCheckOut Date Time you Checked Out datetime YESNameCounter Quick Print entries will be 0, int NO NANames.NameCounterPagerNum Pager Number varchar(20) NOSGOrgDatCounter Links to SGOrgDat to get date int NO SGOrgDat.CounterSGOrgGrpCounter Links to SGOrgGroup to get group they are assigned to int NO SGOrgGroup.CounterCheckInSGOrgGrpCounter Links to SGOrgGroup to get group actually attended int NO SGOrgGroup.CounterSMSNum SMS Number varchar(20) NOSMSProvider SMS Provider varchar(255) NOQuickCounter Link to NuQuickSaved to Name and Phone number int NO NUQuickSaved.CounterNUUpdated Used by remote Check In and is true if value has

changedsmallint NO

SGMstOrgCounter Counter relating tothe SGMstOrg table int NOMarkAs User defined preference for marking attendance varchar(2) NOCheckedInNameCounter NameCounter of individual who checkin another in int NOCheckedOutNameCounter NameCounter of individual who checkin another out int NO

INDEXES:Index Name Description Key ColumnsNUChkInStatus_CheckInSGOrgGrpCounter

nonclustered located on PRIMARY CheckInSGOrgGrpCounter

PK__NUChkInS__68C7F3CE20A2B0EA

nonclustered, unique, primary key located on PRIMARY TransPrefix, TransNum, SGOrgDatCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 198

Page 199: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NUGuardians DescriptionTable Used in Check In for associating children and their Check In guardians

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter NameCounter of Child int NOGuardianNameCounter NameCounter of Guardian int NONUUpdated Used by remote Check In and is True when values have

changedsmallint NO

INDEXES:Index Name Description Key ColumnsPK_NUGuardians clustered, unique, primary key located on PRIMARY NameCounter, GuardianNameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 199

Page 200: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NUImport DescriptionTable used by remote Check In

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increment field int NOExportDate Date Exported from remote machine datetime YESDateImported Date Imported to Shelby database datetime YESUsersCounter Counter of Individual importing records int YESImportCompleted Indicates if the record has been imported smallint NO

INDEXES:Index Name Description Key ColumnsNUImport_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 200

Page 201: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NUImportDelete DescriptionTable used for delteing records in the local database that had been removed in remote Check In

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increment field int NOTable Table of record to be removed varchar(20) YESNameCounter NameCounter of record to be removed int YESField Field varchar(20) YESValue Value varchar(20) NO

INDEXES:Index Name Description Key ColumnsNUImportDelete_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 201

Page 202: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NULevelStatus DescriptionTable showing Chek IN Level Status

FIELDS:Field Name Description Data Type Null? Foreign KeySGOrgDatCounter Primary Key in SGOrgDat int NO SGOrgDat.CounterSGOrgLvlCounter Primary Key in SGOrgLvl int NO SGOrgLevl.CounterStatus Status smallint YESTStamp Date Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSGOrgDatCounter_SGOrgLvlCounter

nonclustered located on PRIMARY SGOrgDatCounter, SGOrgLvlCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 202

Page 203: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NUMultiOrgSelect Description

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Primary Key int NOSGOrgCounter Organization Counter int NO SGOrg.CounterComputerName Users computer name varchar(255) NO

INDEXES:Index Name Description Key ColumnsNUMultiOrgSelect_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 203

Page 204: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NUQuick DescriptionChek-In Table for Quick Print

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSGOrgGrpCounter Links to SGOrgGrp int NO SGOrgGrp.CounterName Individual's Name varchar(50) NO

INDEXES:Index Name Description Key ColumnsNUQuick_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterNUQuick_SGOrgGrpCounter nonclustered located on PRIMARY SGOrgGrpCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 204

Page 205: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NUQuickSaved DescriptionChek-In Table for Quick Print Savied Entries.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOFirstName First Name varchar(40) NOLastName Last Name varchar(40) NOAddr1 Address line 1 varchar(35) NOAddr2 Address line 2 varchar(35) NOCity City varchar(28) NOState State varchar(5) NOPostalCode Postal Code varchar(10) NOPhone Phone Number varchar(20) NOComments Comments varchar(255) NONameCounter If 0 Not imported, else Shelby Person Counter int NO NANames.NameCounterFamNum Family Counter int NOBirthDate Birthdate datetime YESGender Gender varchar(1) YESRelationNameCounter Relation Name Counter int NO NANames.NameCounterFamilyPosition Position in Family varchar(1) YESMemo varchar(4096) YESEmailAddress Email Address of Quick Print entry varchar(256) YES

INDEXES:Index Name Description Key ColumnsNUQuickSaved_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [NUChkInStatus].[QuickCounter]

7/9/2014 Shelby v5 Table Layout Page 205

Page 206: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NURoomPrint DescriptionChek-In table for Room Printers

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORoomNu Room Number of where the printer is located varchar(10) NOSGOrgCounter Links to SGOrg smallint NO SGOrg.CounterReceiptDesign Receipt design varchar(25) YESReceipt Boolean for whether to Print a receipt. 0) no or -1) yes smallint NOPrinter Name of Printer varchar(256) YESEscCodes Escape codes for printer varchar(256) YESReceipt2 Boolean for whether to print a second reciept 0) no or -

1) yessmallint NO

Printer2 Name of second printer varchar(256) YESEscCodes2 Escape codes for second printer varchar(256) YESReceiptDesign2 Escape codes for second printer varchar(256) YES

ReceiptDesign2 Reciept design for second receiptvarchar(25) YES

ReceiptCheckOut Check Out Receipt Design smallint NOPrinterCheckOut CheckOut Printer Name varchar(50) YESEscCodesCheckOut CheckOut Escape Codes varchar(256) YESReceiptDesignCheckOut CheckOut Receipt Design varchar(25) YES

INDEXES:Index Name Description Key ColumnsNURoomPrint_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterNURoomPrint_RoomNu nonclustered located on PRIMARY RoomNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 206

Page 207: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

NURoomStatus DescriptionTable for Chek In Room Status

FIELDS:Field Name Description Data Type Null? Foreign KeySGOrgDatCounter Primary Key for SGOrgDat int NO SGOrgDat.CounterSGOrgGrpCounter Primary Key for SGOrgGrp int NO SGOrgGrp.CounterStatus Status fo Room smallint YESTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSGOrgDatCounter_SGOrgGrpCounter

nonclustered located on PRIMARY SGOrgDatCounter, SGOrgGrpCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 207

Page 208: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

OUMst DescriptionMaster site table

FIELDS:Field Name Description Data Type Null? Foreign KeyAKA Alternate site description varchar(70) YESChangeHistory When the actual site changed history varchar(3096) YESDateDisOrg Date site ended datetime YESDateOrg Date site started datetime YESDescr Description of site varchar(70) YESID ID int NOMemo varchar(3096) YESNameCounter int NOOUMstCounter Table unique identity counter int NOPrimaryContact NameCounter for primary contact int NOReportsTo OumstCounter that site reports to int NOType Links to OUType table 1-6 (level number) int NOWhenSetup datetime YESWhenUpdated datetime YESWhoSetup varchar(50) YESWhoUpdated varchar(50) YESTStamp timestamp YESCoNu Company associated with site int NOFundNu Fund associated with site int YESFieldCounter Upper level oumst counter int NOCurrencyConversion Used if converting to US currency decimal NOActive Active or not smallint NOLevelGroup Upper level for this site's grouping int NOPurposeOnly True if site is for purposes only smallint YES

INDEXES:Index Name Description Key ColumnsOUMst_CoNu nonclustered located on PRIMARY CoNu, FundNuOUMst_FieldCounter nonclustered located on PRIMARY OUMstCounter, FieldCounterOUMst_ID nonclustered located on PRIMARY Type, IDOUMst_NameCounter nonclustered located on PRIMARY NameCounter, OUMstCounter, FieldCounterOUMst_PrimaryKey nonclustered, unique, primary key located on PRIMARY OUMstCounterOUMst_ReportsTo nonclustered located on PRIMARY ReportsTo, OUMstCounter, FieldCounter

RELATED TABLES:Field Name [Related Table].[Related Field]OUMstCounter [CNACHDeposit].[CongrCounter]

[GFACHDeposit].[CongrCounter]

7/9/2014 Shelby v5 Table Layout Page 208

Page 209: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

OUMstSec DescriptionLevels users have rights to

FIELDS:Field Name Description Data Type Null? Foreign KeyOUMstCounter linksto Oumst table int NOOUMstSecCounter uinque counter for OUMstSec table int NOSSUsersCounter links to users table int NOTStamp time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsOUMstSec_OUMstCounter nonclustered located on PRIMARY OUMstCounter, SSUsersCounterOUMstSec_PrimaryKey nonclustered, unique, primary key located on PRIMARY OUMstSecCounterOUMstSec_SSUsersCounter nonclustered located on PRIMARY SSUsersCounter, OUMstCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 209

Page 210: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

OUOrder Description

FIELDS:Field Name Description Data Type Null? Foreign KeyCongr1 char(70) YESCongr2 char(70) YESCongr3 char(70) YESCongr4 char(70) YESCongr5 char(70) YESCongrCounter int YESCongrType int YES

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 210

Page 211: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

OUTyp DescriptionTypes table for sites

FIELDS:Field Name Description Data Type Null? Foreign KeyDescr Descripton varchar(50) YESOUTypCounter Unique Counter int NOSeq 1-6 smallint NOTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsOUTyp_PrimaryKey nonclustered, unique, primary key located on PRIMARY OUTypCounterOUTyp_Seq nonclustered located on PRIMARY Seq, Descr

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 211

Page 212: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PO DescriptionPurchase Order table containing purchase order headers.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto increase Counter int NOImageNu Image Counter out of SIF file int NOCoNu Company # smallint NO GLAcct.CoNuVendorNu Vendor # int NO NANames.NameCounterRequisitionNu Requistion Number varchar(12) NOPONu PO Number int NOType PO Type smallint NOClosed Closed status, 0) No, 1) Yes smallint NOVoided Voided PO Checkbox 0) No 1) Yes smallint NOAgentCounter PO Agent Counter int NO POTextPicks.CounterIssuedToCounter PO Issue To Counter int NO POTextPicks.CounterShippingCounter PO Shipping Type Counter int NO POTextPicks.CounterEMailAddress Email Address varchar(255) NOShipTo Ship To Name int NODateIssued Date PO Issued datetime YESDateRequested Date PO Requested datetime YESTax Sales Tax Checkbox 0) No 1) Yes smallint NOPOApprovalsCounter PO Approvals Counter int NO POApprovals.CounterTaxAmount Tax Amount money NOFreight Frieght Amount money NOOther Other Amount money NOPOTotal PO Total Amount money NOMemo Memo varchar(4096) NOCustom1 Custom Field set in POPrefs varchar(50) NOCustom2 Custom Field set in POPrefs varchar(50) NOCustom3 Custom Field set in POPrefs varchar(50) NOCustom4 Custom Field set in POPrefs varchar(50) NOCustom5 Custom Field set in POPrefs varchar(50) NOWebView Boolean for Show PO in Webview smallint NOSSUsersCounterSetup SSUsers Counter for who set up int NO SSUsers.CounterSSUsersCounterUpdated SSUsers Counter for who updated int NO SSUsers.CounterWhenSetup Time Stamp of when set up datetime NOWhenUpdated Time Stamp of when updated datetime NOTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__PO__0666AFE8785FB566 nonclustered, unique, primary key located on PRIMARY CounterPO_CoNu nonclustered located on PRIMARY CoNu, VendorNu, CounterPO_PoNu nonclustered located on PRIMARY CoNu, PONu

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [POApproval].[POCounter]

[PODetail].[POCounter]

7/9/2014 Shelby v5 Table Layout Page 212

Page 213: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

POApproval DescriptionPurchase Order table containing approval and rejected status of PO

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase counter int NOPOCounter PO Counter int NO PO.CounterApprovalNeededSSUsersCounter

SSUsers Counter int NO SSUsers.Counter

Approved Approved Checkbox 0) No 1) Yes smallint NORejected Rejected Checkbox 0) No 1) Yes smallint NORejectedReasonCounter Rejected Reason Counter int NOSSUsersCounter SSUsers Counter int NO SSUsers.CounterWhenUpdated DateTime Stamp when updated datetime YESTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__POApprov__0666AFE80000D72E

nonclustered, unique, primary key located on PRIMARY Counter

POApproval_POCounter nonclustered located on PRIMARY POCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 213

Page 214: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

POApprovals DescriptionPurchase Order table containing names of approval path.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase Counter int NODescr Name of Approval Path varchar(50) NOTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__POApprov__0666AFE86CEE02BA

nonclustered, unique, primary key located on PRIMARY Counter

POApprovals_Descr nonclustered located on PRIMARY Descr, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [PO].[POApprovalsCounter]

[POApprovalsPath].[POApprovalsCounter][POApprovalsUsers].[POApprovalsCounter]

7/9/2014 Shelby v5 Table Layout Page 214

Page 215: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

POApprovalsPath DescriptionPurchase Order table containing starting at dollar amount for approval paths.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase Counter int NOPOApprovalsCounter POApprovals Counter int NO POApprovals.CounterSSUsersCounter SSUsers Counter int NO SSUsers.CounterStartingAtDollars Starting at dollar amount money NOTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__POApprov__0666AFE870BE939E

nonclustered, unique, primary key located on PRIMARY Counter

POApprovalsPath_POApprovalsCounter

nonclustered located on PRIMARY POApprovalsCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 215

Page 216: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

POApprovalsUsers DescriptionPurchase Order table connecting POApprovals to SSUsers

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto increase Counter int NOSSUsersCounter SSUsers Counter int NO SSUsers.CounterPOApprovalsCounter POApprovalsCounter int NO POApprovals.CounterTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__POApprov__0666AFE8748F2482

nonclustered, unique, primary key located on PRIMARY Counter

POApprovalsUsers_SSUsersCounter

nonclustered located on PRIMARY SSUsersCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 216

Page 217: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PODetail DescriptionPurchase Order table containing PO Detail Line Information

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase Counter int NOPOCounter PO Counter int NO PO.CounterProjectCounter SSProject Counter int NO SSProject.CounterFundNu General ledger fund charged to smallint NO GLAcct.FundNuDeptNu General ledger department charged to smallint NO GLAcct.DeptNuAcctNu General ledger account charged to int NO GLAcct.AcctNuPeriod GL Period charged to smallint NOBeginDate Fiscal Year datetime NOINItmCounter INitm Counter int NO INitm.CounterDescr Description of detail line varchar(40) NOQuantity Quantity Ordered money NOUnitPrice Price per Unit ordered money NOUnitOfMeasureCounter Unit of measurement int NODollarsApplied Amount of dollars applied money NOQuantityApplied Amount in quantity applied money NOClosed Particular Detail Line is closed 0) No -1) Yes smallint NOTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__PODetail__0666AFE87C30464A

nonclustered, unique, primary key located on PRIMARY Counter

PODetail_POCounter nonclustered located on PRIMARY POCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 217

Page 218: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

POPrefs DescriptionPurchase Order table containing user defined preferences for each company.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu SSCo Counter smallint NO SSCo.CounterQuantityOnPO Boolean to include Quantitiy on PO 0) No -1) Yes smallint NOPrintType Value representing which Print Type being used, one of

the three Shelby Default forms or a custom onesmallint NO

PrintHTML Path of custom print form varchar(255) NOLastPONu Last PO Number used int NOLastRequisitionNu Last Requisistion number used int NOForceRequisitionAcctNu Boolean for forcing GL Account #'s on requisitions 0) No

-1) Yessmallint NO

EMailNextApproval Boolean for Email next Approval? 0) No -1) Yes smallint NOEMailApproved Boolean for email approved 0) No -1) Yes smallint NOEMailPO Boolean for Email PO to vendor 0) No -1) Yes smallint NOSMTPServer SMTP Server Name varchar(50) NOSMTPAddress SMTP IP Address varchar(50) NOSMTPDisplayName SMTP Display Name varchar(50) NOSMTPUserName SMTP User Name varchar(50) NOSMTPPassword SMTP User Password varchar(50) NOCheckRequestEmail Boolean for Requesting Emailed PO 0) No -1) Yes varchar(255) YESShippingDescr Feild to adds a Shipping Description in PO varchar(20) NOCustom1Descr Custom Feild Description in PO varchar(20) NOCustom2Descr Custom Feild Description in PO varchar(20) NOCustom3Descr Custom Feild Description in PO varchar(20) NOCustom4Descr Custom Feild Description in PO varchar(20) NOCustom5Descr Custom Feild Description in PO varchar(20) NOTStamp Timestamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__POPrefs__A25CEBD3654CE0F2

nonclustered, unique, primary key located on PRIMARY CoNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 218

Page 219: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

POTextPicks DescriptionPurchase Order table containing Issued To, Agents, and other defined Text Picks

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase Counter int NOType Type of Text Pick varchar(12) NODescr Description of Text Pick varchar(40) NOTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__POTextPi__0666AFE8691D71D6

nonclustered, unique, primary key located on PRIMARY Counter

POTextPicks_Descr nonclustered located on PRIMARY Type, Descr

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [PO].[AgentCounter]

[PO].[IssuedToCounter][PO].[ShippingCounter]

7/9/2014 Shelby v5 Table Layout Page 219

Page 220: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRCo DescriptionPayroll table for company/employer specific information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuFedID Federal ID varchar(12) YESStateID State ID varchar(20) YESFICAYN Boolean for whether to deduct FICA for nonministers. 0)

no, -1) yes - defaultsmallint NO

PensionPlan Boolean for whether employer has a qualified pensionplan

smallint NO

ACOMFile Boolean for whether instead of printing checks, aninterface file for ACOM will be created. 0) no - printchecks, -1) yes - create interface file

smallint NO

SSN Boolean for whether to print Social Security # on checkstub

smallint NO

GroupA User specified name for pay group A. Pay groups areused to group compensations together. Example beingA might be staff and B teachers.

varchar(20) YES

GroupB User specified name for pay group B. Pay groups areused to group compensations together.

varchar(20) YES

GroupC User specified name for pay group C. Pay groups areused to group compensations together.

varchar(20) YES

GroupD User specified name for pay group D. Pay groups areused to group compensations together.

varchar(20) YES

GroupE User specified name for pay group E. Pay groups areused to group compensations together.

varchar(20) YES

StateUnempID State unemployment ID varchar(12) YESStateUnempRate State unemployment rate real NOStateUnempLimit State unemployment limit money NOGrossFedMed How to calculate state unemployment. 0) StateTaxable,

1) FederalTaxable, 2) MedicareTaxablesmallint NO

Cafeteria 0) no cafeteria plan, 1) employer paid plan, 2) employeepaid plan

smallint NO

FeedGL Boolean for whether to interface with general ledger. 0)no, -1) yes

smallint NO

BankFundNu General ledger fund for the bank smallint NOBankDeptNu General ledger department for the bank smallint NOBankAcctNu General ledger account for the bank int NOFWTFundNu General ledger fund for federal withholding taxes smallint NOFWTDeptNu General ledger department for federal withholding taxes smallint NOFWTAcctNu General ledger account for federal withholding taxes int NOSOCSFundNu General ledger fund for social security taxes smallint NOSOCSDeptNu General ledger department for social security taxes smallint NOSOCSAcctNu General ledger account for social security taxes int NOMediFundNu General ledger fund for medicare taxes smallint NOMediDeptNu General ledger department for medicare taxes smallint NOMediAcctNu General ledger account for medicare taxes int NOOtherTaxesFundNu General ledger fund for other taxes smallint NOOtherTaxesDeptNu General ledger department for other taxes smallint NOOtherTaxesAcctNu General ledger account for other taxes int NONonCashFundNu General ledger fund for noncash compensation smallint NONonCashDeptNu General ledger department for noncash compensation smallint NONonCashAcctNu General ledger account for noncash compensation int NOACHCompanyName ACH direct deposit information varchar(16) YESACHCoID Company Identification number varchar(10) YESACHOffset Boolean for whether to include the offsetting entry in the

ACH file 0) No -1) Yessmallint NO

ACHImmedDestinID Immediate Destination ID varchar(10) YESACHImmedDestinName Immediate Destination Name varchar(23) YESImmedOriginID Immediate Orgin ID varchar(10) YESImmedOriginName Immediate Orgin Name varchar(23) YESImmedRoutingNu Immediate Routing Number varchar(255) YESRecDFIIDNu Receiving DFI ID Number varchar(9) YESACHDFIAcctNu DFI Account Number varchar(17) YESACHSecurity ACH Security varchar(94) YESFileLocation ACH File Location varchar(60) YESUpperCase Boolean for ACH File Name to be Uppercase smallint NOACHBlankMICR Boolean to Blank out Routing and Acct Numbers on

Voucherssmallint NO

StateUnemplGross Period ending date of last payroll smallint NOVacShortDescr Vacation Short Description varchar(4) NOSickShortDescr Sick Short Description varchar(4) NOVacLongDescr Vacation Long Description varchar(10) NO

7/9/2014 Shelby v5 Table Layout Page 220

Page 221: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name Description Data Type Null? Foreign KeySickLongDescr Sick Long Description varchar(10) NOPeriodEnding Period Ending date of the Payroll datetime YESAccrueOnOvertime Employer Infromation, True if Over Time payt type is

checked to accrue againstsmallint NO

AccrueOnDoubletime Employer Infromation, True if Double Time payt type is checked to accrue against

smallint NO

AccrueOnSick Employer Infromation, True if Sick Time payt type is checked to accrue against

smallint NO

AccrueOnVacation Employer Infromation, True if Vacation Time payt type is checked to accrue against

smallint NO

AccrueOnHoliday Employer Infromation, True if Holiday Time payt type is checked to accrue against

smallint NO

AccrueOnOther Employer Infromation, True if Other Time payt type is checked to accrue against

smallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRCo_ACHImmedDestinID nonclustered located on PRIMARY ACHImmedDestinIDPRCo_FedID nonclustered located on PRIMARY FedIDPRCo_ImmedOriginID nonclustered located on PRIMARY ImmedOriginIDPRCo_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNuPRCo_StateID nonclustered located on PRIMARY StateIDPRCo_StateUnempID nonclustered located on PRIMARY StateUnempID

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 221

Page 222: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRCoState DescriptionPayroll table for state reporting ID #s.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuState State varchar(2) YESStateID Reporting state ID # varchar(20) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRCoState_CoNu nonclustered located on PRIMARY CoNu, StatePRCoState_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterPRCoState_StateID nonclustered located on PRIMARY StateID

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 222

Page 223: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRDed DescriptionPayroll table for deduction distributions.

FIELDS:Field Name Description Data Type Null? Foreign KeyDedNu Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuTypeNu Links to PRDedType int NO PRDedType.TypeNuDescription Description varchar(50) YESFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger liability department smallint NO GLAcct.DeptNuAcctNu General ledger liability account int NO GLAcct.AcctNuMatchingDeptNu General ledger matching exoense department smallint NO GLAcct.DeptNuMatchingAcctNu General ledger matching expense account int NO GLAcct.AcctNuTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRDed_CoNu nonclustered located on PRIMARY CoNu, DescriptionPRDed_PrimaryKey nonclustered, unique, primary key located on PRIMARY DedNuPRDed_TypeNu nonclustered located on PRIMARY CoNu, TypeNu, Description

RELATED TABLES:Field Name [Related Table].[Related Field]TypeNu [PREmpDed].[DeductNu]

7/9/2014 Shelby v5 Table Layout Page 223

Page 224: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRDedType DescriptionPayroll table for deduction types.

FIELDS:Field Name Description Data Type Null? Foreign KeyTypeNu Auto Number Primary Key int NODescription Description varchar(50) YESBoxW2 0) Not in special box on W2, 10) Box 10, 13) Box 13, 14)

Box 14smallint NO

LetterBox13 '') Not applicable, D, E, F, G, H, S varchar(2) YESDeferredComp Boolean for whether this is added to deferred

compensation on W2. 0) no, -1) yessmallint NO

Sub2FWT Boolean for whether this applies to calculation of federaltaxes basis. 0) no, -1) yes

smallint NO

Sub2FICA Boolean for whether this applies to calculation of socialsecurity/medicare taxes basis. 0) no, -1) yes

smallint NO

Sub2State Boolean for whether this applies to calculation of statetaxes basis. 0) no, -1) yes

smallint NO

Sub2County Boolean for whether this applies to calculation of countytaxes basis. 0) no, -1) yes

smallint NO

Sub2Local Boolean for whether this applies to calculation of localtaxes basis. 0) no, -1) yes

smallint NO

UserChangeable Boolean for whether user is allowed to changeDescription, Sub2FWT, Sub2FICA

smallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRDedType_Description nonclustered located on PRIMARY DescriptionPRDedType_PrimaryKey nonclustered, unique, primary key located on PRIMARY TypeNu

RELATED TABLES:Field Name [Related Table].[Related Field]TypeNu [PRDed].[TypeNu]

7/9/2014 Shelby v5 Table Layout Page 224

Page 225: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRDistr DescriptionPayroll table for compensation distributions.

FIELDS:Field Name Description Data Type Null? Foreign KeyDistrNu Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuTypeNu Links to PRDistrType int NO PRDistrType.TypeNuDescription Description varchar(50) YESFundNu General ledger fund smallint NO GLAcct.FundNuRegDeptNu General ledger department for regular earnings smallint NO GLAcct.DeptNuRegAcctNu General ledger account for regular earnings int NO GLAcct.AcctNuOverAcctNu General ledger department for regular earnings int NO GLAcct.DeptNuOverDeptNu General ledger account for regular earnings smallint NO GLAcct.AcctNuDblDeptNu General ledger department for regular earnings smallint NO GLAcct.DeptNuDblAcctNu General ledger account for regular earnings int NO GLAcct.AcctNuOtherDeptNu General ledger department for regular earnings smallint NO GLAcct.DeptNuOtherAcctNu General ledger account for regular earnings int NO GLAcct.AcctNuHolDeptNu General ledger department for regular earnings smallint NO GLAcct.DeptNuHolAcctNu General ledger account for regular earnings int NO GLAcct.AcctNuSickDeptNu General ledger department for regular earnings smallint NO GLAcct.DeptNuSickAcctNu General ledger account for regular earnings int NO GLAcct.AcctNuVacDeptNu General ledger department for regular earnings smallint NO GLAcct.DeptNuVacAcctNu General ledger account for regular earnings int NO GLAcct.AcctNuSSDeptNu General ledger department for regular earnings smallint NO GLAcct.DeptNuSSAcctNu General ledger account for regular earnings int NO GLAcct.AcctNuMedDeptNu General ledger department for regular earnings smallint NO GLAcct.DeptNuMedAcctNu General ledger account for regular earnings int NO GLAcct.AcctNuTStamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRDistr_CoNu nonclustered located on PRIMARY CoNu, DescriptionPRDistr_PrimaryKey nonclustered, unique, primary key located on PRIMARY DistrNuPRDistr_Type nonclustered located on PRIMARY CoNu, TypeNu, Description

RELATED TABLES:Field Name [Related Table].[Related Field]DistrNu [PREmpDistr].[DistrNu]

7/9/2014 Shelby v5 Table Layout Page 225

Page 226: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRDistrType DescriptionPayroll table for different compensation types.

FIELDS:Field Name Description Data Type Null? Foreign KeyTypeNu Auto Number Primary Key int NODescription Description of compensation type varchar(50) YESNonCash Boolean for whether this compensation is noncash or

not. 0) no - it is cash, -1) yes - it is noncash such asinsurance > $50,000

smallint NO

MinisterOnly Boolean for whether this applies to ministers only. 0) no,-1) yes

smallint NO

Sub2FWT Boolean for whether this applies to calculation of federaltaxes basis. 0) no, -1) yes

smallint NO

Sub2FICA Boolean for whether this applies to calculation of socialsecurity/medicare taxes basis. 0) no, -1) yes

smallint NO

Sub2State Boolean for whether this applies to calculation of statetaxes basis. 0) no, -1) yes

smallint NO

Sub2County Boolean for whether this applies to calculation of countytaxes basis. 0) no, -1) yes

smallint NO

Sub2Local Boolean for whether this applies to calculation of localtaxes basis. 0) no, -1) yes

smallint NO

RegOnly Boolean for whether this compensation only applies toregular hours and not overtime, etc.

smallint NO

BoxW2 0) Not in special box on W2, 10) Box 10, 11) Box 11, 12)Box 12, 13) Box 13, 14) Box 14

smallint NO

LetterBox13 '') Not applicable, C, J, L, M, N, P varchar(2) YESUserChangeable Boolean for whether user is allowed to change

Description, NonCash, MonisterOnly, Sub2FWT,Sub2FICA, RegOnly

smallint NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRDistrType_Description nonclustered located on PRIMARY DescriptionPRDistrType_PrimaryKey nonclustered, unique, primary key located on PRIMARY TypeNu

RELATED TABLES:Field Name [Related Table].[Related Field]TypeNu [PRDistr].[TypeNu]

7/9/2014 Shelby v5 Table Layout Page 226

Page 227: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PREmp DescriptionPayroll table for employee information.

FIELDS:Field Name Description Data Type Null? Foreign KeyEmpNu Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuNameCounter GlobaFILE Name ID int NO NANames.NameCounterHomeDeptCounter Links to PRHomeDept int NO PRHomeDept.CounterMinisterYN Boolean for whether employee is minister or not. 0) no, -

1) yessmallint NO

WorkStatus Work status. F)ull Time, P)art Time, T)emporary varchar(1) YESStatus Employment status. A)ctive, T)erminated, I)nactive varchar(1) YESStatEmp State of Employment smallint NOEthnicGroup One character grouping for ethnicity varchar(1) YESAutoDeposit Used to bypass printing check for employee. Just print

voucher. If has value the auto deposit list is producedas part of payroll run. Not the same as ACH whichcreates direct deposit file for bank.

varchar(12) YES

Secure Boolean for whether employee is in a secure group. 0)no, -1) yes - must have special security rights to access

smallint NO

TimeClockID EmpNu * 65 for user identification int YESHireDate Hire Date datetime YESTermDate Termination date datetime YESRehireDate Rehire Date datetime YESMinisterDate Date ordained as minister datetime YESNextReviewDate Date for next employee review datetime YESSickAllowed Sick hours allowed. Declining balance as used. float NOSickPayPeriod Increment to add to SickAllowed if additional sick hours

are earned per pay period.float NO

SickPerHour Increment to add to SickAllowed if additional sick hoursare earned per hour.

decimal NO

SickMax Maximum SickAllowed. Used if SickPayPeriod orSickPerHour.

float NO

VacationAllowed Vacation hours allowed. Declining balance as used. float NOVacationPayPeriod Increment to add to VacationAllowed if additional

vacation hours are earned per pay period.float NO

VacationPerHour Increment to add to VacationAllowed if additionalvacation hours are earned per hour.

decimal NO

VacationMax Maximum VacationAllowed. Used if VacationPayPeriodor VacationPerHour.

float NO

FedTable Which federal tax table to use. 0) Single, 1) Married, 2)Married Filing Single, 3) Exempt - Do not use tables

smallint NO

FormFiled Not used smallint NOEIC Earned income credit. '') Doesn't Apply, A) use table A,

B) use table Bvarchar(1) YES

ExtraFedDol Extra federal dollars to deduct money NOExtraFedPct Extra % to deduct with federal taxes real NONuDepend # dependents smallint NOPPQualified Boolean for whether employee is pension plan qualified.

0) no, -1) yessmallint NO

ThirdPartySickPayWH Boolean to indicate 3rd party withholding 0)No, -1)Yes smallint NOSUIState State abbreviation for unemployment varchar(2) YESACH ACH direct deposit. 0) Do not use ACH, 1) Distribute by

dollar amount, 2) Distribute by percentagesmallint NO

PreNoteNeeded Boolean for whether ACH prenotification needs to beprocessed for this employee. 0) no, -1) yes

smallint NO

PreNoteDate Date ACH prenotification done. Used to determine ifcorrect # of days has transpired for banks requiringprenotification

datetime YES

CAExemptCode Code assigned to employee for California Special Report smallint NOMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPREmp_NameCounter nonclustered located on PRIMARY CoNu, NameCounterPREmp_PrimaryKey nonclustered, unique, primary key located on PRIMARY EmpNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 227

Page 228: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name [Related Table].[Related Field]EmpNu [PREmpACH].[EmpNu]

[PREmpDed].[EmpNu][PREmpDistr].[EmpNu][PREmpSVSchedule].[EmpNu][PREmpTaxes].[EmpNu][PRHistDetail].[EmpNu][PRHistHead].[EmpNu][PRTCDetail].[EmpNu][PRTCHead].[EmpNu][PRTCImport].[EmpNu]

7/9/2014 Shelby v5 Table Layout Page 228

Page 229: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PREmpACH DescriptionPayroll table for ACH direct deposit set up for each employee.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOEmpNu Links to PREmp int NO PREmp.EmpNuACHType Typs of account to deposit into. 1) Checking, 2) Savings smallint NODFINu DFI # varchar(17) YESDFIIDNu DFI ID # varchar(9) YESAmount Amount or % of pay to deposit. Which is determined by

PREmp.ACHmoney NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPREmpACH_EmpNu nonclustered located on PRIMARY EmpNu, CounterPREmpACH_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 229

Page 230: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PREmpAssociated DescriptionAssociated files linked to employees. All coming from scanning.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Unique ID for table int NOPREmpCounter Link to PREmp Record int NO PREmp.CounterDescr Description of file (ex: 'Drivers License', 'Review') varchar(50) NOImageNu ImageNu from SIF file int NOWhenUpdated When Record updated datetime NOTStamp Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__PREmpAss__0666AFE8605321AB

nonclustered, unique, primary key located on PRIMARY Counter

PREmpAssociated_PREmpCounter nonclustered located on PRIMARY PREmpCounter, Descr

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 230

Page 231: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PREmpDed DescriptionPayroll table for deductions set up for each employee.

FIELDS:Field Name Description Data Type Null? Foreign KeyEmpNu Links to PREmp int NO PREmp.EmpNuLineNu Sequential system assigned # for ordering records per

employeesmallint NO

DeductNu Links to PRDed int NO PRDed.TypeNuRegular Boolean for whether deduction is done on a regular

basis. 0) no only occasionally, -1) yessmallint NO

Type How to deduct. 0) Fixed Dollar Amount, 1) Percent ofGross, 2) Percent of Net, 3) Per Hour 4) Percent/FedTaxable 5) Percent/State Taxable 6) Percent/LocalTaxable 7) Percent/County Taxable

smallint NO

PerCheckLimit Limit Per Check money NOCycle When to deduct. 0) Every pay period, 1-5) First thru fifth

pay periodsmallint NO

Amount Amount of deduction money NOLimit Limit of deduction. Declines as payrolls are run. money NOMatchPct Matching percent. Usually used for retirement plans. real NOMatchDol Matching dollars. Usually used for retirement plans. money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPREmpDed_DeductCounter nonclustered located on PRIMARY DeductNuPrEmpDed_PrimaryKey nonclustered, unique, primary key located on PRIMARY EmpNu, LineNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 231

Page 232: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PREmpDistr DescriptionPayroll table for compensation distributions per employee.

FIELDS:Field Name Description Data Type Null? Foreign KeyEmpNu Links to PREmp int NO PREmp.EmpNuLineNu Sequential system assigned # for ordering records per

employeesmallint NO

DistrNu Links to PRDistr int NO PRDistr.DistrNuFrequency 0) normal, 1) bonus pay, 2) noncash compensation smallint NOPayCycle Frequency of pay. 52) Weekly, 26) BiWeekly, 24)

BiMonthly, 12) Monthly, 1) Bonus Paysmallint NO

PRGroup References pay group (1-5) smallint NOSalary Boolean for whether this is salaried or hourly. 0) hourly, -

1) salariedsmallint NO

AnnualPay Annual pay for salaried employees money NORate Either periodic reate for salaried employees or houlr rate money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterWCCode One character classification for grouping different types

of workmans' compensation payvarchar(1) YES

RegHours Regular hours from last pay run real NOOTHours Overtime hours from last pay run real NODTHours Doubletime hours from last pay run real NOOthPay Other pay from last pay run money NOHolHours Holiday hours from last pay run real NOSickHours Sick hours from last pay run real NOVacHours Vacation hours from last pay run real NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPREmpDistr_DistrCounter nonclustered located on PRIMARY DistrNuPrEmpDistr_PrimaryKey nonclustered, unique, primary key located on PRIMARY EmpNu, LineNuPREmpDistr_WCCode nonclustered located on PRIMARY WCCode

RELATED TABLES:Field Name [Related Table].[Related Field]LineNu [PRTCDetail].[Basis]

7/9/2014 Shelby v5 Table Layout Page 232

Page 233: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PREmpSVSchedule DescriptionPayroll table containing the sick and vacation schedule for each employee.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOEmpNu LInks to PREmp int NO PREmp.EmpNuSVDate Date for sick or vacation hours datetime NOSickHours # of sick hours money NOVacHours # of vacation hours money NOWhenSetup When this record was initially set up datetime NOWhenUpdated When this record was updated datetime NOWhoSetup Who initially set up this record varchar(50) NOWhoUpdated Who updated this record varchar(50) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__PREmpSVS__0666AFE83FC65688

nonclustered, unique, primary key located on PRIMARY Counter

PREmpSVSchedule_EmpNu nonclustered located on PRIMARY EmpNu, SVDate

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 233

Page 234: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PREmpTaxes DescriptionPayroll table for state/county/local taxes to be paid by employee.

FIELDS:Field Name Description Data Type Null? Foreign KeyEmpNu LInks to PREmp int NO PREmp.EmpNuLIneNu Sequential system assigned # for ordering records for

each employeesmallint NO

TaxNu Links to PRTaxtables int NO PRTaxTables.TableNuFilingStatus Determines how to calculate. 0) Normal - use table, 1)

Normal - no standard deductions, 2) Do not use tablesmallint NO

Exemp # of exemptions smallint NOAddtlDeduct Additional deduction to use before calculating tax money NOExtraPct Extra % to use real NOExtraTax Extra $s tax money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPREmpTaxes_PrimaryKey nonclustered, unique, primary key located on PRIMARY EmpNu, LIneNuPREmpTaxes_TaxNu nonclustered located on PRIMARY TaxNu, EmpNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 234

Page 235: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRHealthCareValue DescriptionTable used for Health Care values of box 12 DD on W2s

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increment field int NOEmpNu Employee number int NODate Date of payroll datetime NOAmount Amount or Value for Health Care money YES

INDEXES:Index Name Description Key ColumnsPRHealthCareValue_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 235

Page 236: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRHistDetail DescriptionPayroll table for check history detail distributions.

FIELDS:Field Name Description Data Type Null? Foreign KeyHistoryNu Links to PRHistHead int NO PRHistHead.HistoryNuLineNu Sequential system assigned # for ordering detail records smallint NOType Specifies what is contained on record. 1) compensation,

2) deductions, 3) taxsmallint NO

SubType Query Reports 1) Regular Pay, 2) Overtime, 3) DoubleTime, 4) Sick Time, 5) Vacation, 6) Holiday, 7) Other, 8)SS, 9) Med

smallint NO

IDNu Links to different files based on Type. 1) PRDistr, 2)PRDed, 3) PRTaxTables

int NO

Hours Hours real NOFrequency 0) normal, 1) bonus pay, 2) noncash compensation smallint NORate Rate of pay for hourly compensation money NOAmount Either salary or calculated hourly pay money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterBasis Basis for calculating taxes or calculated deductions money NOEmpNu Links to PREmp int NO PREmp.EmpNuSub2FWT Boolean for whether this applies to calculation of federal

taxes basis. 0) no, -1) yessmallint NO

Sub2FICA Boolean for whether this applies to calculation of socialsecurity/medicare taxes basis. 0) no, -1) yes

smallint NO

Sub2State Boolean for whether this applies to calculation of statetaxes basis. 0) no, -1) yes

smallint NO

Sub2County Boolean for whether this applies to calculation of countytaxes basis. 0) no, -1) yes

smallint NO

Sub2Local Boolean for whether this applies to calculation of localtaxes basis. 0) no, -1) yes

smallint NO

WCCode Workers Comp Code varchar(1) YESEmployerContrib Matching contribution from Employer money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRHistDetail_EmpNu nonclustered located on PRIMARY EmpNu, HistoryNu, LineNuPRHistDetail_HistoryNu nonclustered located on PRIMARY HistoryNuPRHistDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY HistoryNu, LineNuPRHistDetail_Type nonclustered located on PRIMARY Type, IDNuPRHistDetail_W2s nonclustered located on PRIMARY EmpNu, HistoryNu, Type

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 236

Page 237: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRHistHead DescriptionPayroll table for check history base information.

FIELDS:Field Name Description Data Type Null? Foreign KeyHistoryNu Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuEmpNu Links to PREmp int NO PREmp.EmpNuCheckNu Check # int NOCheckType Type of entry. 0) regular check, 1) manually written

check, 2) voided checksmallint NO

CheckDate Check Date datetime YESGrossPay Gross Pay money NOFedBasis Taxable gross pay for federal income tax money NOThirdPartySickPay Amount of pay from third party sick pay smallint NOFWT Federal withholding tax money NOEIC Earned income credit money NOSocSecGross Taxable gross pay for social security money NOSocSec Social security withheld money NOMedicareGross Taxable gross pay for medicare money NOMedicare Medicare taxes withheld money NOState State taxes withheld money NOCounty County taxes withheld money NOPRLocal Local taxes withheld money NODeductions Local taxes withheld money NOMinister1099 Not used smallint NOUpdated Boolean to indicate whether the record is updated smallint NOW2WizardLinkedHistoryNu Links Fixed Check to Origianal int NOPeriodBeginDate Beging date of period datetime YESPeriodEndDate Ending date of period datetime YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRHistHead_CheckNu nonclustered located on PRIMARY CoNu, CheckNuPRHistHead_EmpNu nonclustered located on PRIMARY CoNu, EmpNu, CheckDatePRHistHead_PrimaryKey nonclustered, unique, primary key located on PRIMARY HistoryNu

RELATED TABLES:Field Name [Related Table].[Related Field]HistoryNu [PRHistDetail].[HistoryNu]

7/9/2014 Shelby v5 Table Layout Page 237

Page 238: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRHomeDept DescriptionPayroll lookup table for home departments.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description of home department varchar(25) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRHomeDept_Descr nonclustered located on PRIMARY DescrPRHomeDept_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [PREmp].[HomeDeptCounter]

7/9/2014 Shelby v5 Table Layout Page 238

Page 239: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRTaxTables DescriptionPayroll table for state, county and local taxes.

FIELDS:Field Name Description Data Type Null? Foreign KeyTableNu Auto Number Primary Key int NOTableName Description of table varchar(30) YESStateCode State abbreviation varchar(4) YESType Type of tax. 0) Federal, 1) State, 2) County, 3) Local varchar(7) YESDescription Memo description of table varchar(2048) YESCalculation Memo description of how fields are used for calculation varchar(2048) YESWholeDollars Boolean for whether to round tax to whole dollars. 0) no,

-1) yessmallint NO

PRDelete Boolean for whether user is allowed to delete a systemset up record. 0) yes, -1) no

smallint NO

SSTaxID Tax identification number used for updating tax tables int NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRTaxTables_PrimaryKey nonclustered, unique, primary key located on PRIMARY TableNuPRTaxTables_StateCode nonclustered located on PRIMARY StateCodePRTaxTables_TableName nonclustered located on PRIMARY TableName

RELATED TABLES:Field Name [Related Table].[Related Field]TableNu [PREmpTaxes].[TaxNu]

[PRTaxTablesGL].[TableNu]

7/9/2014 Shelby v5 Table Layout Page 239

Page 240: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRTaxTablesGL DescriptionPayroll table for general ledger distribution of state, county and local taxes.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuTableNu Links to PRTaxTables int NO PRTaxTables.TableNuFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu General ledger account int NO GLAcct.AcctNuTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRTaxTablesGL_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, TableNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 240

Page 241: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRTaxTablesYears DescriptionPayroll table for state, county and local taxes for each year.

FIELDS:Field Name Description Data Type Null? Foreign KeyTableNu Auto Number Primary Key int NOFederalDeduction Boolean for whether to deduct federal income taxes

before calculating. 0) no, -1) yessmallint NO

Field1 Custom amount/rate for calculation float NOField2 Custom amount/rate for calculation float NOField3 Custom amount/rate for calculation float NOField4 Custom amount/rate for calculation float NOField5 Custom amount/rate for calculation float NOField6 Custom amount/rate for calculation float NOEarnings1 Earning limit for calculations money NOPercent1 Percent calculations up to above earning limit real NOEarnings2 Earning limit for calculations money NOPercent2 Percent calculations up to above earning limit real NOEarnings3 Earning limit for calculations money NOPercent3 Percent calculations up to above earning limit real NOEarnings4 Earning limit for calculations money NOPercent4 Percent calculations up to above earning limit real NOEarnings5 Earning limit for calculations money NOPercent5 Percent calculations up to above earning limit real NOEarnings6 Earning limit for calculations money NOPercent6 Percent calculations up to above earning limit real NOEarnings7 Earning limit for calculations money NOPercent7 Percent calculations up to above earning limit real NOEarnings8 Earning limit for calculations money NOPercent8 Percent calculations up to above earning limit real NOEarnings9 Earning limit for calculations money NOPercent9 Percent calculations up to above earning limit real NOEarnings10 Earning limit for calculations money NOPercent10 Percent calculations up to above earning limit real NOEarnings11 Earning limit for calculations money NOPercent11 Percent calculations up to above earning limit real NOEarnings12 Earning limit for calculations money NOPercent12 Percent calculations up to above earning limit real NOEarnings13 Earning limit for calculations money NOPercent13 Percent calculations up to above earning limit real NOEarnings14 Earning limit for calculations money NOPercent14 Percent calculations up to above earning limit real NOEarnings15 Earning limit for calculations money NOPercent15 Percent calculations up to above earning limit real NOEarnings16 Earning limit for calculations money NOPercent16 Percent calculations up to above earning limit real NOEarnings17 Earning limit for calculations money NOPercent17 Percent calculations up to above earning limit real NOEarnings18 Earning limit for calculations money NOPercent18 Percent calculations up to above earning limit real NOSSTaxID Tax identification number used for updating tax tables. int NORevisedDate Date of last revision to tax table datetime YESRevisionNumber Revision number of last update int NOTaxYear Year for taxes information datetime NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK_PRTaxTablesYear nonclustered, unique, primary key located on PRIMARY TableNu, TaxYear

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 241

Page 242: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRTCDetail DescriptionPayroll table for time card distribution details.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuEmpNu Links to PREmp int NO PREmp.EmpNuLineNu Sequential system assigned # for ordering detail records smallint NOType Specifies what is contained on record. 1) compensation,

2) deductions, 3) taxsmallint NO

SubType System assigned # for orderering under Type smallint NOIDNu Links to different files based on Type. 1) PRDistr, 2)

PRDed, 3) PRTaxTablesint NO

Hours Hours real NOFrequency 0) normal, 1) bonus pay, 2) noncash compensation smallint NORate Rate of pay for hourly compensation money NOAmount Either salary or calculated hourly pay money NOPayCycle Frequency of pay. 52) Weekly, 26) BiWeekly, 24)

BiMonthly, 12) Monthly, 1) Bonus Paysmallint NO

ProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterBasis Basis for calculating taxes or calculated deductions money NO PREmpDistr.LineNuEmpDistrLineNu Links to PREmpDistr smallint NOSub2FWT Links to PREmpDistr smallint No PREmpDistr.LineNu

Sub2FWT Boolean for whether this applies to calculation of federaltaxes basis. 0) no, -1) yes

smallint NO

Sub2FICA Boolean for whether this applies to calculation of socialsecurity/medicare taxes basis. 0) no, -1) yes

smallint NO

Sub2State Boolean for whether this applies to calculation of statetaxes basis. 0) no, -1) yes

smallint NO

Sub2County Boolean for whether this applies to calculation of countytaxes basis. 0) no, -1) yes

smallint NO

Sub2Local Boolean for whether this applies to calculation of localtaxes basis. 0) no, -1) yes

smallint NO

WCCode Workers Comp Code varchar(1) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRTCDetail_IDNu nonclustered located on PRIMARY IDNuPRTCDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, EmpNu, LineNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 242

Page 243: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRTCHead DescriptionPayroll table for time card base information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuEmpNu Links to PREmp int NO PREmp.EmpNuCheckNu Check # int NOCheckDate Check Date datetime YESFedBasis Taxable gross pay for federal income tax money NOFWT Federal withholding tax money NOEIC Earned income credit money NOSocSecGross Taxable gross pay for social security money NOSocSec Social security withheld money NOMedicareGross Taxable gross pay for medicare money NOMedicare Medicare taxes withheld money NOState State taxes withheld money NOCounty County taxes withheld money NOPRLocal Local taxes withheld money NOMinister1099 Not used smallint NOPeriodBeginDate Begining date of period datetime YESPeriodEndDate Ending date of period datetime YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPRTCHead_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNu, EmpNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 243

Page 244: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

PRTCImport DescriptionPayroll table for time clock import for information in text file.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company number int YES SSCo.CoNuEmpNu Employee number int YES PREmp.EmpNuName Employee name char(34) YESSSN Employee social security number char(12) YESPayCode Pay code char(10) YESHours Number of regular hours money YESOT1 Number of overtime hours money YESOT2 Number of double time hours money YESShlbyCde Shelby code char(2) YES

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 244

Page 245: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCCal DescriptionResource Calendar table for scheduled events

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCMstCounter Links to RCMst for Resource int NO RCMst.CounterDescr Description varchar(50) NOStart Starting date and time resource needed datetime NORCEnd End date and time resource needed datetime NOSetupStart Setup start time datetime NOBreakdownEnd Break down end time datetime NOApproved Boolean for whether Approved 0) No or -1) Yes smallint NOMemo varchar(4096) NOWhenSetup When this record was initially set up datetime NOWhenUpdated When this record was updated datetime NOWhoSetup Who initially set up this record varchar(50) NOWhoUpdated Who updated this record varchar(50) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCCal__0666AFE85046D714 nonclustered, unique, primary key located on PRIMARY CounterRCCal_RCEnd nonclustered located on PRIMARY RCEnd, CounterRCCal_RCMstCounter nonclustered located on PRIMARY RCMstCounter, Start, CounterRCCal_Start nonclustered located on PRIMARY Start, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RCCalAsc].[RCCalCounter]

[RCCalMst].[RCCalCounter][RCCalPrf].[RCCalCounter]

7/9/2014 Shelby v5 Table Layout Page 245

Page 246: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCCalAsc DescriptionResource Calendar table for associated files

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCCalCounter Links to RCCal int NO RCCal.CounterDescr Description varchar(255) NOFileLocation Location of associated file varchar(255) NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__RCCalAsc__0666AFE825276EE5

nonclustered, unique, primary key located on PRIMARY Counter

RCCalAsc_RCCalCounter nonclustered, unique located on PRIMARY RCCalCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 246

Page 247: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCCalMst DescriptionResource Calendar table for resource quantities needed for event

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCCalCounter Links to RCCal int NO RCCal.CounterRCMstCounter Links to RCMst int NO RCMst.CounterQty Quantity int NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCCalMst__0666AFE858DC1D15

nonclustered, unique, primary key located on PRIMARY Counter

RCCalMst_RCCalCounter nonclustered located on PRIMARY RCCalCounter, RCMstCounterRCCalMst_RCMstCounter nonclustered located on PRIMARY RCMstCounter, RCCalCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 247

Page 248: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCCalPrf DescriptionResource Calendar table to link scheduled events to profiles

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCCalCounter Links to RCCal int NO RCCal.CounterRCPrfCounter Links to RCPrf int NO RCPrf.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCCalPrf__0666AFE85E94F66B

nonclustered, unique, primary key located on PRIMARY Counter

RCCalPrf_RCCal nonclustered located on PRIMARY RCCalCounter, RCPrfCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 248

Page 249: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCDatSel DescriptionResource Calendar table for filtered view

FIELDS:Field Name Description Data Type Null? Foreign KeySSUsersCounter Links SSUsers int NO SSUsers.CounterStart Start date and time filter datetime NORCEnd End date and time filter datetime NO

INDEXES:Index Name Description Key ColumnsRCDatSel_PrimaryKey nonclustered, unique located on PRIMARY SSUsersCounter, Start, RCEndRCDatSel_RCEnd nonclustered, unique located on PRIMARY SSUsersCounter, RCEnd, Start

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 249

Page 250: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCMst DescriptionResource Calendar table for Resources

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(50) NOQty Quantity int NOSSUsersCounter Shelby User int NO SSUsers.CounterEMailAddress EMail Address varchar(200) NOEMailNotification Boolean for whether to send email notification 0) No ro -

1) Yessmallint NO

EMailAppointment Boolean for whether to send email appointments 0) Noor -1) Yes

smallint NO

Memo varchar(4096) NOWhenSetup When this record was initially set up datetime NOWhenUpdated When this record was updatedWho initially set up this

recorddatetime NO

WhoSetup Who initially set up this record varchar(50) NOWhoUpdated Who updated this record varchar(50) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCMst__0666AFE8644DCFC1 nonclustered, unique, primary key located on PRIMARY CounterRCMst_Descr nonclustered located on PRIMARY Descr

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RCCal].[RCMstCounter]

[RCCalMst].[RCMstCounter][RCMstGrp].[GroupedRCMstCounter][RCMstGrp].[RCMstCounter][RCMstPrf].[RCMstCounter][RCMstSel].[RCMstCounter][RCRec].[RCMstCounter][RCRecMst].[RCMstCounter]

7/9/2014 Shelby v5 Table Layout Page 250

Page 251: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCMstGrp DescriptionResource Calendar table to group resources

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCMstCounter Links to RCMst int NO RCMst.CounterGroupedRCMstCounter Links to RCMst int NO RCMst.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCMstGrp__0666AFE86FBF826D

nonclustered, unique, primary key located on PRIMARY Counter

RCMstGrp_RCMstCounter nonclustered located on PRIMARY RCMstCounter, GroupedRCMstCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 251

Page 252: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCMstPrf DescriptionResource Calendar table to link Resources to Profiles

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCMstCounter Links to RCMst int NO RCMst.CounterRCPrfCounter Links to RCPrf int NO RCPrf.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCMstPrf__0666AFE875785BC3

nonclustered, unique, primary key located on PRIMARY Counter

RCMstPrf_RCMstCounter nonclustered located on PRIMARY RCMstCounter, RCPrfCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 252

Page 253: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCMstSel DescriptionResource Calendar table for users resouce filters

FIELDS:Field Name Description Data Type Null? Foreign KeySSUsersCounter Links to SSUsers int NO SSUsers.CounterType Type 0) defined resource filter or 1) select resource smallint NORCMstCounter Links to RCMst int NO RCMst.CounterQty Quantity int NO

INDEXES:Index Name Description Key ColumnsRCMstSel_PrimaryKey nonclustered, unique located on PRIMARY SSUsersCounter, Type, RCMstCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 253

Page 254: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCPrefs DescriptionResource Calendar table for preferences

FIELDS:Field Name Description Data Type Null? Foreign KeyEMailServer SMTP Server varchar(50) NOEMailFromAddress From and Return Address varchar(50) NOEMailDisplayName Display Name for Email varchar(50) NOEMailUserName User Name varchar(50) NOEMailPassword Password varchar(50) NOHTMLTemplate HTML File for Notification varchar(75) NOTStamp System generated time stamp timestamp YES

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 254

Page 255: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCPrf DescriptionResource Calendar table for resouce calendar profiles

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOProfile Profile varchar(8) NODescr Descripiton varchar(50) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCPrf__0666AFE87B313519 nonclustered, unique, primary key located on PRIMARY CounterRCPrf_Descr nonclustered located on PRIMARY DescrRCPrf_Profile nonclustered located on PRIMARY Profile

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RCCalPrf].[RCPrfCounter]

[RCMstPrf].[RCPrfCounter][RCPrfSel].[RCPrfCounter][RCRecPrf].[RCPrfCounter]

7/9/2014 Shelby v5 Table Layout Page 255

Page 256: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCPrfSel DescriptionResource Calendar table for profile filter per user

FIELDS:Field Name Description Data Type Null? Foreign KeySSUsersCounter Links to SSUsers int NO SSUsers.CounterType Type 0) defined profile filter or 1) select profile smallint NORCPrfCounter Links to RCPrf int NO RCPrf.Counter

INDEXES:Index Name Description Key ColumnsRCPrfSel_PrimaryKey nonclustered, unique located on PRIMARY SSUsersCounter, Type, RCPrfCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 256

Page 257: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCRec DescriptionResource Calendar table for recurring events

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCMstCounter Links to RCMst int NO RCMst.CounterStartDate Start date for recurring event datetime NOStartTime Start time for recurring event smallint NOEndDate End date for recurring event datetime YESEndTime End time for recurring event smallint NOSetupMinutes # of setup minutes int NOBreakdownMinutes # of breakdown minutes int NORecurrence Recurrence 0) Daily, 1) Weekly, 2) Monthly, or 3) Yearly smallint NORecurEvery Recur frequency smallint NOWeekDaysOnly Boolean for recurs week days only 0) No or -1) Yes smallint NOWeeklySun Boolean for recurs Weekly on Sunday 0) No or -1) Yes smallint NOWeeklyMon Boolean for recurs Weekly on Monday 0) No or -1) Yes smallint NOWeeklyTue Boolean for recurs Weekly on Tuesday 0) No or -1) Yes smallint NOWeeklyWed Boolean for recurs Weekly on Wednesday 0) No or -1)

Yessmallint NO

WeeklyThu Boolean for recurs Weekly on Thursday 0) No or -1) Yes smallint NOWeeklyFri Boolean for recurs Weekly on Friday 0) No or -1) Yes smallint NOWeeklySat Boolean for recurs Weekly on Saturday 0) No or -1) Yes smallint NOSameDay Boolean for recurs on same day 0) Yes or -1) No smallint NODescr Events description varchar(50) NOApproved Boolean for Approved 0) No or -1) Yes smallint NOEMailNotification Boolean for email notification 0) No or -1) Yes smallint NOEMailAppointment Boolean for email appoitment 0) No or -1) Yes smallint NOMemo varchar(4096) NOWhenSetup When this record was initially set up datetime NOWhenUpdated When this record was updated datetime NOWhoSetup Who initially set up this record varchar(50) NOWhoUpdated Who updated this record varchar(50) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCRec__0666AFE807970BFE nonclustered, unique, primary key located on PRIMARY CounterRCRec_RCMstCounter nonclustered located on PRIMARY RCMstCounter, StartDate, CounterRCRec_StartDate nonclustered located on PRIMARY StartDate, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RCRecAsc].[RCRecCounter]

[RCRecExc].[RCRecCounter][RCRecMst].[RCRecCounter][RCRecPrf].[RCRecCounter]

7/9/2014 Shelby v5 Table Layout Page 257

Page 258: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCRecAsc DescriptionResource Calendar table for recurring associated files

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCRecCounter Links to RCRec int NO RCRec.CounterDescr Description varchar(255) NOFileLocation Location of associated file varchar(255) NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__RCRecAsc__0666AFE828F7FFC9

nonclustered, unique, primary key located on PRIMARY Counter

RCRecAsc_RCCalCounter nonclustered, unique located on PRIMARY RCRecCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 258

Page 259: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCRecExc DescriptionResource Calendar table for excluded dates

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCRecCounter Links to RCRec int NO RCRec.CounterStart Date of exclusion datetime NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCRecExc__0666AFE81D864D1D

nonclustered, unique, primary key located on PRIMARY Counter

RCRecExc_RCRec nonclustered located on PRIMARY RCRecCounter, Start

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 259

Page 260: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCRecMst DescriptionResource Calendar table for resource quantities used in recuring events

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCRecCounter Links to RCRec int NO RCRec.CounterRCMstCounter Links to RCMst int NO RCMst.CounterQty Quantity int NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCRecMst__0666AFE812149A71

nonclustered, unique, primary key located on PRIMARY Counter

RCRecMst_RCCalCounter nonclustered located on PRIMARY RCRecCounter, RCMstCounterRCRecMst_RCMstCounter nonclustered located on PRIMARY RCMstCounter, RCRecCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 260

Page 261: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCRecPrf DescriptionResource Calendar table for recurring events profiles

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORCRecCounter Links to RCRec int NO RCRec.CounterRCPrfCounter Links to RCPrf int NO RCPrf.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCRecPrf__0666AFE817CD73C7

nonclustered, unique, primary key located on PRIMARY Counter

RCRecPrf_RCRec nonclustered located on PRIMARY RCRecCounter, RCPrfCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 261

Page 262: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RCView DescriptionResource Calendar table for selection views

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(50) NOResourceSelections Resource selections text(2147483647) NOProfileSelections profile selections text(2147483647) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RCView__0666AFE861E66462 nonclustered, unique, primary key located on PRIMARY CounterRCView_Descr nonclustered located on PRIMARY Descr, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 262

Page 263: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

REDetail DescriptionReceipting table containing detail lines from each receipt.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOEntryCounter Links to REEntry int NO REEntry.CounterFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu General ledger account int NO GLAcct.AcctNuProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterDescr Description for receipt line varchar(50) YESAmount Amount for this line of receipt money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsREDetail_Entries nonclustered located on PRIMARY EntryCounter, DeptNu, AcctNuREDetail_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 263

Page 264: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

REEntry DescriptionReceipting table containing heading information for each receipt.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuFundNu General ledger fund smallint NO GLAcct.FundNuDeptNu General ledger department smallint NO GLAcct.DeptNuAcctNu General ledger account int NO GLAcct.AcctNuNameCounter GlobaFILE Name ID int NO NANames.AcctNuReceiptNu Receipt # int NOREDate Receipt date datetime YESPurpose1 Purpose of receipt line 1 varchar(35) YESPurpose2 Purpose of receipt line 2 varchar(35) YESARTotalAmount Total amount to AR money NOTotalAmount Total Amount money NOCheckNu Check number varchar(15) YESPosted Boolean for whether this receipt is posted to general

ledger. 0) no, -1) yessmallint NO

WhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsREEntry_CoNu nonclustered located on PRIMARY CoNu, ReceiptNuREEntry_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterREEntry_ReceiptNu nonclustered located on PRIMARY Posted, CoNu, FundNu, DeptNu, AcctNu, ReceiptNu

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [REDetail].[EntryCounter]

7/9/2014 Shelby v5 Table Layout Page 264

Page 265: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

REPrefs DescriptionReceipting table containing the preferences for each company.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NO SSCo.CoNuFeedAR Boolean to indicate whether or not to write entries to AR smallint NOLastReceiptNu Last Receipt # int NOPrePrinted Boolean to indicate whether the receipts are preprinted smallint NOPrintOnDemand Boolean to indicate whether the receipts are printed on

demandsmallint NO

UnAppliedCashRevCenter Unapplied Cash Revenue Center int NO ARRevCenter.RevCenterUnAppliedCashSource Unapplied Cash Source int NO ARSource.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK_REPrefs nonclustered, unique, primary key located on PRIMARY CoNu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 265

Page 266: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGCancel DescriptionRegistrations lookup table of cancellation reasons.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(20) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGCancel_Descr nonclustered located on PRIMARY DescrRGCancel_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGReg].[Cancel]

7/9/2014 Shelby v5 Table Layout Page 266

Page 267: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGEve DescriptionRegistrations table of events.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOName Name of event varchar(40) YESLocation Links to RGLocation int NO RGLocation.CounterBeginning Beginning date/time for event datetime YESEnding Ending date/time for event datetime YESCoNu Company # smallint NO SSCo.CoNuRevCenter Links to ARRevCenter int NO ARRevCenter.RevCenterReceipts Boolean for whether to print receipts for registrants of

this events. 0) no, -1) yessmallint NO

Inactive Boolean to indicate records status smallint NOAutoProfile Profile that is added to the registrant. varchar(8) NOAutoProfileComment Comment placed in the auto profile varchar(60) NOFeeMin Minimum fees per registrant money NOFeeMax Maximum fees per registrant money NOCheckResp Boolean indicates check for responsible parties when

saving 0)No, -1)Yessmallint NO

IncomeDeptNu General ledger department smallint NO GLAcct.DeptNuIncomeAcctNu General ledger account int NO GLAcct.AcctNuProject Links to SSProject int NO SSProject.ProjectCounterMaxM Maximum # of males smallint NOMaxF Maximum # of females smallint NOMaxInd Maximum # of individuals smallint NOSecured Boolean to indicate whether an event is secured 0) no or

-1) yessmallint NO

Memo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGEve_Name nonclustered located on PRIMARY Name, CounterRGEve_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [NAProfiles].[Event]

[RGEveAct].[Event][RGEveCat].[Event][RGEveCatSel].[Event][RGEveSec].[RGEveCounter][RGReg].[Event][RGRegCatIndCustSetup].[RGEveCounter]

7/9/2014 Shelby v5 Table Layout Page 267

Page 268: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGEveAct DescriptionRegistrations table of activities per event.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOEvent Links to RGEve int NO RGEve.CounterDescr Description varchar(30) YESIncomeDeptNu General ledger department to journalize fees to smallint NO GLAcct.DeptNuIncomeAcctNu General ledger account to journalize fees to int NO GLAcct.AcctNuProject Links to SSProject int NO SSProject.ProjectCounteFee Fees for this activity money NOAutoAll Boolean for whether to automatically enroll each

registrant for this activity 0) no or -1) yessmallint NO

FeeChangeable Boolean for whether to allow you th change the feewhen entering charges

smallint NO

Memo varchar(4096) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGEveAct_Event nonclustered located on PRIMARY Event, Descr, CounterRGEveAct_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGEveActAut].[Activity]

[RGEveActAut].[Category][RGEveActTim].[EveActCounter][RGRegCatIndAct].[Activity]

7/9/2014 Shelby v5 Table Layout Page 268

Page 269: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGEveActAut DescriptionRegistrations table of activities to automatically set up for particular categories.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOActivity Links to RGEveAct int NO RGEveAct.CounterCategory Links to RGEveCat int NO RGEveAct.CounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGEveActAut_Category nonclustered located on PRIMARY Category, Activity, CounterRGEveActAut_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 269

Page 270: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGEveActTim DescriptionRegistrations table for times of activities.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOEveActCounter Links to RGEveAct int NO RGEveAct.CounterLocation Links to RGLocation int NO RGLocation.CounterStart Starting date/time datetime YESRGEnd Ending date/time datetime YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGEveActTim_EveActCounter nonclustered located on PRIMARY EveActCounter, CounterRGEveActTim_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGRegCatIndAct].[ActivityTime]

7/9/2014 Shelby v5 Table Layout Page 270

Page 271: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGEveCat DescriptionRegistrations table of event categories.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOEvent Links to RGEve int NO RGEve.CounterDescr Description varchar(30) YESFee Fee for this activity money NOIncomeDeptNu General ledger department # smallint NO GLAcct.DeptNuIncomeAcctNu General ledger account # int NO GLAcct.AcctNuProject Links to SSProject int NO SSProject.ProjectCounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGEveCat_Event nonclustered located on PRIMARY Event, CounterRGEveCat_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 271

Page 272: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGEveCatSel DescriptionTable that gets inserted to when a user selects the specific categories to export to WebView

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter auto number int NODescr The description for the category the user selected varchar(30) YESEvent What event the category is attached to int NO RGEve.CounterFee The fee associated with the category money NOIncomeAcctNu General ledger account # int NO GLAcct.AcctNuIncomeDeptNu General ledger department # smallint NO GLAcct.DeptNuProject Links to SSProject int NO SSProject.ProjectCounter

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 272

Page 273: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGEveSec DescriptionRegistrations table for event security.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORGEveCounter Link to RGEve for Event int NO RGEve.CounterLoginName Login Name varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGEveSec_LoginName nonclustered, unique located on PRIMARY LoginName, RGEveCounterRGEveSec_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 273

Page 274: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGHotel DescriptionRegistrations lookup table of hotels.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(20) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGHotel_Descr nonclustered located on PRIMARY DescrRGHotel_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGReg].[Hotel]

7/9/2014 Shelby v5 Table Layout Page 274

Page 275: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGLocation DescriptionRegistrations lookup table of locations.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Location description varchar(40) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGLocation_Descr nonclustered located on PRIMARY DescrRGLocation_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGEve].[Location]

[RGEveActTim].[Location]

7/9/2014 Shelby v5 Table Layout Page 275

Page 276: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGPosition DescriptionRegistrations lookup table of individual positions. Used for name badges

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description of position varchar(30) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGPosition_Descr nonclustered located on PRIMARY DescrRGPosition_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGRegCatInd].[RGPosition]

7/9/2014 Shelby v5 Table Layout Page 276

Page 277: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGReg DescriptionRegistrations table of registration per event.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOEvent Links to RGEve int NO RGEve.CounterNameCounter GlobaFILE Name ID int NO NANames.NameCounterArrive Date/time of arrival datetime YESDepart Date/time of departure datetime YESRegistered Registration date datetime YESOneTime Boolean whether this is a one time event. 0) no -

example is Wednesday night supper that happens everyweek, -1) yes

smallint NO

PostedAR Boolean to indicate posted to AR smallint NOVIP Links to RGVIP for description int NO RGVIP.CounterHotel Links to RGHotel for description int NO RGHotel .CounterEmergencyName Name of emergency contact varchar(40) YESEmergencyPhone Emergency Phone varchar(20) YESCancel Links to RGCancel for description int NO RGCancel.CounterCancelDate Date of cancellation datetime YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGReg_Event nonclustered located on PRIMARY Event, NameCounterRGReg_NameCounter nonclustered located on PRIMARY NameCounter, EventRGReg_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGRegAssociated].[RGRegCounter]

[RGRegCat].[RegCounter][RGRegPay].[RegCounter][RGRegRsp].[RegCounter]

7/9/2014 Shelby v5 Table Layout Page 277

Page 278: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGRegAssociated Description

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto number primary key int NORGRegCounter Links to RGReg int NO RGReg.CounterDescr The description the user assigns to the associated file varchar(50) NOImageNu Image number int NOWhenUpdated When this record was updated datetime NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__RGRegAss__0666AFE86423B28F

nonclustered, unique, primary key located on PRIMARY Counter

RGRegAssociated_RGRegCounter nonclustered located on PRIMARY RGRegCounter, Descr

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 278

Page 279: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGRegCat DescriptionRegistrations table of categories for each registrant.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORegCounter Links to RGReg int NO RGReg.CounterCategory Links to RGEveCat int NO RGEveCat.CoiunterNuAttend # attending on this category smallint NOTotalFee Total fees for this category money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGRegCat_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterRGRegCat_RegCounter nonclustered located on PRIMARY RegCounter, Category

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGRegCatInd].[RegCatCounter]

7/9/2014 Shelby v5 Table Layout Page 279

Page 280: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGRegCatInd DescriptionRegistrations table of individuals by categories.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORegCatCounter Links to RGRegCat int NO RGRegCat.CounterNameCounter GlobaFILE Name ID or 0 if not in GlobaFILE int NO NANames.CounterBadgeName Badge Name varchar(40) YESRGPosition Links to RGPosition for description int NO RGPosition.CounterNameBadge Boolean whether to print name badge for this individual

or not. 0) no, -1) yessmallint NO

CheckedIn Boolean 0) not or 1) is bit NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGRegCatInd_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterRGRegCatInd_RegCatCounter nonclustered located on PRIMARY RegCatCounter, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGRegCatIndAct].[RegCatIndCounter]

[RGRegCatIndCust].[RGRegCatIndCounter]

7/9/2014 Shelby v5 Table Layout Page 280

Page 281: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGRegCatIndAct DescriptionRegistrations table of activities each individual assigned to.

FIELDS:Field Name Description Data Type Null? Foreign KeyRegCatIndCounter Links to RGRegCatInd int NO RGRegCatInd.CounterActivity Links to RGEveAct int NO RGEveAct.CounterActivityTime Links to RGEveActTim int NO RGEveActTim.CounterFee Fee assigned to each activity assigned to each individual money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGRegCatIndAct_Activity nonclustered located on PRIMARY Activity, RegCatIndCounterRGRegCatIndAct_PrimaryKey nonclustered, unique, primary key located on PRIMARY RegCatIndCounter, Activity

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 281

Page 282: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGRegCatIndCust DescriptionCustom information for registrations individuals

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase Primary Key int NORGRegCatIndCounter Counter of RGRegCatInd int NO RGRegCatInd.CounterRGRegCatIndCustSetupCounter

Counter of RGRegCalIndCustSetup int NO RGRegCatIndCustSetup.Counter

Value Value of Custom field int NOTStamp Date Time Stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__RGRegCat__0666AFE814C6E9EA

nonclustered, unique, primary key located on PRIMARY Counter

RGRegCatIndCust_RGRegCatIndCounter

nonclustered located on PRIMARY RGRegCatIndCounter, RGRegCatIndCustSetupCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 282

Page 283: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGRegCatIndCustSetup DescriptionCustom information setup for individuals registered

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increasing Primary Key int NORGEveCounter Counter of RGEve int NO RGEve.CounterDescr Description varchar(50) YESType Type smallint NOIndex Index int NOLeft Left int NOTop Top int NOTStamp Time Stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__RGRegCat__0666AFE810F65906

nonclustered, unique, primary key located on PRIMARY Counter

RGRegCatIndCustSetup_RGEveCounter

nonclustered located on PRIMARY RGEveCounter, Top, Left

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGRegCatIndCust].[RGRegCatIndCustSetupCounter]

7/9/2014 Shelby v5 Table Layout Page 283

Page 284: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGRegPay DescriptionRegistrations table of unposted payments.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOResponsibleParty Responsible party. Links to RGRegRsp int NO RGRegRsp.CounterRegCounter Registrant int NO RGReg.CounterCheckNu Check # varchar(15) YESRGDate Check date datetime YESAmount Amount Paid money NOReceipt Print receipt 0) Yes immediately, 1) Yes at update of

batch, 2) nosmallint NO

WhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGRegPay_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterRGRegPay_RegCounter nonclustered located on PRIMARY RegCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 284

Page 285: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGRegRsp DescriptionRegistrations table of responsible parties for a registrant.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NORegCounter Link to RGReg for registrant int NO RGReg.CounterNameCounter GlobaFILE Name ID int NO NANames.NameCounterAmount Portion this responsible for money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGRegRsp_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterRGRegRsp_RegCounter nonclustered located on PRIMARY RegCounter, NameCounter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGRegPay].[ResponsibleParty]

[RGRegRspInv].[RegRspCounter]

7/9/2014 Shelby v5 Table Layout Page 285

Page 286: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGRegRspInv DescriptionRegistrations table of accounts receivable invoices posted to against responsible parties.

FIELDS:Field Name Description Data Type Null? Foreign KeyRegRspCounter Links to RGRegRsp int NO RGRegRsp.CounterInvCounter Link to AR Invoice int NO ARInv.HeaderCounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGRegRspInv_PrimaryKey nonclustered, unique, primary key located on PRIMARY RegRspCounter, InvCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 286

Page 287: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RGVIP DescriptionRegistrations lookup table of VIP information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(20) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRGVIP_Descr nonclustered located on PRIMARY DescrRGVIP_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RGReg].[VIP]

7/9/2014 Shelby v5 Table Layout Page 287

Page 288: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RMAct DescriptionRemittance table for activities to distribute to

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuSequence Sequence #. Used to align activities for reports int NODescription Description varchar(50) YESActive Boolean for whether active or not. 0) no or -1) yes smallint NOTotalLevel Total level for reporting purposes (0-99) smallint NOFundNu General ledger fund # smallint NO GLAcct.FundNuBankAcctNu General ledger account # int NO GLAcct.AcctNuVendor Links to APVnd. If not zero the intent is to distribut

eremittance to third parties via recurring payments inaccounts payable. An example would be remitancesmade to individual missionary accounts.

int NO APVendor.VendorNu

VendorRef Reference used to put on vendor's check varchar(40) YESSTItmCounter Links to STItm. Used to automatically update

remittances to statistics.int NO STItm.STItmCounter

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRMAct_PrimaryKey nonclustered, unique, primary key located on PRIMARY CounterRMAct_Sequence nonclustered located on PRIMARY CoNu, Sequence, Description, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RMActPct].[ActCounter]

[RMActSts].[ActCounter][RMHstDet].[ActCounter][RMPlg].[ActCounter]

7/9/2014 Shelby v5 Table Layout Page 288

Page 289: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RMActPct DescriptionRemittance table containing % distribution for journal entries. Used with RMAct

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOActCounter Links to RMAct int NO RMAct.CounterIncomeFundNu General ledger fund # smallint NO GLAcct.FundNuIncomeDeptNu General ledger department # smallint NO GLAcct.DeptNuIncomeAcctNu General ledger account # int NO GLAcct.AcctNuRMPercent % of remittance to post to this general ledger # float NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRMActPct_ActCounter nonclustered located on PRIMARY ActCounter, CounterRMActPct_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 289

Page 290: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RMActSts DescriptionRemittance table containing account statistic information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOActCounter Link to Activity int NO RMAct.CounterSTItmCounter Link to Statistics Item int NO STItm.STItmCounterRMPercent Percent float NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRMActSts_ActCounter nonclustered located on PRIMARY ActCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 290

Page 291: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RMHst DescriptionRemittance table for all remittances. Uses RMHstDet to get detail distributions.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # int NO SSCo.CoNuNameCounter GlobaFILE Name ID int NO NANames.NameCounterCheckNu Check # varchar(15) YESCheckDate Check Date datetime YESReportingPeriod Reporting period. MM/YYYY used to post to a reporting

period other than based on check date.datetime YES

CheckAmount Check Amount money NOPosted Boolean for whether posted to general ledger of not. 0)

no, -1) yessmallint NO

MICRImgCounter Link to MICR Image int NO ShelbydbDocs.MICRImages.CounterTitheReported Amount of Tithe reported money NOMemo text(2147483647) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRMHst_NameCounter nonclustered located on PRIMARY Posted, CoNu, NameCounter, CheckDate, CounterRMHst_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RMHstDet].[HstCounter]

7/9/2014 Shelby v5 Table Layout Page 291

Page 292: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RMHstDet DescriptionRemittance table containing remittance distributions

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOHstCounter Links to RMHst for header information on this remittance int NO RMHst.CounterActCounter Links to RMAct for activity information int NO RMAct.CounterPlgCounter Links to RMPlg for pledge information. Equals 0 if

nonpledgedint NO RMPlg.Counter

Amount Amount money NOProjectCounter Links to SSProject for description int NO SSProject.ProjectCounterNuMonths # of months if remittance is going to APRecur for

payment on a recurring basis. Requires RMAct to havea vendor assigned

smallint NO

StartDate Starting date if remittance is going to APRecur datetime YES NANames.NameCounterSubDonor Sub-Donor is applicable, 0 if not applicable. Usually

used to give credit to person/organization other than oneremitting.

int NO

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRMHstDet_HstCounter nonclustered located on PRIMARY HstCounter, CounterRMHstDet_PlgCounter nonclustered located on PRIMARY PlgCounter, CounterRMHstDet_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 292

Page 293: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

RMPlg DescriptionRemittance table containing pledges

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOCoNu Company # smallint NO SSCo.CoNuNameCounter GlobaFILE Name ID int NO NANames.NameCounterActive Boolean for whether this pledge is active. 0) no, -1) yes smallint NOActCounter Links to RMAct for activity code information int NO RMAct.CounterBeginDate Beginning date of pledge datetime YESEndDate Ending date of pledge datetime YESPayPerYear Frequency of pledge. 52) Weekly, 26) Biweekly, 24)

SemiMonthly, 12) Monthly, 6) BiMonthly, 4) Quarterly, 2)SemiAnnual, 1) Annual

smallint NO

Duration Duration of pledge based on frequency smallint NOPledge Total pledge money NOMemo text(2147483647) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsRMPlg_NameCounter nonclustered located on PRIMARY CoNu, NameCounter, ActCounter, BeginDate, CounterRMPlg_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [RMHstDet].[PlgCounter]

7/9/2014 Shelby v5 Table Layout Page 293

Page 294: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SEContacts DescriptionServant table containing contact information

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONameCounter Name - Link to NANames int NO NANames.NameCounterSEMinistryPositionsCounter

Ministry Position - Link to SEMinistryPositions int NO SEMinistryPositions.Counter

DateNeeded Date Needed datetime YESDateDone Date Done datetime YESContactResultCounter Contact Result links to SETextPicks where type =

ContactResint NO SETextPicks.Counter

Notes Notes text(2147483647) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SEContac__0666AFE832B6742D

nonclustered, unique, primary key located on PRIMARY Counter

SEContacts_Ministry nonclustered located on PRIMARY SEMinistryPositionsCounter, DateNeeded

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 294

Page 295: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SELeaders DescriptionServant table containing the leaders used in ministries and positions

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOLeader Name of leader varchar(50) NOPhoneNu Contact phone # of leader varchar(20) NOEMailAddress Contact email address for leader varchar(128) NOLogin Login Name if mapped to a user login else blank varchar(50) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSELeaders_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SEMinistry].[SELeadersCounter]

[SEMinistryPositions].[SELeadersCounter]

7/9/2014 Shelby v5 Table Layout Page 295

Page 296: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SEMinistry DescriptionServant table containing the ministry information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODeptCounter Department int NO SETextPicks.DescrDescr Description varchar(50) NOSELeadersCounter Servant leader counter int NO SELeaders.CounterDaysToFollowup Days to follow up smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SEMinist__0666AFE811558062

nonclustered, unique, primary key located on PRIMARY Counter

SEMinistry_DeptCounter nonclustered located on PRIMARY DeptCounter, Descr

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SEMinistryPositions].[SEMinistryCounter]

7/9/2014 Shelby v5 Table Layout Page 296

Page 297: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SEMinistryPositions DescriptionServant table containing ministry position information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSEMinistryCounter Ministry int NO SEMinistry.CounterPosition Position varchar(50) NOSELeadersCounter Servant leader counter int NO SELeaders.CounterDescr Position description text(2147483647) NOSchedule Position schedule text(2147483647) NOSpiritualMaturityMinimum Spiritual Maturity Minimum smallint NOMembersOnly Boolean to indicate Members Only smallint NOGenderSpecific Boolean to indicate Gender Specific 0) not specified 1)

male 2) femalesmallint NO

AgeMin Minimum age needed smallint NOAgeMax Maximum age needed smallint NONeeded Needed smallint NOEnrolledProfile Enrolled Profile varchar(8) NOWeight Weight smallint NOUseSchedule Boolean to indicate whether or not to Use Schedule smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SEMinist__0666AFE81ADEEA9C

nonclustered, unique, primary key located on PRIMARY Counter

SEMinistryPositions_MinistryCounter nonclustered located on PRIMARY SEMinistryCounter, Position

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SEContacts].[SEMinistryPositionsCounter]

[SEMinistryPositionsCriteria].[SEMinistryPositionsCounter]

7/9/2014 Shelby v5 Table Layout Page 297

Page 298: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SEMinistryPositionsCriteria DescriptionServant table containing survey information and whether a trait is desired or required.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSEMinistryPositionsCounter

Ministry Position int NO SEMinistryPositions.Counter

SESurveySetupCounter Survey Setup int NORequired Boolean to indicate whether or not Required 0) desired

trait -1) required traitsmallint NO SESurveySetup.Counter

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SEMinist__0666AFE82C09769E

nonclustered, unique, primary key located on PRIMARY Counter

SEMinistryPositionsCriteria_MinistryPositions

nonclustered located on PRIMARY SEMinistryPositionsCounter, SESurveySetupCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 298

Page 299: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SEMinistryPositionsSchedule DescriptionServant table containing the positions schedule.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSEMinistryPositionsCounter

Ministry Position int NO SEMinistryPostions.Counter

DayOfWeek Day of Week 0) Monday 1) Tuesday 2) Wednesday 3)Thursday 4) Friday 5) Saturday 6) Sunday

smallint NO

StartTime Start Time in # of minutes from midnight smallint NOEndTime End Time in # of minutes from midnight smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SEMinist__0666AFE841F8B7BD

nonclustered, unique, primary key located on PRIMARY Counter

SEMinistryPositionsSchedule_SEMinistryPositions

nonclustered located on PRIMARY SEMinistryPositionsCounter, DayOfWeek, StartTime

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SEServantSchedule].[SEMinistryPositionsScheduleCou

nter]

7/9/2014 Shelby v5 Table Layout Page 299

Page 300: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SEOtherInfoSetup DescriptionServant table containing Additional setup information found in Survey information setup (leadership tab)

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOPosX Map point X axis real NOPosY Map point Y axis real NOCustomCToMatch Custom Comment Counter with type of c int NO NACustomInfo.FieldIndexCustomTToMatch Custom alpha - numeric Counter with type of t int NO NACustomInfo.FieldIndexCustomDToMatch Custom date Counter with type of d int NO NACustomInfo.FieldIndexTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SEOtherI__0666AFE808C03A61

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 300

Page 301: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SEPrefs DescriptionServant table containing the preferences for the servant module.

FIELDS:Field Name Description Data Type Null? Foreign KeySGOrgCounter Links to Membership Organization int NO SGOrg.CounterTestimonyProfile Testimony Profile varchar(8) NOTestimonySecurity Testimony Security smallint NOAvailabilityProfile Availability Profile varchar(8) NOAvailabilitySecurity Availability Security smallint NOMaxMatches Maximum Matches int NOPosCapturePath Path to position information capture sheet varchar(255) NOSpiritualGiftsDescr Spiritual Gifts Description - User defined varchar(50) NOEmailServant Boolean to Option to allow/disallow email directly to

servant by default 0)No, -1)Yesbit NO

PersonalStyleDescr Personal Style Description - User defined varchar(50) NOPassionsDescr Passions Description - User defined varchar(50) NOSkillsDescr Skills Description - User defined varchar(50) NOSurveyInfoDescr Survey Information Description - User defined varchar(50) NOLeadershipInfoDescr Leadership Information Description - User defined varchar(50) NOSpiritualMaturityDescr Spiritual Maturity Description - User defined varchar(50) NODepartmentDescr Department description - User defined varchar(50) NOMinistryDescr Ministry description - User defined varchar(50) NOSpiritualMaturity01 Spiritual Maturity 01 varchar(50) NOSpiritualMaturity02 Spiritual Maturity 02 varchar(50) NOSpiritualMaturity03 Spiritual Maturity 03 varchar(50) NOSpiritualMaturity04 Spiritual Maturity 04 varchar(50) NOSpiritualMaturity05 Spiritual Maturity 05 varchar(50) NOSpiritualMaturity06 Spiritual Maturity 06 varchar(50) NOSpiritualMaturity07 Spiritual Maturity 07 varchar(50) NOSpiritualMaturity08 Spiritual Maturity 08 varchar(50) NOSpiritualMaturity09 Spiritual Maturity 09 varchar(50) NOSpiritualMaturity10 Spiritual Maturity 10 varchar(50) NOEMailServer Email Server varchar(50) NOEMailFromAddress Email From Address varchar(50) NOEMailDisplayName Email Display Name varchar(50) NOEMailUserName Email User Name varchar(50) NOEMailPassword Email Password varchar(50) NOHTMLCounselor Path for HTML file used for mail merge email to the

Counselorvarchar(255) YES

HTMLVolunteer Path for HTML file used for mail merge email to theVolunteer

varchar(255) YES

TStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SEPrefs__D5C760C45BED93EA

nonclustered, unique, primary key located on PRIMARY SGOrgCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 301

Page 302: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SEServant DescriptionServant table containing the demographic information

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONameCounter Link to NANames int NO NANames.NameCounterDateScheduled Date Scheduled datetime YESCounselorCounter Counselor links to SETextPicks with a type of Counselor int NO SETextPicks.CounterSpiritualMaturity Spiritual Maturity smallint NODateSpiritualMaturity Date spiritual maturity set datetime YESDateSurvey Date survey taken datetime YESSessionNotes Session Notes text(2147483647) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SEServan__0666AFE83A5795F5

nonclustered, unique, primary key located on PRIMARY Counter

SECounselorNotes_Counselor nonclustered located on PRIMARY CounselorCounter, DateScheduledSECounselorNotes_NameCounter nonclustered located on PRIMARY NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 302

Page 303: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SEServantSchedule DescriptionServant table containing the schedule information

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONameCounter Name - Link to NANames int NO NANames.NameCounterSEMinistryPositionsScheduleCounter

Ministry Positions Schedule - Link toSEMinistryPostionsSchedule

int NO SEMinistryPositionsSchedule.Counter

Weekly Weekly smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SEServan__0666AFE84999D985

nonclustered, unique, primary key located on PRIMARY Counter

SEServantSchedule_NameCounter nonclustered located on PRIMARY NameCounter, SEMinistryPositionsScheduleCounterSEServantSchedule_SEMinistryPositionsSchedule

nonclustered located on PRIMARY SEMinistryPositionsScheduleCounter, NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 303

Page 304: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SESurveySetup DescriptionServant table containing the Survey setup information.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOType Type 0) Spiritual Gifts, 1) Personal Styles, 2) Passions,

and 3) Skillssmallint NO

Position Position int NOFieldName Field Name varchar(50) NOProfileToMatch Profile To Match varchar(8) NOCustomCToMatch Custom check box to match int NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SESurvey__0666AFE8002AF460

nonclustered, unique, primary key located on PRIMARY Counter

SESurveySetup_TypePosition nonclustered located on PRIMARY Type, Position

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SEMinistryPositionsCriteria].[Required]

7/9/2014 Shelby v5 Table Layout Page 304

Page 305: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SETextPicks DescriptionServant table containing look up values for the servant module.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOType Type varchar(12) NODescr Description varchar(40) NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SETextPi__0666AFE87A721B0A

nonclustered, unique, primary key located on PRIMARY Counter

SETextpicks_Descr nonclustered located on PRIMARY Type, Descr

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SEContacts].[ContactResultCounter]

[SEServant].[CounselorCounter]

Descr [SEMinistry].[DeptCounter]

7/9/2014 Shelby v5 Table Layout Page 305

Page 306: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGCustGrp DescriptionGroup table for custom Information for groups

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(50) YESType Type smallint NOSGOrgCounter Counter for SGOrg Table int NO SGOrg.CounterIndex Index int NOLeft Left int NOTop Top int NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGCustGr__0666AFE80DC4E6A0

nonclustered, unique, primary key located on PRIMARY Counter

SGCustGrp_SGOrgCounter nonclustered located on PRIMARY SGOrgCounter, Top, Left

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SGOrgGrpCust].[SGCustGrpCounter]

7/9/2014 Shelby v5 Table Layout Page 306

Page 307: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGCustGrpSel DescriptionTable in Small Groups for Custom Information for Groups

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increasing Primary Key int NOSGOrgCounter Counter of SGOrg int NO SGOrg.CounterType Type smallint NODescr Description varchar(30) NOIndex Index int NOLeft Left int NOTop Top int NO

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 307

Page 308: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGCustMem DescriptionGroups table for custom information for members

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Description varchar(50) YESType Type smallint NOSGOrgCounter Counter for SGOrg Table int NO SGOrg.CounterIndex Index int NOLeft Left int NOTop Top int NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGCustMe__0666AFE811957784

nonclustered, unique, primary key located on PRIMARY Counter

SGCustMem_SGOrgCounter nonclustered located on PRIMARY SGOrgCounter, Top, Left

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SGMstOrgCust].[SGCustMemCounter]

7/9/2014 Shelby v5 Table Layout Page 308

Page 309: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGCustMemSel DescriptionSmall Groups Table for Custom Information for Members

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increasing Primary Key int NOSGOrgCounter Counter for SGOrg int NO SGOrg.CounterType Type smallint NODescr Description varchar(30) NOIndex Index int NOLeft Left int NOTop Top int NO

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 309

Page 310: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGMstOrg DescriptionMembership table for organization assignments to members.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterSGOrgCounter Links to SGOrg int NO SGOrg.CounterSGOrgGrpCounter Links to SGOrgGrp int NO SGOrgGrp.CounterLeadershipCounter Links to MBTextPicks. Type = 'Leader' int NO MBTextPicks.CounterEnrolled Boolean for whether this person is enrolled as a member

or prospect of class. 0) prospect, -1) membersmallint NO

Attendance Boolean for whether attendance is tracked for thisrecord. 0) no, -1) yes

smallint NO

DateJoined Date enrolled datetime YESSponsorNameCounter Sponsor's GlobaFILE Name ID int NO NANames.NameCounterActive Boolean for whether this person is Active 0) No, -1) Yes smallint NOIsPrimary Boolean for whether this group is the primary group. 0)

No, -1) Yessmallint NO

ReasonInactiveCounter Links to MBTextPicks. Type = 'ReasonInactive' int NO MBTextPicks.CounterPromSGOrgCounter Links to SGOrg int NO SGOrg.CounterPromSGOrgGrpCounter Links to SGOrgGrp int NO SGOrgGrp.CounterMovedToSGMstOrgCounter

Links to SGMstOrg int NO SGMstOrg.Counter

Comments Comments varchar(4096) NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGMstOrg__0666AFE8025333F4

nonclustered, unique, primary key located on PRIMARY Counter

SGMstOrg_MovedToSGMstOrgCounter

nonclustered located on PRIMARY MovedToSGMstOrgCounter

SGMstOrg_NameCounter nonclustered located on PRIMARY NameCounter, SGOrgCounter, SGOrgGrpCounter, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SGMstOrg].[MovedToSGMstOrgCounter]

[SGMstOrgAtt].[SGMstOrgCounter][SGMstOrgAttEnt].[SGMstOrgCounter][SGMstOrgCust].[SGMstOrgCounter]

7/9/2014 Shelby v5 Table Layout Page 310

Page 311: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGMstOrgAtt DescriptionAttendance Table for posted attendance

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSGMstOrgCounter Links to SGMstOrg int NO SGMstOrg.CounterSGOrgGrpDatCounter Links to SGOrgGrpDat int NO SGOrgGrpDat.CounterSGAttTyp Attendance Type char(1) NOContacted Boolean for whether the person was contacted. 0) No, -

1) Yessmallint NO

Enrolled Boolean for whether to person was Enrolled smallint NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGMstOrg__0666AFE80623C4D8

nonclustered, unique, primary key located on PRIMARY Counter

SGMstOrgAtt_SGMstOrgCounter nonclustered located on PRIMARY SGMstOrgCounter, SGOrgGrpDatCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 311

Page 312: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGMstOrgAttEnt DescriptionAttendance table used while attendance is being entered.

FIELDS:Field Name Description Data Type Null? Foreign KeyMBCounter Auto Number Primary Key int NOSGMstOrgCounter Links to SGMstOrg int NO SGMstOrg.CounterSSUsersCounter Links to SSUsers int NO SSUsers.CounterNameCounter Links to NANames int NO NANames.NameCounterName Individuals Name varchar(50) NOSearchID Search ID varchar(22) NOFamNu FamNu int NO NANames.FamnuUnitNu Position in family: 0=Head of House, 1=Spouse,

2=Child, 3=Othersmallint NO

Pos Position in family description varchar(10) NORecordType Record Type varchar(20) NORelationship Membership Relationship varchar(20) NOAdr1 Address line 1 varchar(35) NOHHLastName Head of House last name varchar(52) NOHHFirstMiddle Head of House first name varchar(52) NOMBExists Boolean for whether the enrolled status is Null. 0) Yes, -

1) Nosmallint NO

Enrolled Boolean for whether the individual is enrolled. 0) No, -1)Yes

smallint NO

FileAtt Attendance type in database char(1) NOChanged Boolean for whether the attendance record has changed smallint NONewAtt New attendance type for the individual (What the

attendance type has been changed to.)char(1) NO

INDEXES:Index Name Description Key ColumnsPK__SGMstOrg__087F14A97A08D20D

nonclustered, unique, primary key located on PRIMARY MBCounter

SFMstOrgAttEnt_SSUsersCounter nonclustered located on PRIMARY SSUsersCounter, MBCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 312

Page 313: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGMstOrgCust DescriptionSmall Groups Table for Custom information for the Master Organization

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Primary Key Auto Increase int NOSGMstOrgCounter Counter for SGMstOrg Table int NO SGMstOrg.CounterSGCustMemCounter Counter for SGCustMem Table int NO SGCustMem.CounterValue Value for custom information int NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGMstOrg__0666AFE81C9D15DC

nonclustered, unique, primary key located on PRIMARY Counter

SGMstOrgCust_SGMstOrgCounter nonclustered located on PRIMARY SGMstOrgCounter, SGCustMemCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 313

Page 314: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGOrg DescriptionMembership table for organizations.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NODescr Name of Organization varchar(50) NOLevels Number of levels for this organization smallint NOLevel5Descr Level 5 Description varchar(20) NOLevel4Descr Level 4 Description varchar(20) NOLevel3Descr Level 3 Description varchar(20) NOLevel2Descr Level 2 Description varchar(20) NOLevel1Descr Level 1 Description varchar(20) NOGroupDescr Group Description varchar(20) NOAutoAssignID Boolean for whether to Auto Assign the Level ID's smallint NOAttendance Boolean for whether attendance is tracked for this

organization. 0) no, -1) yessmallint NO

MeetingFreq Meeting frequency. 0) Meets Weekly, 1) Meets MonthlySame Date, 2) Meets Periodically, 3) Meets MonthlySame Day, 4) Meets Daily, 5) Individual Groups AssignOwn Schedule

smallint NO

EnterTab How was attendance last entered for this organization?0) by name or 1) name ID

smallint NO

DefaultMarkAs What attendance mark was used to mark enterattendance last time?

char(1) NO

DefaultUnMarked What attendance mark was used as the default for thelast time attendance was entered?

char(1) NO

CongrCounter OUMstCounter from OUMst table int NO OUMst.CounterDayOfWeek Day the group meets smallint NOStartTime Time the meeting starts smallint NOWhenSetup When this record was initially set up datetime NOWhenUpdated When this record was updated datetime NOWhoSetup Who initially set up this record varchar(50) NOWhoUpdated Who updated this record varchar(50) NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGOrg__0666AFE86B6FCE9C nonclustered, unique, primary key located on PRIMARY CounterSGOrg_Descr nonclustered located on PRIMARY Descr, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [MBRCHTeam].[SGOrgCounter]

[NUMultiOrgSelect].[SGOrgCounter][NURoomPrint].[SGOrgCounter][SEPrefs].[SGOrgCounter][SGCustGrp].[SGOrgCounter][SGCustGrpSel].[SGOrgCounter][SGCustMem].[SGOrgCounter][SGCustMemSel].[SGOrgCounter][SGMstOrg].[PromSGOrgCounter][SGMstOrg].[SGOrgCounter][SGOrgAttTyp].[SGOrgCounter][SGOrgDat].[SGOrgCounter][SGOrgDev].[SGOrgCounter][SGOrgGrp].[PromSGOrgCounter][SGOrgGrp].[SGOrgCounter][SGOrgLvl].[SGOrgCounter]

7/9/2014 Shelby v5 Table Layout Page 314

Page 315: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGOrgAttTyp DescriptionMembership Table for each organizations attendance types

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSGOrgCounter Links to SGOrg int NO SGOrg.CounterCode Attendance Type char(1) NODescr Attendance type description varchar(20) YESTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGOrgAtt__0666AFE8679F3DB8

nonclustered, unique, primary key located on PRIMARY Counter

SGOrgAttTyp_SGOrgCounter nonclustered located on PRIMARY SGOrgCounter, Code, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 315

Page 316: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGOrgDat DescriptionAttendance Table for dates attended

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSGOrgCounter Links to SGOrg int NO SGOrg.CounterSGDate Date group met datetime NOMet Boolean for whether the organization met on that date.

0) No, -1) Yessmallint NO

Comments Comments for that meeting date varchar(4096) NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGOrgDat__0666AFE876E18148

nonclustered, unique, primary key located on PRIMARY Counter

SGOrgDat_SGDate nonclustered located on PRIMARY SGOrgCounter, SGDate, CounterSGOrgDat_SGOrgCounter nonclustered located on PRIMARY SGOrgCounter, SGDate, Met, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [NUChkInStatus].[SGOrgDatCounter]

[NULevelStatus].[SGOrgDatCounter][NURoomStatus].[SGOrgDatCounter][SGOrgGrpDat].[SGOrgDatCounter]

7/9/2014 Shelby v5 Table Layout Page 316

Page 317: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGOrgDev DescriptionAttendance Group Table for Development Steps

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSGOrgCounter Links to SGOrg int NO SGOrg.CounterSeq Order of selected fields smallint NOMBLifCounter Links to MBLif int NO MBLif.MBLifCounterAddToAll Boolean for whether to add to Members when viewing

individual's organization informationsmallint NO

TStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGOrgDev__0666AFE87E82A310

nonclustered, unique, primary key located on PRIMARY Counter

SGOrgDev_SGOrgCounter nonclustered located on PRIMARY SGOrgCounter, Seq, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 317

Page 318: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGOrgGrp DescriptionMembership table for groups

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSGOrgCounter Links to SGOrg int NO SGOrg.CounterSGOrgLvlCounter Links to SGOrgLvl int NO SGOrgLvl.CounterIDGrp Group 8 digit code varchar(8) NODescr Group Description varchar(50) NOActive Boolean for whether the group is active. 0) No, -1) Yes smallint NORollHeading Group's Roll Heading varchar(50) NORoomNu Group's Room Number varchar(10) NOClassMaximum Text Feild to set the maximum allowed enrolled int NOCategoryCounter Links to MBTextPicks. Type = 'GroupCategory

'int NO MBTextPicks.Counter

Started Date group started for groups datetime YESNextMultiply Date for next muliply for groups datetime YESMeetingDay Meeting day for groups smallint NOTimeFrom From time for groups smallint NOTimeTo Time to for group smallint NOMeetingFreq Meeting frequency for group smallint NOPhoneNu Phone Number for group varchar(20) NONAAddressesCounter Links to NAAddresses int NO NAAddresses.AddressCounterEMailAddress Email address for group varchar(50) NOWebAddress Web address for group varchar(96) NOParentSGOrgGrpCounter Links to SGOrgGrp int NO SGOrgGrp.CounterPromSGOrgCounter Links to SGOrg int NO SGOrg.CounterPromSGOrgGrpCounter Links to SGOrgGrp int NO SGOrgGrp.CounterStartClosed Boolean for Level Starts Closed. 0) No -1) Yes int NOWhenSetup When this record was initially set up datetime NOWhenUpdated When this record was updated datetime NOWhoSetup Who initially set up this record varchar(50) NOWhoUpdated Who updated this record varchar(50) NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGOrgGrp__0666AFE87310F064

nonclustered, unique, primary key located on PRIMARY Counter

SGOrgGrp_SGOrgCounter nonclustered located on PRIMARY SGOrgCounter, SGOrgLvlCounter, IDGrp, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [MBRCHTeam].[SGOrgGrpCounter]

[NUQuick].[SGOrgGrpCounter][NURoomStatus].[SGOrgGrpCounter][SGMstOrg].[PromSGOrgGrpCounter][SGMstOrg].[SGOrgGrpCounter][SGOrgGrp].[ParentSGOrgGrpCounter][SGOrgGrp].[PromSGOrgGrpCounter][SGOrgGrpCust].[SGOrgGrpCounter][SGOrgGrpDat].[SGOrgGrpCounter][SGOrgGrpInv].[SGOrgGrpCounter]

7/9/2014 Shelby v5 Table Layout Page 318

Page 319: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGOrgGrpCust DescriptionSmall Groups Table for Custom information for the Groups

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increasing Primary Key int NOSGOrgGrpCounter Counter for SGOrgGrp int NO SGOrgGrp.CounterSGCustGrpCounter Counter for SGCustGrp table int NO SGCustGrp.CounterValue Value of Custom Information int NOTStamp Time Stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGOrgGrp__0666AFE818CC84F8

nonclustered, unique, primary key located on PRIMARY Counter

SGOrgGrpCust_SGOrgGrpCounter nonclustered located on PRIMARY SGOrgGrpCounter, SGCustGrpCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 319

Page 320: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGOrgGrpDat DescriptionAttendance Table for Attendance statistics

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSGOrgDatCounter Links to SGOrgDat int NO SGOrgDat.CounterSGOrgGrpCounter Links to SGOrgGrp int NO SGOrgGrp.CounterMet Boolean for whether the class met. 0) No, -1) Yes smallint NOTopicCounter Links to MBTextPicks. Type = 'Topic' int NO MBTextPicks.CounterLeaderNameCounter Links to NANames int NO NANames.NamesCounterEnrolled Number enrolled int NOMembers Members present int NOVisitors Visitors present int NONewMembers New members present int NOLesson Lesson studied int NOWorship Attended worship service int NOTransfers Transfers int NOTelephoned Telephoned int NOLetters Letters int NOVisits Visits int NOContacts Contacts int NODollars Dollars money NOComments Comments for group varchar(4096) NOWhenUpdated When this record was updated datetime NOWhoUpdated Who updated this record varchar(50) NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGOrgGrp__0666AFE87AB2122C

nonclustered, unique, primary key located on PRIMARY Counter

SGOrgGrpDat_SGOrgDatCounter nonclustered located on PRIMARY SGOrgDatCounter, SGOrgGrpCounter, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SGMstOrgAtt].[SGOrgGrpDatCounter]

7/9/2014 Shelby v5 Table Layout Page 320

Page 321: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGOrgGrpInv DescriptionAttendance table for group involvement

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSGOrgGrpCounter Links to SGOrgGrp int NO SGOrgGrp.CounterSGDate Date datetime NODescr Description varchar(50) NOLeaderNameCounter Links to NANames int NO NANames.NameCounterComments Comments varchar(4096) YESTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGOrgGrp__0666AFE809F455BC

nonclustered, unique, primary key located on PRIMARY Counter

SGOrgGrpInv_SGOrgGrpCounter nonclustered located on PRIMARY SGOrgGrpCounter, SGDate, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 321

Page 322: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SGOrgLvl DescriptionMembership table for group levels

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSGOrgCounter Links to SGOrg int NO SGOrg.CounterLvl Level smallint NOSGOrgLvlAbove Links to SGOrgLvl int NO SGOrgLvl.CounterIDLevel Level's code varchar(8) NOActive Boolean for whether a level is active. 0) No, -1) Yes smallint NODescr Level's description varchar(50) NOLeaderNameCounter Links to NANames int NO NANames.NameCounterUseRoomRatio Boolean to use Room ratio smallint NORatioType Attendees per leader or Attendees per room

Attendees per Leader or Attendees Per Room OptionButton value

smallint NO

AttendeesPerLdr Sets number of Attendees per Leader smallint NOUseDistribution Use Distribution smallint NOUsePagers Use Pagers boolean smallint NOUseSMS Use SMS boolean smallint NOParentCounter Links to SGOrgLvl int NO SGOrgLvl.CounterCongrCounter OUMst Counter int NO OUMst.CounterByAge Use with Chek In to assign people to correct class smallint NOByDate Use with Chek In to assign people to correct class datetime YESBeforeAge Use with Chek In to assign people to correct class smallint NOBeforeDate Use with Chek In to assign people to correct class datetime YESGender Use with Chek In to assign people to correct class varchar(1) YESStartClosed Boolean for Level Starts Closed. 0) No -1) Yes smallint NOTStamp System generated time stamp timestamp NO

INDEXES:Index Name Description Key ColumnsPK__SGOrgLvl__0666AFE86F405F80

nonclustered, unique, primary key located on PRIMARY Counter

SGOrgLvl_Descr nonclustered located on PRIMARY SGOrgLvlAbove, Descr, CounterSGOrgLvl_IDLevel nonclustered located on PRIMARY SGOrgLvlAbove, Lvl, IDLevel, Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SGOrgGrp].[SGOrgLvlCounter]

[SGOrgLvl].[ParentCounter][SGOrgLvl].[SGOrgLvlAbove]

7/9/2014 Shelby v5 Table Layout Page 322

Page 323: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSCellCarriers DescriptionTable used to store cell carrier information

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increment field int NOCarrier Cell carrier varchar(100) YESAddress carrier address after the @ sighn varchar(100) YESDefaultSetup Indicates a default carrier. Carrier was not added by a

usersmallint NO

INDEXES:Index Name Description Key ColumnsSSCellCarriers_Carrier nonclustered located on PRIMARY Carrier, AddressSSCellCarriers_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 323

Page 324: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSClass DescriptionTable used to store vendor class information

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increment field int NOName Name of the vendor class varchar(50) YESModule Module varchar(2) YESMemo varchar(4096) YES

INDEXES:Index Name Description Key ColumnsSSClass_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 324

Page 325: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSCo DescriptionTable containing the companies referenced throughout the financial software.

FIELDS:Field Name Description Data Type Null? Foreign KeyCoNu Company # smallint NOName Company Name varchar(50) YESAddr1 Address line 1 varchar(50) YESAddr2 Address line 2 varchar(50) YESCity City varchar(20) YESState State varchar(5) YESPostalCd Postal/zip code varchar(14) YESCurrentYear Default fiscal year for this company datetime YES GLYear.BeginDateCurrentPeriod Default acconting period for this company smallint NOLengthAcct Lenght of account # (1-9) smallint NOSuppress Boolean for whether to suppress printing accounts on

financial reports that have a zero balance. 0) no, -1) yessmallint NO

UseFund Boolean for whether this company uses funds or not. 0)no, -1) yes

smallint NO

UseDept Boolean for whether this company uses departments ornot. 0) no, -1) yes

smallint NO

ACOMFile Boolean for whether to create check files for the ACOMcheck printing system

smallint NO

FedID Federal ID # for this company varchar(15) YESPhoneNu Phone # varchar(20) YESTaxExmptID Tax exempt ID for this company varchar(15) YESShowBankAcctVerifyPrompt

Boolean for whether to show a prompt to verify the bankaccount number

smallint NO

IncludeCoNu Include company # when printing company name onreports

smallint NO

FinalMemo Boolean for whether to include Entry Memo on FinalReports 0) No or -1) Yes

smallint NO

FinalSetupInfo Boolean for whether to include Entry Setup on FinalReports 0) No or -1) Yes

smallint NO

AllowSubLedgerChange Allow Subledger changes smallint NOMemo varchar(4096) YESCreateBankRecRecord When set to True a BankRec record will be created

when saving the journal entrysmallint NO

WhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSSCo_FedID nonclustered located on PRIMARY FedIDSSCo_PrimaryKey nonclustered, unique, primary key located on PRIMARY CoNuSSCo_TaxExmptID nonclustered located on PRIMARY TaxExmptID

RELATED TABLES:Field Name [Related Table].[Related Field]CoNu [AMMst].[Counter]

[AMMstJournal].[CoNu][APACHDeposit].[ACHCoNu][APCC].[CoNu][APCo].[CoNu][APDistrs].[Descr][APEntry].[CoNu][APVendorTotals].[CoNu][ARACHDeposit].[CoNu][ARInv].[CoNu][ARPay].[CoNu][ARRecur].[CoNu][ARRevCenter].[CoNu][ARTimeClock].[CoNu][ARTimeClockItems].[CoNu][BRAccounts].[CoNu][CKEntry].[CoNu][CMMst].[CoNu][CNACHDeposit].[CoNu][CNBat].[CoNu][CNHstSts].[CoNu][CNMot].[CoNu][CNPlg].[CoNu]

7/9/2014 Shelby v5 Table Layout Page 325

Page 326: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name [Related Table].[Related Field][CNPur].[CoNu][DHPrefs].[CoNu][FAAssets].[CoNu][GFACHDeposit].[CoNu][GFAutoEntry].[CoNu][GFBat].[CoNu][GFHst].[CoNu][GFHstSts].[CoNu][GFMot].[CoNu][GFPlg].[CoNu][GFPur].[CoNu][GLAcct].[CoNu][GLBudget].[CoNu][GLDept].[CoNu][GLDetail].[CoNu][GLEntries].[CoNu][GLFund].[CoNu][GLJournalsNu].[CoNu][GLRecur].[CoNu][GLReports].[CoNu][GLRestrict].[CoNu][GLSummary].[CoNu][GLYear].[CoNu][INCls].[CoNu][INItm].[CoNu][INWhs].[CoNu][IREmplr].[CoNu][IREmply].[CoNu][IREmplyDepen].[CoNu][IRPrefs].[CoNu][IRTypes].[CoNu][IRWorkco].[CoNu][LNMst].[CoNu][MGMat].[CoNu][PRCo].[CoNu][PRCoState].[CoNu][PRDed].[CoNu][PRDistr].[CoNu][PREmp].[CoNu][PRHistHead].[CoNu][PRTaxTablesGL].[CoNu][PRTCDetail].[CoNu][PRTCHead].[CoNu][PRTCImport].[CoNu][REEntry].[CoNu][REPrefs].[CoNu][RGEve].[CoNu][RMAct].[CoNu][RMHst].[CoNu][RMPlg].[CoNu][STPrefs].[CoNu]

7/9/2014 Shelby v5 Table Layout Page 326

Page 327: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSContact DescriptionTable for Contact Management

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase Primary Key int NOStartDate Date the workflow was started for the contact datetime YESWorkflowCounter Counter for SSWorkflow int NO SSWorkflow.CounterWFStatusCounter Counter for SSWFStatus int NO SSWFStatus.CounterNameCounter Counter for NANames int NO NANames.CounterCreatedByContactCounter SSContact Counter that created new record int NOCompleted Completed smallint NODateComplete Date the workflow was completed for the contact datetime YESTitle Title varchar(50) NOMemo Memo varchar(4096) NORespNameCounter Counter for Response Name int NOWhenSetup Date Time Stamp of When Setup datetime NOWhenUpdated Date Time STamp of When Last Updated datetime NOWhoSetup Who Set Up int NOWhoUpdated Who Last Updated int NO

INDEXES:Index Name Description Key ColumnsIX_Contact nonclustered located on PRIMARY NameCounter, Completed, CounterIX_Contact_1 nonclustered located on PRIMARY Completed, WFStatusCounter, Counter, NameCounterIX_Contact_2 nonclustered located on PRIMARY RespNameCounter, Completed, CounterPK_Contact clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SSContactActivity].[ContactCounter]

[SSContactHistory].[ContactCounter]

7/9/2014 Shelby v5 Table Layout Page 327

Page 328: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSContactActivity DescriptionContact Management Table connecting Contacts to Activity

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increasing Primay Key int NOContactCounter SSContact Counter int NO SSContact.CounterActivityTypeCounter Identifier of Activity Type int NOActivityDate Date of Activity datetime NOMemo Memo varchar(4096) NOPrivate Private Activity Boolean 0) No -1) Yes smallint NOWFStatusCounter Counter for SSWorkFlowStatus int NOStatusComplete Boolean for complete Status smallint NO SSWorkflowStatus.CounterWhenSetup Date Time Stamp When Setup datetime NOWhenUpdated Date Time Stamp Last Updated datetime NOWhoSetup Who Setup int NOWhoUpdated Who Last Updated int NO

INDEXES:Index Name Description Key ColumnsIX_ContactActivity nonclustered located on PRIMARY ContactCounter, ActivityDate, CounterIX_ContactActivity_1 nonclustered located on PRIMARY ContactCounter, WhoSetup, ActivityDate, CounterPK_ContactActivity clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 328

Page 329: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSContactHistory DescriptionContact Management Table that shows Contact History

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increasing Primary Key int NOContactCounter Counter for SSContact int NO SSContact.CounterWFStatusCounter Counter for SSWFSTatus int NO SSWFStatus.CounterStatusCode Status Code varchar(30) NOCreatedLifeEvent Created Life Event int NOStatusChanged Date Stamp of Status Change smallint NOProfileCounter Counter for Profile int NOWhenUpdated Date Time Stamp of Last Updated datetime NOWhoUpdated Who Last Updated int NO

INDEXES:Index Name Description Key ColumnsIX_ContactHistory nonclustered located on PRIMARY ContactCounter, WhenUpdatedPK_ContactHistory clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 329

Page 330: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSControl DescriptionTable containing various pieces of control information for the Shelby software

FIELDS:Field Name Description Data Type Null? Foreign KeyControlKey Text field with name of control record varchar(50) NOCurrency Field containing a currency field value for this control

recordmoney NO

Logical Field containing a boolean field value for this controlrecord

smallint NO

Memo Field containing a memo field value for this control record text(2147483647) YESSSDate Field containing a date/time field value for this control

recorddatetime YES

SSInteger Field containing an integer number field value for thiscontrol record

int NO

Text Field containing a text field value for this control record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSSControl_PrimaryKey nonclustered, unique, primary key located on PRIMARY ControlKey

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 330

Page 331: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSForms DescriptionThis table has all printed form setup information. Used by ShelbyPRINTER to align everything/

FIELDS:Field Name Description Data Type Null? Foreign KeyType Type of form. C)ards, L)abels, E)nvelopes or S)pecial

Stockvarchar(1) NO

Title Description of form varchar(25) NOPartNu Vendor's part # varchar(10) YESAcross # forms across page smallint NODown # forms down page smallint NOWidth Width of form in inches money NOHeight Height of form in inches money NOTopMargin Top margin in inches money NOLeftMargin Left Margin in inches money NOGapVert Gap verticle between forms in inches money NOGapHoriz Gap horizontal between forms in inches money NOReturnHeight Return address(for envelopes only) top margin in inches money NOReturnLeft Return address(for envelopes only) left margin in inches money NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSSForms_PrimaryKey nonclustered, unique, primary key located on PRIMARY Type, Title

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 331

Page 332: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSMICR DescriptionTable containing ID and Account MICR infromation

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NODFIID varchar(9) NODFIAcct varchar(17) NO

INDEXES:Index Name Description Key ColumnsSSMICR_PrimaryKey clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 332

Page 333: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSModules DescriptionTable containing the Module information

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOModule Module initials varchar(2) NO

INDEXES:Index Name Description Key ColumnsPK__SSModule__0666AFE87286E07F

nonclustered, unique, primary key located on PRIMARY Counter

SSModules_Module nonclustered, unique, unique key located on PRIMARY Module

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SSSelects].[SSModulesCounter]

7/9/2014 Shelby v5 Table Layout Page 333

Page 334: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSPositions DescriptionTable containing Shelby security settings. This is an Shelby internal use only table.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSSModule Module Identifier varchar(2) YESSeq1 Security Position Primary Sequence smallint NOSeq2 Security Position Secondary Sequence smallint NODescription Security Position Description varchar(50) YESTotalSeq2 Boolean used to determine when all sub-items below a

security should move when this item is movedsmallint NO

UpdateOnly Security Type smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSSPositions_ApplSeq nonclustered located on PRIMARY SSModule, Seq1, Seq2SSPositions_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 334

Page 335: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSProject DescriptionTable containing project names. Used throughout accounting modules to track project income & expenses.

FIELDS:Field Name Description Data Type Null? Foreign KeyProjectCounter Auto Number Primary Key int NOName Project Name varchar(50) YESMemo varchar(4096) YESWhenSetup When this record was initially set up datetime YESWhenUpdated When this record was updated datetime YESWhoSetup Who initially set up this record varchar(50) YESWhoUpdated Who updated this record varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSSProject_Name nonclustered located on PRIMARY NameSSProject_PrimaryKey nonclustered, unique, primary key located on PRIMARY ProjectCounter

RELATED TABLES:Field Name [Related Table].[Related Field]ProjectCounter [AMMstDest].[ProjectCounter]

[APCCChgDetail].[ProjectCounter][APDetail].[ProjectCounter][APDistrDetail].[ProjectCounter][APInvDetail].[ProjectCounter][APRecurDetail].[ProjectCounter][ARInvDetail].[ProjectCounter][ARPayMisc].[ProjectCounter][ARRecurDetail].[ProjectCounter][CKDetail].[ProjectCounter][CNHstDet].[ProjectCounter][CNMot].[ProjectCounter][CNPlg].[ProjectCounter][CNPur].[DefaultProject][GFAutoEntry].[SubDonor][GFHstDet].[ProjectCounter][GFMot].[ProjectCounter][GFPlg].[ProjectCounter][GLDetail].[ProjectCounter][GLRecurDetail].[ProjectCounter][PREmpDistr].[ProjectCounter][PRHistDetail].[ProjectCounter][PRTCDetail].[ProjectCounter][REDetail].[ProjectCounter][RGEve].[Project][RGEveCat].[Project][RGEveCatSel].[Project][RMHstDet].[ProjectCounter]

7/9/2014 Shelby v5 Table Layout Page 335

Page 336: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSRegistry DescriptionTable for Registry Settings

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOSSUsersCounter Links to Users table int NO SSUsers.CounterRegAppName Application Name varchar(50) NORegSection Section varchar(50) YESRegKey Key varchar(255) YESRegSetting Setting varchar(255) NO

INDEXES:Index Name Description Key ColumnsPK__SSRegist__0666AFE84D0B430D

nonclustered, unique, primary key located on PRIMARY Counter

SSRegistry_SSUsersCounter nonclustered, unique located on PRIMARY SSUsersCounter, RegAppName, RegSection, RegKey

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 336

Page 337: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSReports DescriptionTable used to store parameters for reports set up under selection and lists.

FIELDS:Field Name Description Data Type Null? Foreign KeyTitle Title of report varchar(25) NOGroupCounter Links to SSTextPicks. Type = "ReportGroup" int NO SSTextPicks.CounterApplication Module report was set up under. Example 'MB' is

membershipvarchar(2) NO

Password Only used if SecurityLevel > 0 varchar(4) YESSecurityLevel 0) Not security, 1) Full - password to run or change

report, 2) Change Only - password to change report onlysmallint NO

Criteria Memo field with parameters for selection criteria text(2147483647) YESReports Memo field with parameters for reports text(2147483647) YESSelections Memo field with parameters for report selections text(2147483647) YESSorts Memo field with parameters for sorting text(2147483647) YESSSDate Date report last run datetime YESNuSelected # selected last report run int NOPrintMemoRpt Boolean used to determine to print the memo report or

not -1) Yes or 0) Nosmallint NO

Memo Memo for the report varchar(4096) NOFieldCounter Used for filtering reports on a field int NOWhenSetup When report was setup datetime YESWhenUpdated Who setup the report datetime YESWhoSetup When report was last update varchar(50) YESWhoUpdated Who last updated the report varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSSReports_PrimaryKey nonclustered, unique, primary key located on PRIMARY Application, Title

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 337

Page 338: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSSecurityLog DescriptionContains security information on processes and procedures run on the database.

FIELDS:Field Name Description Data Type Null? Foreign KeyDate Date the process was ran datetime NOShelbyUser User which ran the process varchar(50) NOAction Process ran varchar(300) NOWindowsLogin Filled in when user logs in with Windows Active Directory varchar(255) YES

INDEXES:Index Name Description Key ColumnsPK__SSSecuri__77387D0638CF4036

clustered, unique, primary key located on PRIMARY Date

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 338

Page 339: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSSelects DescriptionTable containing the namecounters of the people the user has selected.

FIELDS:Field Name Description Data Type Null? Foreign KeySSUsersCounter User counter int NO SSUsers.CounterSSModulesCounter Modules counter int NO SSModules.CounterNameCounter Name counter that links to NANames int NO NANames.CounterSel_Counter Currently only using 0 in field smallint NOSortOrder Currently not used varchar(255) NOPageBreakDescr Currently not used varchar(255) NOSearchID Search ID varchar(22) YES

INDEXES:Index Name Description Key ColumnsSSSelects_PrimaryKey clustered, unique, primary key located on PRIMARY SSUsersCounter, SSModulesCounter, NameCounter,

Sel_Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 339

Page 340: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSServiceSchedules DescriptionTable used with Shelby Servies back up schedules

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOspName varchar(250) YESBakDescr varchar(250) NOBakDir varchar(500) NOZipDir varchar(500) NOZipOnly smallint NOZipPassword varchar(20) NOFreqType smallint NOFreqInterval smallint NOFreqRecurrenceFactor smallint NOFreqRelativeInterval smallint NOFreqSubDayType smallint NOFreqSubDayInterval smallint NOActiveStartDate varchar(8) YESActiveEndDate varchar(8) YESActiveStartTime varchar(6) YESActiveEndTime varchar(6) YESNextOccurrence datetime YESNuRetain smallint NOUsingAgent smallint NO

INDEXES:Index Name Description Key ColumnsSSSchedules_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 340

Page 341: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSTextPicks DescriptionTable containing lookup values for different areas.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Number Primary Key int NOType Defines what this description if for. varchar(20) YESDescr Description varchar(40) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSSTextpicks_Descr nonclustered located on PRIMARY Type, DescrSSTextpicks_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [CNPlanGiving].[PlanGift]

[CNPlanGiving].[StaffMember][CNPur].[DistrictColumn][GFHst].[MediaCounter][GFPlanGiving].[PlanGift][GFPlanGiving].[StaffMember][GFPur].[DistrictColumn][LNMst].[TypeCounter][NACustomT].[Counter][NADnr].[Area][NADnr].[District][NADnr].[Region][SSReports].[GroupCounter][SSUsersNotes].[Category][SSUsersNotes].[Status]

7/9/2014 Shelby v5 Table Layout Page 341

Page 342: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSUsers DescriptionTable containing Shelby users and their rights to different areas of the software

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Counter int NONameCounter Person Counter int NO NANames.CounterLoginName Login Name - encrypted varchar(50) NOFullName Full Name - encrypted varchar(50) YESActive Boolean for whether this users is allowed to log in now.

0) no, -1) yessmallint NO

Password Password - encrypted varchar(50) YESSecEqual Login name of user this person is a security equal

to(encrypted). Blank if security is on this record.varchar(50) YES

Security Text field containing areas this user is allowed in to. varchar(4096) YESLastLogin Date/Time when this user last logged in datetime YESWorking Boolean for whether this user is currently logged in. 0)

no or -1) yessmallint NO

Message Boolean for whether this user has viewed all messagesposted. 0) all viewed, -1) message posted since thisuser has viewed.

smallint NO

ICONOrder Memo containing the order of the icons on SSMainV5 varchar(1024) NOICONView 0) Large Icons, 1) Small Icons, 2) List view on SSMainV5 smallint NOBackground Counter associated with the background the user has

chosensmallint NO

CustomPicture Picture you have chosen for your background on ssmain varchar(255) NOSSMainv5Tab Last active tab when exiting Shelby in Tab view 0)

Financials, 1) Church, 2) Headquarters, and 3) General.smallint NO

MoveLeft Move Left int NOMoveTop Move Top int NOMoveWidth Move Width int NOMoveHeight Move Height int NOLeftPaneWidth Left Pane Width int NOReviewerEmailAddress Protect My Ministry reviewer email address varchar(50) YESWhenSetup datetime YESWhoSetup varchar(50) YESWhenUpdated datetime YESWhoUpdated varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSSUsers_FullName nonclustered located on PRIMARY FullNameSSUsers_PrimaryKey nonclustered, unique, primary key located on PRIMARY LoginName

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [MIProfiles].[SSUsersCounter]

[NAEmailHistory].[UserName][PO].[SSUsersCounterSetup][PO].[SSUsersCounterUpdated][POApproval].[ApprovalNeededSSUsersCounter][POApproval].[SSUsersCounter][POApprovalsPath].[SSUsersCounter][POApprovalsUsers].[SSUsersCounter][RCDatSel].[SSUsersCounter][RCMst].[SSUsersCounter][RCMstSel].[SSUsersCounter][RCPrfSel].[SSUsersCounter][SGMstOrgAttEnt].[SSUsersCounter][SSRegistry].[SSUsersCounter][SSSelects].[SSUsersCounter][SSUsersMyQueries].[SSUsersCounter][SSUsersMyStatus].[SSUsersCounter][SSUsersMyWebSites].[SSUsersCounter][SSUsersNotes].[SSUsersCounter]

7/9/2014 Shelby v5 Table Layout Page 342

Page 343: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSUsersMyQueries DescriptionTable that gives the queries User has entered on Dashboard

FIELDS:Field Name Description Data Type Null? Foreign KeySSUsersCounter Counter from SSUsers Table int NO SSUsers.CounterQuery Query varchar(50) NOMyStatus My Status bit NOMyQueries My Queries bit NOIsSelection is selection boolean smallint NOSeqStatus Order of appearance for Status smallint NO SSUsersMyStatus.SeqSeqQueries Order of appearance for Queries smallint NOTStamp System Generated Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSSUsersMyQueries_SSUsersCounter

nonclustered located on PRIMARY SSUsersCounter, Query

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 343

Page 344: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSUsersMyStatus DescriptionTable LInking SSUsers to MyStatus

FIELDS:Field Name Description Data Type Null? Foreign KeySSUsersCounter links to SSUsers int NO SSUsers.CounterMyStatusCounter Links to MyStatus int NO MyStatus.CounterSeq Order of appearance smallint NOTStamp System Generated Time Stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSSUsersMyStatus_SSUsersCounter nonclustered located on PRIMARY SSUsersCounter, MyStatusCounter

RELATED TABLES:Field Name [Related Table].[Related Field]Seq [SSUsersMyQueries].[SeqStatus]

7/9/2014 Shelby v5 Table Layout Page 344

Page 345: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSUsersMyWebSites DescriptionGIves users a My Web sites Section on the dashboard

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase Counter of Websites int NOSSUsersCounter Links to SSUsers int NO SSUsers.CounterSiteName Name of website varchar(50) NOURL URL of website varchar(255) NOFileType Type of file URL leads to if file int NOTStamp System Time Stamp of added website timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SSUsersM__0666AFE80E8400AF

nonclustered, unique, primary key located on PRIMARY Counter

SSUsersMyWebSites_SSUsersCounter

nonclustered located on PRIMARY SSUsersCounter, SiteName

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 345

Page 346: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSUsersNotes DescriptionTable containing notes that the user has entered.

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Counter int NOSSUsersCounter Links to SSusers int NO SSUsers.CounterSubject Subject of the note varchar(128) NOCategory Links to SSTextPicks for Category information int NO SSTextPicks.CounterDateDue Datenot is due datetime YESDateStart Date note was started datetime YESDateCompleted Date note was completed datetime YESStatus Links to SSTextPicks for Status information int NO SSTextPicks.CounterPriority Level of priority set on note tinyint NOReminder Boolean showing whether a reminder has been set 0)

No or 1) Yestinyint NO

ReminderDate Date and time in which the reminder is set datetime YESNotes Memo information that goes along with note text(2147483647) NOReminderDateOrig Original date reminder was setup. Used to determine

next reccuring date and time.datetime YES

Recurring Boolean for whether the entry is recurring 0) No or -1)Yes

tinyint NO

RecurFreq Recurring Frequency 0) None 1) Daily 2) Daily(Weekdays Only) 3) Weekly 4) Monthly 5) Yearly

smallint NO

WhenSetup Who initially set up this record datetime YESWhenUpdated When this record was updated datetime YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsPK__SSUsersN__0666AFE87B1C2680

nonclustered, unique, primary key located on PRIMARY Counter

SSUsersNotes_User nonclustered located on PRIMARY SSUsersCounter, Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 346

Page 347: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSWorkflow DescriptionContact Management Table for Workflow

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increasing Primary Key int NODescr Description of Workflow varchar(50) NOSSModule SSModule for Workflow varchar(2) NOActive Boolean for Active 0) No -1) Yes smallint YESEmailPrimaryOnly Boolean for Primary Email only 0) no, -1) yes smallint YESEmailIsPrivate Boolean for Email is Private 0) no, -1) yes smallint YESEmailSubject Subject of the Email varchar(255) NOEmailText Body of the Email text(2147483647) NOEnforceTaskOrder Enforce Task Order smallint NOCreateLifeEventCounter Options Creates Workflow counter int NOCreateWorkflowCounter Options Creates Life Event Counter int NOGroupEmails Small Integer, default 0 smallint YESReleaseTime Small Integer, default 0 Time of release of emails smallint YES

INDEXES:Index Name Description Key ColumnsPK_Workflow clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [MBLif].[CreateWorkflowCounter]

[NAEmailHistory].[WorkFlowCounter][SSContact].[WorkflowCounter][SSWorkflowResp].[WorkflowCounter][SSWorkflowSecurity].[WorkflowCounter][SSWorkflowStatus].[CreateWorkflowCounter][SSWorkflowStatus].[WorkflowCounter]

7/9/2014 Shelby v5 Table Layout Page 347

Page 348: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSWorkflowResp DescriptionContact Management Table for showing Workflow Response

FIELDS:Field Name Description Data Type Null? Foreign KeyWorkflowCounter Counter for SSWorkflow int NO SSWorkflow.CounterNameCounter Counter for NANames int NO NANames.Counter

INDEXES:Index Name Description Key ColumnsPK_SSWorkflowResp clustered, unique, primary key located on PRIMARY WorkflowCounter, NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 348

Page 349: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSWorkflowSecurity DescriptionSecurity Rights for Workflow in Contact Management

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase Primary Key int NOWorkflowCounter Counter for SSWorkflow int NO SSWorkflow.CounterUserID User ID int NOAllowView Boolean for Allow View 0) No, -1) Yes smallint NOAllowCreate Boolean for Allow Create 0) No, -1) Yes smallint NOAllowUpdate Boolean for Allow Update 0) No, -1) Yes smallint NO

INDEXES:Index Name Description Key ColumnsPK_SSWorkflowSecurity clustered, unique, primary key located on PRIMARY Counter, WorkflowCounter, UserID

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 349

Page 350: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSWorkflowStatus DescriptionTable for Status of a Workflow

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increase Primary Key int NOWorkflowCounter Counter for SSWorkflow int NO SSWorkflow.CounterStatusCode Status Code varchar(30) NODescr Description of Status Code varchar(100) NOStatusLevel Status Level int NOStatusOrder Status Order int NOLastStep Boolean for Last Step of Workflow 0) No, -1) Yes smallint NOCreateWorkflowCounter Counter for SSWorkflow int NO SSWorkflow.CounterCreateProfileCode Counter for NAProfileTypes varchar(10) NO NAProfileTypes.ProfileCreateLifeEventCounter Counter for MBMstLif int NO MBMstLif.MBMstLifCounter

INDEXES:Index Name Description Key ColumnsIX_SSWorkflowStatus nonclustered located on PRIMARY Counter, WorkflowCounterPK_SSWorkflowStatus clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:Field Name [Related Table].[Related Field]Counter [SSContactActivity].[StatusComplete]

[SSWorkflowStatusResp].[WFStatusCounter]

7/9/2014 Shelby v5 Table Layout Page 350

Page 351: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

SSWorkflowStatusResp DescriptionTable connecting Workflow Status with a Response

FIELDS:Field Name Description Data Type Null? Foreign KeyWFStatusCounter Counter for SSWorkFlowStatus int NO SSWorkflowStatus.CounterNameCounter Counter for NANames int NO NANames.Counter

INDEXES:Index Name Description Key ColumnsPK_SSWorkflowStatusResp clustered, unique, primary key located on PRIMARY WFStatusCounter, NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 351

Page 352: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

STDen DescriptionStatistics table for denominations.

FIELDS:Field Name Description Data Type Null? Foreign KeySTDenCounter Denomination - Auto Number Primary Key int NODescr Denomination Description varchar(50) YESReportName Report Name varchar(50) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSTDen_Descr nonclustered, unique located on PRIMARY Descr, STDenCounterSTDen_PrimaryKey nonclustered, unique, primary key located on PRIMARY STDenCounter

RELATED TABLES:Field Name [Related Table].[Related Field]STDenCounter [STItm].[STDenCounter]

[STPrefs].[STDenCounter][STYear].[STDenCounter]

7/9/2014 Shelby v5 Table Layout Page 352

Page 353: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

STItm DescriptionStatistics table for items.

FIELDS:Field Name Description Data Type Null? Foreign KeySTItmCounter Item - Auto Number Primary Key int NOSTDenCounter Denomination - Link to STDen int NO STDen.STDenCounterDescr Item Description varchar(75) YESColHead Column Heading varchar(9) YESType Item Type smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSTItm_PrimaryKey nonclustered, unique, primary key located on PRIMARY STItmCounterSTItm_STDenCounter nonclustered, unique located on PRIMARY STDenCounter, Descr, STItmCounter

RELATED TABLES:Field Name [Related Table].[Related Field]STItmCounter [RMAct].[STItmCounter]

[RMActSts].[STItmCounter][STItmDet].[STItmDetCounter][STLayOut].[STItmCounter]

7/9/2014 Shelby v5 Table Layout Page 353

Page 354: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

STItmDet DescriptionStatistics table for item detail.

FIELDS:Field Name Description Data Type Null? Foreign KeySTItmDetCounter Item Detail - Auto Number Primary Key int NO STItm.STItmCounterNANameCounter Name - Link to NANames int NO NANames.NameCounterSTLayOutCounter LayOut - Link to STLayOut int NO STLayOut.STLayOutCounterNumber Number Field money NODateField Date Time Field datetime YESMemo varchar(4096) YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSTItmDet_NANameCounter nonclustered, unique located on PRIMARY NANameCounter, STLayOutCounter, STItmDetCounterSTItmDet_PrimaryKey nonclustered, unique, primary key located on PRIMARY STItmDetCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 354

Page 355: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

STLayOut DescriptionStatistics table for layout information.

FIELDS:Field Name Description Data Type Null? Foreign KeySTLayOutCounter LayOut - Auto Number Primary Key int NOSTYearCounter Year - Link to STYear int NO STYear.STYearCounterTableForm Table Form varchar(1) YESItemNu Item # smallint NOItemNuSub Item # Sub varchar(2) YESSTItmCounter Item - Link to STItm int NO STItm.STItmCounterDescr Description varchar(75) YESColHead Column Heading varchar(9) YESCalculated Calculation varchar(4096) YESSecured Indcator that the entry is secure or not smallint NOTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSTLayOut_PrimaryKey nonclustered, unique, primary key located on PRIMARY STLayOutCounterSTLayOut_STYearCounter nonclustered, unique located on PRIMARY STYearCounter, TableForm, ItemNu, ItemNuSub,

STLayOutCounter

RELATED TABLES:Field Name [Related Table].[Related Field]STLayOutCounter [STItmDet].[STLayOutCounter]

7/9/2014 Shelby v5 Table Layout Page 355

Page 356: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

STPrefs DescriptionStatistics table for preferences.

FIELDS:Field Name Description Data Type Null? Foreign KeySTDenCounter Denomination - Link to STDen int NO STDen.STDenCounterCoNu Company # smallint NO SSCo.CoNuSTYearCounter Year - Link to STYear int NO STYear.STDenCounterTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSTPrefs_PrimaryKey nonclustered, unique, primary key located on PRIMARY STDenCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 356

Page 357: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

STYear DescriptionStatistics table for year information.

FIELDS:Field Name Description Data Type Null? Foreign KeySTYearCounter Year - Auto Number Primary Key int NOSTDenCounter Denomination - Link to STDen int NO STDen.STDenCounterBeginDate Begin Date datetime YESEndDate End Date datetime YESTStamp System generated time stamp timestamp YES

INDEXES:Index Name Description Key ColumnsSTYear_PrimaryKey nonclustered, unique, primary key located on PRIMARY STYearCounterSTYear_STDenCounter nonclustered, unique located on PRIMARY STDenCounter, BeginDate, STYearCounter

RELATED TABLES:Field Name [Related Table].[Related Field]STDenCounter [STPrefs].[STYearCounter]

STYearCounter [STLayOut].[STYearCounter]

7/9/2014 Shelby v5 Table Layout Page 357

Page 358: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Wire_1096 DescriptionTemporary table used when running Wire Reports

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOSSUsersCounter int NODateRun datetime YESMachineName varchar(100) YESType varchar(1) YESPayerAddr1 varchar(100) YESPayerAddr2 varchar(100) YESPayerCity varchar(100) YESPayerName1 varchar(100) YESPayerPhone varchar(100) YESPayerUSState varchar(100) YESPayerUSZipCode varchar(100) YESTIN varchar(100) YESContactName varchar(31) YESContactEmail varchar(31) YESContactPhone varchar(10) YESContactFax varchar(10) YESForm1099INTInd smallint NOForm1099RInd smallint NOForm1099MISCInd smallint NOForm1098Ind smallint NONumOfReturns varchar(5) YESTotalFITWithh money NOTotAmtReported1096 money NOXoffSet int NOYoffSet int NOXDataOffset int NOYDataOffset int NO

INDEXES:Index Name Description Key ColumnsPK_Wire_1096 clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 358

Page 359: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Wire_1098 DescriptionTemporary table used when running Wire Reports

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOSSUsersCounter int NODateRun datetime YESMachineName varchar(100) YESType varchar(1) YESAddr1 varchar(100) YESAddr2 varchar(100) YESCity varchar(100) YESAssociationName varchar(100) YESFirstName varchar(100) YESUSState varchar(100) YESUSZipCode varchar(100) YESSSN varchar(100) YESPayerAddr1 varchar(100) YESPayerAddr2 varchar(100) YESPayerCity varchar(100) YESPayerName1 varchar(100) YESPayerPhone varchar(100) YESPayerUSState varchar(100) YESPayerUSZipCode varchar(100) YESTIN varchar(100) YESMortgageInt money NORefundOfOverpaidInt money NOXoffSet int NOYoffSet int NOXDataOffset int NOYDataOffset int NO

INDEXES:Index Name Description Key ColumnsPK_Wire_1098 clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 359

Page 360: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Wire_1099 DescriptionTemporary table used when running Wire Reports

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOSSUsersCounter int NODateRun datetime YESMachineName varchar(100) YESType_1099 varchar(2) YESAcctNumber varchar(100) YESGrossAttorneyProc money NOCorrectedInd smallint NOCropInsurance money NODirectSalesInd smallint NOExcessGoldenPymnts money NOTIN varchar(100) YESFishBoatProc money NOFITWithh money NOMedHealthPymnts money NONonEmpComp money NOOtherIncome money NOAddr1 varchar(100) YESAddr2 varchar(100) YESCity varchar(100) YESAssociationName varchar(100) YESFirstName varchar(100) YESLastName varchar(100) YESMiddleInitial varchar(100) YESUSState varchar(100) YESNameSuffix varchar(100) YESUSZipCode varchar(100) YESPayerAddr1 varchar(100) YESPayerAddr2 varchar(100) YESPayerCity varchar(100) YESPayerName1 varchar(100) YESPayerPhone varchar(100) YESPayerUSState varchar(100) YESPayerUSZipCode varchar(100) YESRents money NORoyalties money NOStateTaxWithhOne money NOStateTaxWithhTwo money NOFedID varchar(100) YESStateIncomeOne money NOStateIncomeTwo money NOStateNameOne varchar(100) YESStateNameTwo varchar(100) YESSubstitutePymnts money NOSSN varchar(100) YESRet2ndTINNoticeInd smallint NOForeignCountry varchar(100) YESForeignTaxPaid money NOIntOnUSTreas money NOInterestIncome money NOInvestmentExpenses money NOCapitalGain money NODistributionCode varchar(100) YESEmplContribInsPremAmt money NOGrossDistribution money NOTaxableAmt money NOTaxableAmtNotDetInd smallint NOTotalEmplContribAmt money NOEarlyWithdrawal money NOIntincnotbox3 money NOXoffSet int NOYoffSet int NOXDataOffset int NOYDataOffset int NO

INDEXES:Index Name Description Key ColumnsPK_Wire_1099 clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 360

Page 361: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Wire_941 DescriptionTemporary table used when running Wire Reports

FIELDS:Field Name Description Data Type Null? Foreign KeyPayerTradeName varchar(100) YESPayerNameOne varchar(100) YESPayerAddrOne varchar(100) YESPayerAddrTwo varchar(100) YESPayerCity varchar(50) YESPayerSTId varchar(5) YESPayerZip varchar(10) YESQrtOneCK smallint NOQrtTwoCK smallint NOQrtThreeCK smallint NOQtrFourCK smallint NONumberOfEmployees int NOTotalWages money NOTotalIncomeTaxWithh money NOWagesNotSubjToSSMedicareTaxes

smallint NO

TaxableSocialSecurityWages

money NO

TaxOnSocialSecurityWages

money NO

TaxableSocialSecurityTips money NOTaxOnSocialSecurityTips money NOTaxableMedicareWagesTips

money NO

TaxOnMedicareTips money NOAddedMedicareWagesTips money NOTaxOnAddedMedicareWagesTips

money NO

TotalSocialSecurityMedTaxes

money NO

SickPayAdjustment money NOFractionsOfCentsAdjustment

money NO

TotalDepositsOverPaymentForQtr

money NO

TaxOnUnreportedTips money NOTotalTax money NOCobraPremiumPayments money NONumberOfReceipients int NOPaymentCreditTotal money NOBalanceDue money NOAmount money NOCreditElect smallint NORefund smallint NOMonth1Liab money NOMonth2Liab money NOMonth3Liab money NOTotalQuarterLiab money NOCurrentOrPrevQtrLessThan2500Ind

smallint NO

SemiWeeklyScheduleDepositor

smallint NO

MonthlyScheduleDepositor smallint NOTotalTaxesBeforeAdjustmentsAmt

money NO

DateQuarterEnding datetime NOPreparer_Name varchar(100) YESPreparer_Phone varchar(15) YESSelfEmployed smallint NOPreparer_SigImageFileName

varchar(100) YES

Preparer_FirmName varchar(100) YESPreparer_Addr varchar(100) YESPreparer_City varchar(100) YESPreparer_USState varchar(5) YESPreparer_Zip varchar(11) YESPreparer_DateSigned datetime YESPTIN varchar(100) YESEIN varchar(100) YESReturnSigner_Name varchar(100) YES

7/9/2014 Shelby v5 Table Layout Page 361

Page 362: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name Description Data Type Null? Foreign KeyReturnSigner_Title varchar(50) YESReturnSigner_Phone varchar(15) YESReturnSigner_EmailAddress

varchar(100) YES

ReturnSigner_DateSigned datetime YESReturnSigner_SigImageFileName

varchar(100) YES

DesigneeNoInd smallint NOAllowAnotherPersonToDiscussThisReturnWithTheIRSInd

smallint NO

DesigneesName varchar(100) YESDesigneeTelephone varchar(100) YESDPIN varchar(100) YESVendorRegistrationNumber varchar(100) YESNumEmplFirstPdExmptWgs

smallint NO

NumEmplPdExmptWgs smallint NOExmptWgsPdQualEmpl money NOExmptWgsCredit money NONumEmplPdExmptWgsMar1931

smallint NO

ExmptWgsPdQualEmplMar1931

money NO

ExmptWgsPdQualEmplMar1931Credit

money NO

RemittanceAmount money NOTotadveicpay money NOTotQtrlyAdvEICPay money NOPayerCoNu int NOPayerPhone varchar(100) YESTipsGroupTermLifeInsAdjAmount

money NO

XoffSet int NOYoffSet int NOXDataOffset int NOYDataOffset int NOSSUsersCounter int NOMachineName varchar(100) YESDateRun datetime YESCounter int NO

INDEXES:Index Name Description Key ColumnsWIRE_941_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 362

Page 363: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Wire_941B DescriptionTemporary table used when running Wire Reports

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOWire941Counter int NOMonthofQtr smallint NODay1 money NODay2 money NODay3 money NODay4 money NODay5 money NODay6 money NODay7 money NODay8 money NODay9 money NODay10 money NODay11 money NODay12 money NODay13 money NODay14 money NODay15 money NODay16 money NODay17 money NODay18 money NODay19 money NODay20 money NODay21 money NODay22 money NODay23 money NODay24 money NODay25 money NODay26 money NODay27 money NODay28 money NODay29 money NODay30 money NODay31 money NOTotalMonth1Liab money NOTotalMonth2Liab money NOTotalMonth3Liab money NOTotalQuarterLiab money NOXoffSet int NOYoffSet int NOXDataOffset int NOYDataOffset int NOSSUsersCounter int NOMachineName varchar(100) YESDateRun datetime YES

INDEXES:Index Name Description Key ColumnsPK_Wire_941B clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 363

Page 364: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Wire_CheckDetail DescriptionTemporary table used when running Wire Reports

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOSSUsersCounter int NODateRun datetime YESMachineName varchar(100) YESWire_Checks_Counter int NOType varchar(2) YESInvoice varchar(100) YESInvoiceDate varchar(100) YESInvoiceAmount money NOInvoiceDiscount money NOInvoiceNet money NOInvoiceTotal money NOInvoiceAccount varchar(100) YESInvoiceDescription varchar(4096) YESDescription varchar(100) YESBasis money NOHours varchar(100) YESCheck money NOYearToDate money NOAmount money NOAccount varchar(100) YESProjectDescription varchar(100) YES

INDEXES:Index Name Description Key ColumnsPK_Wire_CheckDetail clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 364

Page 365: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Wire_Checks DescriptionTemporary table used when running Wire Checks

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOSSUsersCounter int NODateRun datetime YESMachineName varchar(100) YESType varchar(2) YESBankAcctCounter int NOPayeePrefix varchar(100) YESPayeeFirstName varchar(100) YESPayeeMiddleName varchar(100) YESPayeeLastName varchar(100) YESPayeeSuffix varchar(100) YESPayeeCompanyName varchar(100) YESPayeeCompanyAddr varchar(100) YESPayeeAddr1 varchar(100) YESPayeeAddr2 varchar(100) YESPayeeCity varchar(100) YESUSState varchar(100) YESUSZipCode varchar(100) YESSSN varchar(1000) YESCheckNumber varchar(100) YESCheckDate datetime YESCheckAmount money NOHomeDepartment varchar(100) YESDepartment varchar(100) YESTotalCheckCompensationAmount

money NO

TotalCheckDeductionAmount

money NO

TotalCheckNetAmount money NOTotalCheckTaxesAmount money NOTotalCheckNonCashAmount

money NO

TotalYTDCheckCompensationAmount

money NO

TotalYTDCheckDeductionAmount

money NO

TotalYTDCheckTaxesAmount

money NO

TotalYTDCheckNetAmount money NOTotalYTDCheckNonCashAmount

money NO

HoursAvailableDescription varchar(100) YESVacationHoursAvailableDescription

varchar(100) YES

HoursAvailable varchar(100) YESVacationHoursAvailable varchar(100) YESHourlyRateDescription varchar(100) YESID varchar(100) YESTotalInvoiceNetAmount money NOMemoCheckOne varchar(1000) YESMemoCheckTwo varchar(1000) YESCompanyImprint1 varchar(1000) YESCompanyImprint2 varchar(1000) YESCompanyAddr1 varchar(100) YESCompanyAddr2 varchar(100) YESCompanyCity varchar(100) YESCompanyUSState varchar(100) YESCompanyUSZipCode varchar(100) YESCompanyPhone varchar(100) YESCompanyImageFileName varchar(1000) YESSignatureLine1Label varchar(100) YESSigUnderline1Ind smallint NOSignatureLineTitle1 varchar(100) YESSignatureLineTitle2 varchar(100) YESSigImageFileName1 varchar(1000) YESSignatureLine2Label varchar(100) YESSigUnderline2Ind smallint NOSigImageFileName2 varchar(1000) YESCDNCheckNu varchar(100) YESCDNRoutingNu varchar(100) YES

7/9/2014 Shelby v5 Table Layout Page 365

Page 366: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name Description Data Type Null? Foreign KeyCDNBankAccountNu varchar(100) YESCDNCheckMICR varchar(100) YESBAccountDigit varchar(100) YESBAccountDigit20 varchar(100) YESBankRoutingDigit varchar(100) YESBankRoutingTransitChar varchar(1) YESUSFUndsLabel varchar(100) YESBankImageFileName varchar(1000) YESBankImprint1 varchar(100) YESBankImprint2 varchar(100) YESBankImprint3 varchar(100) YESBankImprint4 varchar(100) YESBankImprintFraction varchar(100) YESBankLocationCode varchar(100) YESXoffSet int NOYoffSet int NOXDataOffset int NOYDataOffset int NO

INDEXES:Index Name Description Key ColumnsPK_Wire_Check clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 366

Page 367: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Wire_DE9C DescriptionTemporary table used when running Wire Reports

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOSSUsersCounter int NODateRun datetime YESMachineName varchar(100) YESTotalNumberofPayers int NOPayerName1 varchar(100) YESPayerAddr1 varchar(100) YESPayerAddr2 varchar(100) YESPayerCity varchar(100) YESPayerUSState varchar(100) YESPayerUSZipCode varchar(100) YESPayerPhone varchar(100) YESTIN varchar(100) YESExemptionStatus smallint NOPayerSuiNum varchar(100) YESDateqtrend datetime YESDuedate datetime YESDelinquentdate datetime YESTaxYear varchar(50) YESQuarter int NONumPayeesMonth1 int NONumPayeesMonth2 int NONumPayeesMonth3 int NOVoluntaryPlanDIInd smallint NONoPayrollInd smallint NOTotalQtlyWages money NOTxblWagesPaid money NOTotalTaxWithh money NOSignerphone varchar(100) YESDateSigned datetime YESTotalNumberofEmps int NOSSN varchar(100) YESFirstName varchar(100) YESMiddleInitial varchar(100) YESLastName varchar(100) YESQtlyWages money NOQtlyTaxblWages money NOTaxWithh money NOWagePlanCode varchar(100) YESXoffSet int NOYoffSet int NOXDataOffset int NOYDataOffset int NO

INDEXES:Index Name Description Key ColumnsPK_Wire_DE9C clustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 367

Page 368: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Wire_W2 DescriptionTemporary table used when running Wire Reports

FIELDS:Field Name Description Data Type Null? Foreign KeySSUsersCounter int NODateRun datetime YESMachineName varchar(100) YESCompanyNumber varchar(5) YESPayerName varchar(50) YESPayerAddr1 varchar(40) YESPayerAddr2 varchar(40) YESPayerCity varchar(40) YESPayerState varchar(2) YESPayerZip varchar(11) YESPayerPhone varchar(15) YESW2ControlNumber varchar(20) YESEmpNu int NOkindOfTin char(1) YESfirstName varchar(15) YESmiddleInitial char(1) YESlastName varchar(24) YESnameSuffix varchar(4) YESaddr1 varchar(40) YESaddr2 varchar(40) YEScity varchar(22) YESstate char(2) YESzipcode char(10) YESemploymentType char(1) YESfiTWithh money NOlocalNameOne varchar(11) YESlocalTaxWithhOne money NOlocalWagesTipsEtcOne money NOlocalNameTwo varchar(11) YESlocalTaxWithhTwo money NOlocalWagesTipsEtcTwo money NOlocalNameThree varchar(11) YESlocalTaxWithhThree money NOlocalWagesTipsEtcThree money NOlocalNameFour varchar(11) YESlocalTaxWithhFour money NOlocalWagesTipsEtcFour money NOmedicareWithh money NOmedWagesAndTips money NONonQual457 money NONonQualNon457 money NOsocSecWages money NOsocSecWithh money NOsocSecTips money NOwagesTipsOtherComp money NOallocatedTips money NOdependentCareBenefits money NOstateOne varchar(10) YESstateIdOne varchar(20) YESstateWagesTipsEtcOne money NOstateTaxWithhOne money NOstateTwo varchar(10) YESstateIdTwo varchar(20) YESstateTaxWithhTwo money NOstateWagesTipsEtcTwo money NOstateOne2 varchar(10) YESstateIdOne2 varchar(20) YESstateWagesTipsEtcOne2 money NOstateTaxWithhOne2 money NOstateTwo2 varchar(10) YESstateIdTwo2 varchar(20) YESstateTaxWithhTwo2 money NOstateWagesTipsEtcTwo2 money NOstateOne3 varchar(10) YESstateIdOne3 varchar(20) YESstateWagesTipsEtcOne3 money NOstateTaxWithhOne3 money NOstateTwo3 varchar(10) YESstateIdTwo3 varchar(20) YESstateTaxWithhTwo3 money NO

7/9/2014 Shelby v5 Table Layout Page 368

Page 369: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Field Name Description Data Type Null? Foreign KeystateWagesTipsEtcTwo3 money NOamt_a1 money NOcode_a1 char(2) YESamt_a2 money NOcode_a2 char(2) YESamt_b1 money NOcode_b1 char(2) YESamt_b2 money NOcode_b2 char(2) YESamt_c1 money NOcode_c1 char(2) YESamt_c2 money NOcode_c2 char(2) YESamt_d1 money NOcode_d1 char(2) YESamt_d2 money NOcode_d2 char(2) YESstatutoryInd smallint NOretirementPlanInd smallint NOthirdPartySickPayInd smallint NObox14TextOne1 varchar(50) YESbox14TextOne2 varchar(50) YESbox14TextTwo1 varchar(50) YESbox14TextTwo2 varchar(50) YESbox14TextThree1 varchar(50) YESbox14TextThree2 varchar(50) YESbox14TextFour1 varchar(50) YESbox14TextFour2 varchar(50) YESXoffSet int NOYoffSet int NOXDataOffset int NOYDataOffset int NOCounter int NO

INDEXES:Index Name Description Key ColumnsWire_W2_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 369

Page 370: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

Wire_W3 DescriptionTemporary table used when running Wire Reports

FIELDS:Field Name Description Data Type Null? Foreign KeySSUsersCounter int YESDateRun datetime YESMachineName varchar(100) YEScontrolNum varchar(13) YEStotWagesTipsOtherComp money NOtotFITWithh money NOform941Ind smallint NOmilitaryInd smallint NOForm943Ind smallint NOForm944Ind smallint NOCt1Ind smallint NOHouseholdInd smallint NOMQGEInd smallint NOKindOfEmployer char(1) YESThirdPtySickInd smallint NOTotSocSecWages money NOTotSocSecWithh money NOTotMedWagesAndTips money NOTotMedicarWithh money NOTotNumForms varchar(5) YESEstablishNum int NOTotSocSecTips money NOTotAllocatedTips money NOTotDependentCareBenefits money NOTotNonQualifiedPlans money NOTotDefComp money NOThirdPtySickRecapLabel varchar(12) YESTotIncTax3rdPty money NOTotStateWagesTipsEtcOne money NOTotStateTaxWithhOne money NOStateNameOne char(2) YESStateIdOne varchar(26) YESTotLocalWagesTipsEtcOne

money NO

TotLocalTaxWithhOne money NOContactName varchar(31) YESContactEmail varchar(31) YESContactPhone varchar(10) YESContactFax varchar(10) YESSgnerTitleOne varchar(24) YESSigLogoPath varchar(100) YESSignatureDate datetime YESSequenceNum varchar(30) YESXoffSet int NOYoffSet int NOXDataOffset int NOYDataOffset int NOCounter int NO

INDEXES:Index Name Description Key ColumnsWire_W3_PrimaryKey nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 370

Page 371: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVARCo DescriptionAccounts Receivable Company number options

FIELDS:Field Name Description Data Type Null? Foreign KeyCONu Company Number int NOStmtForm Accounts Receivable Form varchar(255) YESStart Statement Start Date datetime NOEnd Statement End Date datetime NODue Payment Due Date for Statements datetime NOZeroBalance Show zero balances - 1-Yes, 0-No smallint YESNegBalance Show negative balances - 1-Yes, 0-No smallint YESCombineNames Combine names on statements - 1-Yes, 0-No smallint YESSelectOneOrAGroup AR statement option All/Selection varchar(100) YESRevCentersSelect Selected Revenue Centers varchar(255) YESSourcesSelect Selected Sources varchar(255) YESGreeting Greeting option to use varchar(100) YESEventsInclude Included events varchar(100) YESEventsSQL SQL events varchar(100) YESEventsCaption Message to include on statements varchar(100) YESMsg1 Message to include on statements varchar(255) YESMsg2 Message to include on statements varchar(255) YESMsg3 Message to include on statements varchar(255) YESMsg4 Message to include on statements varchar(255) YESMsg5 Message to include on statements varchar(255) YES

INDEXES:Index Name Description Key ColumnsPK__WVARCo__AA1D11C0198B9F07

clustered, unique, primary key located on PRIMARY CONu

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 371

Page 372: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVCmmMst DescriptionWeb View table for Commemorative

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Auto Increment field int NOCmmCounter Commemorative Counter int NOWebDescription Commemorative Description varchar(50) NOMemo Memo varchar(4096) YES

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 372

Page 373: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVCNHstRemove Description

FIELDS:Field Name Description Data Type Null? Foreign KeyHstCounter Counter int NO

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 373

Page 374: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVCombineNames Description

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter New name counter int NO NANames.NameCounterOldNameCounter Old name counter int NO

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 374

Page 375: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVEveActSel Description

FIELDS:Field Name Description Data Type Null? Foreign KeyAutoAll smallint NOCounter Unigue record key int NODescr Description varchar(30) YESEvent Event selected int NOFee Fee/cost money NOIncomeAcctNu Account Number for Income int NOIncomeDeptNu Dept Number for Income smallint NOMemo varchar(4096) YESProject Project number int NOFeeChangeable Boolean for where fee is changeable or not )0 no )1 yes smallint NO

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 375

Page 376: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVEveCatSel DescriptionSelected Events Categories to Export to WebView

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter Distinct control number int NODescr WebView Description varchar(30) YESEvent Event Counter int NOFee Category Fee money NOIncomeAcctNu Income Account Number int NOIncomeDeptNu Income Department Number smallint NOProject Projuect Number int NO

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 376

Page 377: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVEventsRG DescriptionSelected Events to Export to WebView

FIELDS:Field Name Description Data Type Null? Foreign KeyRGEveCounter Event Counter int NOWebDescription Description on WebView varchar(255) YESDescription V5 description varchar(2000) YESRegEnd Registration end date for WebView datetime YESRGCatCounter Not Used int YESRGCatDescr Not Used varchar(255) YESShowMisc Show miscellaneous information on WevView smallint YESReqPay Require Payment smallint YESInactive 1-Active or 0-Inactive smallint YESVIPDescr Label for VIP Description varchar(50) YESHotelDescr Label for Hotel Description varchar(50) YESRGRegDescr Registration Description varchar(255) YESContactName Contact name to show on WebView varchar(50) YESContactPhone Contact phone to show on WebView varchar(50) YESContactEmail Contact email to show on WebView varchar(50) YESRegTips Registration tips and help varchar(2000) YESPositionDescr Description varchar(50) YESActivityName Name of the activity varchar(50) YESRGEveActDescr Description of event varchar(255) YESMinPay Minimum amount payment smallint NOReqAtt When Attendance is required smallint NO

INDEXES:Index Name Description Key ColumnsPK__WVEvents__10E6355C4B8D0EEF

clustered, unique, primary key located on PRIMARY RGEveCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 377

Page 378: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVMedia DescriptionWebview Table for media

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOMediaCounter int NOWebDescription varchar(40) NO

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 378

Page 379: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVMot DescriptionWebview table for Motivations

FIELDS:Field Name Description Data Type Null? Foreign KeyCounter int NOMotCounter int NOWebDescription varchar(50) NOMemo varchar(4096) YESDefaultMotive bit YES

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 379

Page 380: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVOrganizationsSG DescriptionSelected Organizations (Small Groups) Exported to WevView

FIELDS:Field Name Description Data Type Null? Foreign KeyOrgCounter Counter int NOWebDescription Description for WebView varchar(255) YESLeaderDescription Leader table for WebView varchar(255) YES

INDEXES:Index Name Description Key ColumnsPK__WVOrgani__18668F342FE4F47A

clustered, unique, primary key located on PRIMARY OrgCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 380

Page 381: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVProfiles DescriptionProfiles Exported

FIELDS:Field Name Description Data Type Null? Foreign KeyProfile Profile Name varchar(8) NOWebDescription Web description on WebView varchar(30) NO

INDEXES:Index Name Description Key ColumnsPK__WVProfil__97D529703BE0B70B

clustered, unique, primary key located on PRIMARY Profile

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 381

Page 382: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVPurposeCodesCN DescriptionWeb View table for Purpose information

FIELDS:Field Name Description Data Type Null? Foreign KeyPurCounter Counter int NO GFPur/CNPur.CounterWebDescription Purpose description varchar(255) YES

INDEXES:Index Name Description Key ColumnsPK__WVPurpos__66EC83554238AEDF

clustered, unique, primary key located on PRIMARY PurCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 382

Page 383: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVRegCatIndCustSetupSel DescriptionRegistration Custom Fields to Export

FIELDS:Field Name Description Data Type Null? Foreign KeyReqField int NOCounter Unique field for table entry control int NORGEveCounter Registration Event Counter int NO WGEventsRG.RegEveCounterDescr Custom field description on WevView varchar(50) NOType Type of custom field smallint NOIndex Index for custom field order int NOLeft Postion from the left int NOTop Position from the right int NO

INDEXES:Index Name Description Key ColumnsPK__WVRegCat__0666AFE831632898

nonclustered, unique, primary key located on PRIMARY Counter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 383

Page 384: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVWebView DescriptionWeb View table for information being Imported into Web View

FIELDS:Field Name Description Data Type Null? Foreign KeyPledgeSpouse smallint YESNAForeign varchar(30) YESGender varchar(1) YESMaritalStatus varchar(200) YESCellCarriersCounter int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterIsDelete Boolean for whether to delete the person from WebView smallint NOFamNu Circular reference to NANames for person who is the

head of house.int NO

UnitNu Position in family: 0=Head of House, 1=Spouse,2=Child, 3=Child where Legal HH not on file.

smallint NO

Title Title varchar(20) NOFirstMiddle First and Middle name varchar(40) NOLastName Last name varchar(40) NOSuffix Suffix varchar(20) NOSalutation Salutation varchar(40) NOBirthdate Birthdate datetime YESWebAddress Web Address varchar(96) NOEmployer Employer varchar(40) NOPosition Postion varchar(40) NOOccupation Occupation varchar(40) NOAdr1 Address line 1 varchar(35) NOAdr2 Address line 2 varchar(35) NOCity City varchar(28) NOState State varchar(5) NOPostalCode Postal code varchar(10) NOHomePhone Home phone varchar(20) NOBusinessPhone Business phone varchar(20) NOMobile Mobile Phone Number varchar(20) YESPager Page Number varchar(20) YESWVEnrollDate WebView enrolled date datetime YESEmailAddress E-mail address varchar(200) YESRelationship Relationship varchar(30) NODateReceived Date received datetime YESWebViewPassword Web view password varchar(20) NOIndividualPicture Individual picture varchar(20) NOIndividualPictureChanged Boolean for whether the indvidual picture changed. 0)

No, -1) Yessmallint NO

FamilyPicture Family picture varchar(20) NOFamilyPictureChanged Boolean for whether the family picture changed. 0) No, -

1) Yessmallint NO

INDEXES:Index Name Description Key ColumnsPK__WVWebVie__3356643320D7BB14

nonclustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 384

Page 385: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVWebViewDelete DescriptionWeb View table for People to be removed from Web View

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter GlobaFILE Name ID int NO NANames.NameCounter

INDEXES:Index Name Description Key ColumnsPK__WVWebVie__335664333019FEA4

nonclustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 385

Page 386: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

wVWebViewLast DescriptionWeb View table for the last Web View Import

FIELDS:Field Name Description Data Type Null? Foreign KeyGender varchar(1) YESMaritalStatus varchar(200) YESCellCarriersCounter int NONameCounter GlobaFILE Name ID int NO NANames.NameCounterFamNu Circular reference to NANames for person who is the

head of house.int NO

UnitNu Position in family: 0=Head of House, 1=Spouse,2=Child, 3=Child where Legal HH not on file.

smallint NO

Title Title varchar(20) NOFirstMiddle First and Middle Name varchar(40) NOLastName Last Name varchar(40) NOSuffix Suffix varchar(20) NOSalutation Salutation varchar(40) NOBirthdate Birthdate datetime YESWebAddress WebAddress varchar(96) NOEmployer Employer varchar(40) NOPosition Position varchar(40) NOOccupation Occupation varchar(40) NOAdr1 Address line 1 varchar(35) NOAdr2 Address line 2 varchar(35) NOCity City varchar(28) NOState State varchar(5) NOPostalCode Postal code varchar(10) NOHomePhone Home phone varchar(20) NOBusinessPhone Business phone varchar(20) NOMobile Mobile phone number varchar(20) YESPager Pager number varchar(20) YESWVEnrollDate WebView Enrolled date datetime YESEmailAddress E-Mail address varchar(200) YESRelationship Relationship varchar(30) NODateReceived Date Received datetime YESWebViewPassword Web view password varchar(20) NOIndividualPicture Individual picture varchar(20) NOIndividualPictureChanged Boolean for whether the indvidual picture changed. 0)

No, -1) Yessmallint NO

FamilyPicture Family picture varchar(20) NOFamilyPictureChanged Boolean for whether the family picture changed. 0) No, -

1) Yessmallint NO

INDEXES:Index Name Description Key ColumnsPK__wVWebVie__3356643333EA8F88

nonclustered, unique, primary key located on PRIMARY NameCounter

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 386

Page 387: FIELDS: Field Name Description Data Type Null? Foreign Key Counter Auto … · 2014-07-09 · Counter Auto Number Primary Key int NO CoNu Company number smallint NO SSCo.CoNu BeginDate

WVWebViewUsers DescriptionUsers Exported to WebView

FIELDS:Field Name Description Data Type Null? Foreign KeyNameCounter Counter ID int NO

INDEXES:

RELATED TABLES:

7/9/2014 Shelby v5 Table Layout Page 387