You are on page 1of 4

1.

1 Uploaded Payroll Data Fields


These are the schema for the uploaded payroll data. The upload data is in XML format.
All table and column names are that names that appear in the XML file.

1.1.1 Payroll Table


XML Tag: Payroll
Primary Key: StoreID + PayrollWeekID

Column Data Type Description


StoreID Integer Store Identifier
PayrollWeekID Integer Payroll Week Identifier
Value corresponds to DBM fiscal calendar
identifier
StartWeekDate DateTime Calendar date of the first day of the payroll
week
EndWeekDate DateTime Calendar date of the last day of the payroll week
Status Integer Used by internal processes
0 = Payroll week is open
1 = Payroll week is closed and not exported for
transmission
2 = Payroll week is closed and has been
exported to disk for transmission
StatusChangeTimestamp DateTime Calendar date and time of the last status change
for the record
StatusEmployeeID String Employee ID of the person making the last
status change

1.1.2 Daily Summary Table


XML Tag: DailySummary
Primary Key: StoreID + EmployeeID + PayrollWeekID + PayrollDayID + SequenceID

Column Data Type Description


StoreID Integer Store Identifier
EmployeeID String Employee Identifier
PayrollWeekID Integer Payroll Week Identifier
Value corresponds to DBM fiscal calendar
identifier
PayrollDayID Integer Numeric Identifier for the day within the payroll
week
1 = Sunday
7 = Saturday
SequenceID Integer Sequence Identifier to allow multiple payroll
records for a given day
Column Data Type Description
Duration Decimal Amount of time worked rounded to the
configured time interval. Also the amount of
time to use for manually entered payroll records.
ClockIn DateTime Actual time the employee clocked in
ClockOut DateTime Actual time the employee clocked out
TimeCode Integer The numeric value of the payroll codes defined
by Dressbarn and Maurices
OverrideManagerID String The employee ID of the manager who last edited
this record. Only applicable if the record was
modified with BackOffice.
MgrFullName String The full name of the manager identified by
OverrideManagerID
OverrideTimestamp DateTime The date and time the record was modified
ClockInCode Integer Source of the clock in time
0 = POS
1 = Backoffice
ClockOutCode Integer Source of the clock out time
0 = POS
1 = Backoffice
DurationCode Integer This code indicates if the duration was calculated
from clockings or entered manually in Backoffice
0 = Calculated from clockings
1 = Entered manually
BusinessDate DateTime Calendar date of the operating day
PersonnelID String Personnel ID from employee table

1.1.3 DailyAudit Table


The definition of this record is identical to the definition a record in the DailySummary
table. In this case the records are duplicated data from the DailySummary. The meaning
of a give DailyAudit record must be taken in context with the other records in a change
group. The sub-key ChangeSequenceID defines a sequenced grouping of records that
when combined with the ChangeFlag will show an audit trail for the given payroll record.
The ChangeFlag indates additions, deletions, and modifications to a record. Addition and
deletion records are complete replications of the daily summary record at the time of the
operation. Modification records exist in pairs, and show the before and after states of a
modification.

XML Tag: DailyAudit


Primary Key: StoreID + EmployeeID + PayrollWeekID + PayrollDayID + SequenceID +
ChangeSequenceID

Column Data Type Description


StoreID Integer Store Identifier
Column Data Type Description
EmployeeID String Employee Identifier
PayrollWeekID Integer Payroll Week Identifier
Value corresponds to DBM fiscal calendar
identifier
PayrollDayID Integer Numeric Identifier for the day within the payroll
week
1 = Sunday
7 = Saturday
SequenceID Integer Sequence Identifier to allow multiple payroll
records for a given day
Duration Decimal Amount of time worked rounded to the
configured time interval. Also the amount of
time to use for manually entered payroll records.
ClockIn DateTime Actual time the employee clocked in
ClockOut DateTime Actual time the employee clocked out
TimeCode Integer The numeric value of the payroll codes defined
by Dressbarn and Maurices
OverrideManagerID String The employee ID of the manager who last edited
this record. Only applicable if the record was
modified with BackOffice.
MgrFullName String The full name of the manager identified by
OverrideManagerID
OverrideTimestamp DateTime The date and time the record was modified
ClockInCode Integer Source of the clock in time
0 = POS
1 = Backoffice
ClockOutCode Integer Source of the clock out time
0 = POS
1 = Backoffice
DurationCode Integer This code indicates if the duration was calculated
from clockings or entered manually in Backoffice
0 = Calculated from clockings
1 = Entered manually
BusinessDate DateTime Calendar date of the operating day
ChangeSequenceID Integer Sequence ID for changes to a given payroll
record
ChangeFlag String Indicates the operation context for the history
record. This flag indicates if the history record
shows added data, deleted data, or changed data.
A = Added record. This data was added as a new
record to the payroll summary table.
D = Deleted record. This data was deleted as a
deleted record from the payroll summary table.
CB = Change Before. This was the state of a
payroll summary record before an edit.
Column Data Type Description
CA = Change After. This is the state of a payroll
record as a result of an edit.

PersonnelID String Personnel ID from employee table

You might also like