dbo.SXARCMAccountingPeriod 
Default Table Name  SXARCMAccountingPeriod 
Definition  Central table to store details related to Accounting Period and its details 

dbo.SXARCMAccountingPeriod Columns 
ColumnName  Domain  Datatype  NULL  Definition 
Build    int  NO  Identifies the build number and patch level of the software that inserted/updated this row. The format is the Build number followed by 3 digits for the patch level which is typically 000. The build number is tied to specific versions of the software, e.g. Sunrise 15.3 is Build 5021, Sunrise 16.3 is Build 5503. 
TouchedBy    varchar(50)  NO  Information about the user that last updated the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
TouchedWhenUTC    datetimeoffset(3)  NO  The date and time that the row was last updated including the time zone offset from UTC, for example 2015-01-30 04:55:04.372 -05:00. The date and time is based on the Enterprise Time Zone. 
CreatedBy    varchar(50)  NO  Information about the user that created the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
CreatedWhenUTC    datetimeoffset(3)  NO  The date and time that the row was created including the time zone offset from UTC, for example 2015-01-30 04:55:04.372 -05:00. The date and time is based on the Enterprise Time Zone. 
MSRowVersion    timestamp  NO  Optimistic lock identifier using rowversion datatype. 
AccountingPeriodID(PK)    int  NO  Auto generated unique primary key value. 
AccountingPeriodConfigID(FK)    int  NO  A foreign key to the AccountingPeriodConfigID column in the SXARCMAccountingPeriodConfig table. 
AccountingPeriodIntervalConfigID(FK)    int  NO  A foreign key to the AccountingPeriodIntervalConfigID column in the SXARCMAccountingPeriodIntervalConfig table. 
AccountingPeriodStatusID(FK)    int  NO  A foreign key to the AccountingPeriodStatusID column in the SXARCMAccountingPeriodStatus table. 
ActualCloseUTC    datetimeoffset(3)  YES  Maintains the date on which the Accounting Period was closed. 
TotalAccountReceivable    SXACurrencyDt  NO  Aggregated data containing the total Account Receivables of all the linked transactions. The aggregation will be done only when the Accounting Period is closed and no more transactions can be posted. 
TotalBadDebt    SXACurrencyDt  NO  Aggregated data containing the total Bad Debt of all the linked transactions. The aggregation will be done only when the Accounting Period is closed and no more transactions can be posted. 
TotalNonReceivable    SXACurrencyDt  NO  Aggregated data containing the total Non receivables of all the linked transactions. The aggregation will be done only when the Accounting Period is closed and no more transactions can be posted. 
AccountingYearID(FK)    int  NO  A foreign key to the AccountingYearID column in the SXARCMAccountingYear table. 
PeriodBeginDate    date  NO  Accounting period start date 
PeriodEndDate    date  NO  Accounting period end date 
IsPeriodClosing    bit  NO  this column is used to collect a flag value for the account closing 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
ChargesAccountReceivable    numeric(19, 4)  YES  It stores receivable total payment amount for accounting period. 
PaymentsAccountReceivable    numeric(19, 4)  YES  It stores receivable total adjustment amount for accounting period. 
AdjustmentsAccountReceivable    numeric(19, 4)  YES  It stores receivable total chanrge amount for accounting period. 
ChargesBadDebt    numeric(19, 4)  YES  It stores non receivable total payment amount for accounting period. 
PaymentsBadDebt    numeric(19, 4)  YES  It stores non receivable total adjustment amount for accounting period. 
AdjustementsBadDebt    numeric(19, 4)  YES  It stores non receivable total charge amount for accounting period. 
ChargesNonReceivable    numeric(19, 4)  YES  It stores baddebt total payment amount for accounting period. 
PaymentsNonReceivable    numeric(19, 4)  YES  It stores baddebt total adjustment amount for accounting period. 
AdjustmentNonReceivable    numeric(19, 4)  YES  It stores baddebt total charge amount for accounting period. 
ChargesInpatient    SXACurrencyDt  YES  It stores Inpatient charge amount for accounting period. 
PaymentsInpatient    SXACurrencyDt  YES  It stores Inpatient Payment amount for accounting period. 
AdjustmentsInpatient    SXACurrencyDt  YES  It stores Inpatient Adjustment amount for accounting period. 
ChargesOutPatient    SXACurrencyDt  YES  It stores Outpatient charges amount for accounting period. 
PaymentsOutPatient    SXACurrencyDt  YES  It stores Outpatient payment amount for accounting period. 
AdjustmentsOutPatient    SXACurrencyDt  YES  It stores Outpatient Adjustment amount for accounting period. 
ChargesAmbulatory    SXACurrencyDt  YES  It stores Ambulatory charge amount for accounting period. 
PaymentsAmbulatory    SXACurrencyDt  YES  It stores Ambulatory Payment amount for accounting period. 
AdjustmentsAmbulatory    SXACurrencyDt  YES  It stores Ambulatory Adjustment amount for accounting period. 
PaymentsNonPatient    SXACurrencyDt  YES  It stores NonPatient payment amount for accounting period. 
AdjustmentsNonPatient    SXACurrencyDt  YES  It stores NonPatient Adjustment amount for accounting period. 
NetAdjustmentsAccountReceivable    SXACurrencyDt  YES  This column will only contain the AR adjustments posted excluding the Bad Debt Transfer 
NetAdjustementsBadDebt    SXACurrencyDt  YES  This column will only contain the Bad Debt adjustments posted excluding the Bad Debt Transfer 

dbo.SXARCMAccountingPeriod Primary and Unique Keys 
Key Name  Key Type  Keys 
SXARCMAccountingPeriodPK  PrimaryKey  AccountingPeriodID