The following field information is intended to assist those who design reports for Sage 50 using Crystal Reports.
EARNSUMM.DAT is the employee earnings summary file. It contains a record (row) for each quarter per employee.
These fields define the quarters per employee and weeks worked per quarter. There are two sets of quarters:
To determine Sage 50's current calendar (payroll) year, do the following:
Note: Calendar (payroll) and the fiscal years are different concepts that don’t necessarily refer to the same real year. Calendar years refer to payroll years that start in January and end in December; fiscal years are established in Sage 50's New Company Setup wizard and can start and end at any time.
The EARNSUMM.DAT file has four keys, as follows:
0 = ByEarnSumm_RecordNumber – Unique and doesn’t change. Usually used to link to other tables.
1 = ByEarnSumm_EarnSummGUID
2 = ByEarnSumm_EmpRecNum – Identifies the employee associated with this earning summary information
3 = ByEarnSumm_EmpRecNumQtr – Used to retrieve the earning summary information for an employee sorted by quarter
Field Name |
Type |
Size |
Comment |
---|---|---|---|
RecordNumber |
Integer |
Used as a table-linking field. |
|
GUID |
Ubinary |
GUID (Globally Unique Identifier) used for linking the Earnings Summary table. |
|
LastUpdateCounter |
Integer |
This is a counter that increases incrementally each time a record is modified. |
|
EmployeeRecordNumber |
Integer |
Identifies the employee. |
|
Quarter |
Integer |
Identifies the quarter. |
|
WeeksWorked |
Integer |
The number of weeks the employee worked (based on paychecks entered in Sage 50) in the quarter. |