Attendance/Absence Import

Attendance/Absence Import

 

In order to use Attendance/Absence Import option, the user will need to have the default USPS_STANDARD or USPS_STANDARD_ATTENDANCE_IMPORT role. If changes to a user’s roles are needed, a user with the ADMIN role can assist.

The Utilities>Attendance/Absence Import option allows data (often obtained from third party software) contained in a load file to be imported into USPS. When the load file is imported, information contained in the load file creates Core>Attendance records as well as payment information into Payroll Payments - Future or Payroll Payment - Current. For payment entries, payroll account(s) can be included in the import file for charging purposes. There is no limit to the number of records that can be included in the import file.

The import file must conform the following:

  • Column placement must match the file specifications listed below.

  • All required fields must be formatted the file specifications listed below.

  • The load must be formatted as a comma delimited or a comma separated values (CSV) file.

Some districts utilize the deferred posting absence option when posting sick, vacation, and personal leave. The deferred absence posting option allows absence entries to be created in Attendance that affect a future pay period to be entered at any time. These leave entries will not touch the employee’s current leave balance until the Activity Date on the leave record falls within the payroll’s Start Date and Stop Date. If the System>Configuration>Deferred Absence Posting checkbox is marked prior to the file being loaded in Attendance/Absence Import, the deferred absences rules will apply. For more information regarding deferred absence posting, click here.

image-20250429-172246.png

 

  • Attendance Import File - Must be formatted as a comma delimited or a comma separated (CSV) file.

  • Location Code - Used to determine the Position to post the transaction to if one is not included in the load file. The Location Code may contain either a Position>Building IRN or Position>Building Code/Department Code. If using the Location Code field, select one of the following options: 

    •  Building IRN

    •  Building/Department Code

    •  None

  • Post to Payroll Processing Options offers the following options:

    •  None - No Payroll Payments - Future or Payroll Payments - Current payment posting will occur. Column O (Gross) of the CSV file is ignored as well.

    • Post to Payroll Processing Future - Payment information will be posted to Payroll Payments - Future.

    • Post to Payroll Processing Current - Payment information will be posted to Payroll Payments - Current.

  • Combine Attendance Entries

    • Mark the checkbox - If AT entries that include payment information, when imported will create Payroll Payment - Future or Payroll Payments - Current entries, for employees should be combined. In order for Payroll Payments - Future and Payroll Payments Current entries to be combined, Column B, Column C, Column Q, Column I, Column J, Column R, Column S, Column V, Column N, Column W must match. These entries will be combined on the employees pay slip - not on the Pay Report.

    • Unmark the checkbox - If AT entries that include payment information, when imported will create Payroll Payment - Future or Payroll Payments - Current entries, for employees should not be combined.

  • Allow Negative Leave Balance prompt offers the following options: 

    • Mark the checkbox - If AB entries, when imported will create Attendance records for sick, vacation and personal leave, should allow employees leave balances to become negative. These situations will appears as warning errors on the error report.

    • Unmark the checkbox - If AB entries, when imported will create Attendance records for sick, vacation and personal leave, should not allow employees leave balances to become negative. These situations will appears as fatal errors on the error report.

      • Even if the Rules>Rule to prevent Sick Leave balance from going negative is false, the checkbox needs to be checked to allow negative balances.

  • Payroll Account to Charge prompt offers the following options:

    • Defined Payroll Account for Position - Charge the Position>Pay Account(s).

    • Sub for SSN - Charge the regular employee’s Position>Pay Account(s). The Employee ID entered must have a Compensation with remaining pays (Pays Paid must be less than Pays In Contract).

      • Specific object codes can be entered when the Sub for SSN option is selected.

        • Certified Object - Enter the appropriate certified object code.

        • Classified Object - Enter the appropriate classified object code.

image-20250429-172343.png

File Specifications

 This file is used to import attendance and/or absences into Attendance and/or payment information into Payroll Payment - Future or Payroll Payment - Current. The field names that are bolded are required in the load file. Column headings are not required in the load file; however, column placement must be match the spreadsheet column listed below.

Field Name

Spreadsheet Column

Column Position  

Field Location and Valid Values

Format

Maximum Character Size 

Field Name

Spreadsheet Column

Column Position  

Field Location and Valid Values

Format

Maximum Character Size 

Record Indicator

A

1

Indicates Absence/Attendance

  • AA

XXXX

Employee Number

B

2

Employee>Number

XXXXXXXXX

Position Number

C

3

Either the Position Number or a location code

  • Position>Building IRN or

  • Position>Building Code/Department Code

99

Location Code

D

4

A location code can be used instead of a Position Number.

  • Position>Building IRN or

  • Position>Building Code/Department Code.

XXXXXX

Activity Date

E

5

Attendance>Activity Date

YYYYMMDD

Transaction Type

F

6

Attendance>Type

  • AB = Absence

  • AT = Attendance

XX

Transaction Category

G

7

Attendance>Category

AB Type:

  • CA = Calamity

  • DO = Dock

  • HO = Holiday

  • JD = Jury Duty

  • MI = Military

  • OT = Other

  • PL = Personal

  • PR = Professional

  • SI = Sick

  • UN = Unknown

  • VA = Vacation

AT Type:

  • AT = Attendance

  • SB = Substituting

XX

Transaction Length

H

8

Attendance>Length

  • Numeric value of absence or attendance

(+/-)99999.999

10 

Unit

I

9

Attendance>Unit

Compensation>Pay Unit

  • H = Hourly

  • D = Daily

XX

Rate

J

10

Payroll Payments - Future>Unit or Payroll Payments - Current>Units

  • If a value is entered, this rate will be used when the record is created.

  • If a value is not entered, the Compensation>Unit Amount will be used when the record is created.

    • For Overtime (OT), leave the Unit blank and the system will calculate a value by Compensation>Unit Amount X 1.5% and round the value using Configuration>Rounding Configuration>Unit Amount Decimal Positions.

(+/-)9999.999

Appointment Type

K

11

Position>Appointment Type

  • Space = Not Defined

  • 1 = Certified

  • 2 = Classified

XX

Substitute For

L

12

Attendance>Substitute For

  • Number of employee the substitute is working for. May be used to determine pay account charging.

XXXXXXXXX

Sub Category

M

13

Attendance>Sub Category

  • User defined.

 

XX

Expenditure Account

N

14

Payroll Payments - Future>Specific Pay Accounts or Payroll Payments - Current>Specific Pay Accounts

  • Pay Account

    • Fund = XXX

    • Function = XXXX

    • Object = XXX

    • Special Cost Center = XXXX

    • Subject = XXXXXX

    • Operational Unit = XXX

    • Instructional Level = XX

    • Job = XXX

  • XREF Code

Alphanumeric

28 

Gross

15 

Payroll Payments - Future>Gross or Payroll Payments - Current>Gross

  • Y = Yes

  • N = No

  • Space = User defined. When the file is loaded, you will be prompted to select:

    • Post to Future

    • Post to Current

    • None

 X

Retire Hours

16 

Payroll Payments - Future>Retire Hours or Payroll Payments - Current>Retire Hours

  • Entering a value of 0 in the load file will result in 0 being populated in the Retire Hours field.

  • For REG and OT Pay Types (Column Q), the Compensation>Hours In Day value will be used if retire hours are not included in the load file.

  • For MIS, DCK, SHP, IRR, BCK, and TRM Pay Types, the Retire Hours value will be set to 0 if retire hours are not included in the load file.

 (+/-)999.999

Pay Type

17 

Payroll Payments - Future>Pay Type or Payroll Payments - Current>Pay Type

  • REG = Regular (Can not be used if Compensation>Strs Advance checkbox is marked).

  • MIS = Miscellaneous

  • OT = Overtime

  • DCK = Dock

  • SHP = Shift Premium

  • IRR = Irregular (Can not be used if Compensation>Strs Advance checkbox is marked).

  • BCK = Retro

  • TRM = Termination

  • POF = Pay off accrued wages

  • NC1 = Life Insurance Premium

  • NC2 = Adoption Assistance

  • NC3 = Non-cash Taxable Benefit

XXX 

Supplemental Tax Option

18 

Payroll Payments - Future>Supplemental Tax Option or Payroll Payments - Current>Supplemental Tax Option

  • 1 = Apply Annuities to Regular

  • 2 = None

  • 3 = Apply Annuities to Supplemental

  • Space = None

If left blank in csv file:

• If the Compensation>Supplemental Type Option equal Apply Annuities to Regular, then Apply Annuities to Regular is automatically assigned.

•  If the Compensation>Supplemental Type Option equal Apply Annuities to Supplemental, then Apply Annuities to Supplemental automatically assigned.

•  If the Compensation>Supplemental Type Option does not equal Apply Annuities to Regular or Apply Annuities to Supplemental, then no supplemental tax option is assigned.

 X

Applies For Retirement

19 

Payroll Payments - Future>Applies For Retirement or Payroll Payments - Current>Applies For Retirement.

  • Y or Space = Mark the checkbox.

  • N = Do not mark the checkbox.

Description

20 

Payroll Payments - Future>Description or Payroll Payments - Current>Description

  • Quotes are acceptable.

  • Multiple values can be entered by separating them with a comma.

    • Example: 5/8/25, 5/10,25

Alphanumeric 

25 

Attendance  

21 

Attendance

  • Should an Attendance record be created?

    • Y or Space = Yes, create an Attendance record.

    • N = No, do not create an Attendance record.

 X

Board Distribution Flag

22 

Payroll Payments - Future>Specific Pay Account>Employer Distribution or Payroll Payments - Current>Specific Pay Account>Employer Distribution

  • Y or Space = Mark the checkbox.

  • N = Do not mark the checkbox.

Leave Projection Flag

23 

Payroll Payments - Future>Specific Pay Account>Leave Projection or Payroll Payments - Current>Specific Pay Account>Leave Projection

  • Y or Space = Mark the checkbox.

  • N = Do not mark the checkbox.

Effective Date

24 

Payroll Payments - Future>Effective Date

YYYYMMDD 

Label

Y

25

Compensation>Label

  • Used to assign the appropriate Compensation to the Attendance record.

  • If the employee has more than one Compensation assigned to the same Position, the Label is used to determine which Compensation to apply the entry to.

Alphanumeric 

 

USPIMPORT.CSV Sample

ATTERR Error Report

Once the import file has been loaded, any errors will be displayed on the Attendance/Absence Import grid and listed in the ATTERR.CSV report. To view the error(s), open the ATTERR.CSV file. Below is an example of an error message (the error is in bold):

  • AA,XXXXXXXXX,01,,20160520,AB,VA,1,D,320.000,1 | "Error message here"

Any necessary corrections can be made directly in the ATTERR.CSV file. Removing the error messages is not required. The corrected ATTERR.CSV file can then be saved in CSV format and then loaded using the Attendance/Absence Import option.

Common Fatal Errors:

  • Attendance for the day cannot total more than 1 day.

    •  If the Leaves>Leave Unit equals Daily and the Length is greater than 1 or less than -1.

  • Attendance for the day cannot total more than 24 hours.

    •  If the Leaves>Leave Unit equals Hourly and the Length is greater than greater than 24 or less than -24.

  • An Attendance entry cannot be posted to a position for which the job status is deceased.

    • An Attendance entry cannot be posted to a Position with a Job Status that equals Deceased.

  • An Attendance entry cannot be posted to a position for which the job status is terminated.

    • An Attendance entry cannot be posted to a Position with a Job Status that equals Terminated.

  • Appropriation account does not exist for budget account.

    • Budget account to be charged does not have a corresponding appropriation account. Verify the Expenditure Account is in the CSV file (Column N).

  • Balance for Sick (Employee#: XXXXXXXXX) is negative.  Negative leave balances are not allowed.

    • Verify the employee’s Leaves>Balance.

    • Verify System>Rules:

      • Is the Rule to prevent Sick Leave Balance from going negative enabled (true)?

    • If advance sick leave is permitted (Leaves>Max Advance Leave has a value and Advanced Units Used along with System>Configuration>Advance Sick Leave Configuration and System>Rules>Rule to prevent Advanced Sick Leave balance from going past Max Advanced allowed is set, mark the Allow Negative Leave Balances checkbox in Attendance/Absence Import.

  • Board distribution flag must be Y, N or blank. 

    • Verify the Board Distribution Flag field in the CSV file is set to a Y, N, or a space (Column V).

  • Cannot determine compensation for posting transaction to payroll.  More than 1 active non-contract compensation.

    • Employee has more than one Compensation created for the same Position. Verify the correct Position Number (Column C) and a Compensation>Label is entered (Column L) in the CSV file.

  • Compensation is advanced.  New earnings (REG) may not be added to the compensation.

    • When the Compensation>Strs Advance checkbox is marked a payment using the Regular Pay Type can not be created. Verify the Pay Type in the CSV file (Column Q).

  • Date of transaction is not in YYYYMMDD format or is invalid based on the month and the number of days in the month.

    • Date must be in YYYMMDD format and/or be a valid date within the month. Verify the Activity Date in the CSV file (Column E).

  • Days worked = workdays in contract.

    • The Compensation>Contract Days Worked cannot equal Contract Work Days.

  • Days worked exceeds workdays in contract.

    • The Compensation>Contract Days Worked can not exceed the Contract Work Days.

  • District not set up to use XREF codes.

    • XREF code has been supplied in the CSV record, but the district does not have XREF codes created in USAS>Accounts. Verify the Expenditure Account is in the CSV file (Column N).

  •  Invalid Activity Date. 

    • Date must be in YYYYMMDD format and can not be blank. Verify the Activity date in the CSV file (Column E).

  • Invalid XXXXXX account.

    • Account in the CSV file is invalid. The pay account must meet AOS Blue Book standards. Verify the Expenditure Account is in the CSV file (Column N).

  • Invalid Effective Date.

    • Date must be in YYYYMMDD format. Verify the Effective Date in the CSV file (Column X).

  • Invalid job number.

    • If posting to Payroll Payments - Future or Payroll Payments - Current and the Position Number (Column C) is zero or a Position Number was supplied in the CSV file and there is no corresponding Position record on file for the Employee ID.

  • Invalid pay type.

    • Posting to Payroll Payments - Future or Payroll Payments - Current and the CSV file contains an invalid Pay Type. Verify the Pay Type in the CSV file (Column Q).

  • Invalid special cost center.

    • Special Cost Center of the pay account in the CSV file is not valid. Verify the Expenditure Account is in the CSV file (Column N).

  • Invalid transaction category.

    • For the AT Transaction Type, the Category must be either AT or SB. For the AB Transaction Type, the category must be one either CA, DO, HO, JD, MI, OT, PL, PR, SI, UN, or VA. Verify the Transaction Category in the CSV file (Column G).

  • Invalid transaction date.

    • Activity Date is before 1970/01/01, the date is not in YYYYMMDD format, or the date is invalid based on the month and the number of days in the month. For example: 19990231 would be invalid since February does not include 31 days. Verify the Activity date in the CSV file (Column E).

  • Invalid transaction type.

    • Transaction Type must be either AB or AT. Verify the Transaction Type in the CSV file (Column F).

  • Invalid record indicator on record:

    • The record number specified does not contain a record indicator of AA.  Verify the Record Indicator in the CSV file (Column A).

  • Irregular pay type affects contract amount paid for advanced compensation, cannot be used.

    • When the Compensation>Strs Advance checkbox is marked a payment using the Irregular Pay Type can not be created. Verify the Pay Type in the CSV file (Column Q).

  • No Active compensations found for posting transaction to payroll

    • Employee's Compensation has the Archived checkbox marked, the Compensation Start Date and Compensation Stop Date values are not within the current payroll date range. Verify the correct Compensation>Label is entered (Column L) and the Position Number (Column C) in the CSV file.

  • No Employee found for Employee #: XXXXXXXX

    • There was no match found in the system for the Employee ID supplied in the CSV file. Verify the Employee record exists in USPS and the Employer Number in the CSV file (Column B). 

  • No position number provided or determined for payroll posting

    • A Position Number was not supplied in the CSV file. Verify the Position Number in the CSV file (Column C).

  • The Appointment Type in the CSV file must match the Appointment Type on Position View. Employee #: XXXXXXXX

    •  The Appointment Type in the CSV file must match the Position>Appointment Type. Verify the Appointment Type in the CSV file matches USPS (Column K).

  • The value supplied in the CSV file for the calculate gross option was invalid.   

    • Verify the Gross field in the CSV file is set to a Y, N, or a space (Column O).

  • This Position / Employee is not eligible for personal leave.

    • The Core>Position>Eligible For Personal Leave checkbox is not marked.

  • This Position / Employee is not eligible for sick leave.

    • The Core>Position>Eligible For Sick Leave checkbox is not marked..

  • This Position / Employee is not eligible for vacation leave.

    • The Core>Position>Eligible For Vacation Leave checkbox is not marked.

  • Leave Projection flag must be Y, N or blank. 

    • Verify the Leave Projection field is set to a Y, N, or a space (Column W).

  • Leaves records do not exist for Employee #: XXXXXXXXX.

    • There is no Core>Leaves record in USPS for the Employee ID in the CSV file.

  • No acct code but has BRDDIS/LEVPRO.

    • A Pay Account is required if the Board Distribution Flag (Column V) and Leave Projection Flag (Column W) are set to Y. Verify an Expenditure Account (Column N) is in the CSV file.

  • Pays paid = number of pays.

    • The Compensation>Pays Paid cannot equal the Pays In Contract. Verify the Position Number (Column C) and/or Label (Column Y) in the CSV file.

  • Position number could not be determined for payroll posting.

    •  Verify a Position Number is included in the CSV file (Column C).

  • String index out of range: XX.

    • The Pay Account must be 28 digits. Verify the Expenditure Account in the CSV file (Column N).

  • Too large. The unit amount on the csv file cannot be greater than 9999.999.

    • The unit amount is greater than the acceptable amount of 9999.999. Verify the Unit in the CSV file (Column I).

  • Tracking unit not equal to benefit unit.

    • The Unit supplied in the CSV file does not match the employee’s Leaves>Leaves Unit. Verify the Unit in the CSV file (Column I).

  • Transaction length cannot equal zero.

    •  Verify the Transaction Length in the CSV file is greater than zero (Column H).

  • Unable to write ABSDET record.

    • When the system tried creating the record, a record with the same key values already exists.

  • XREF code not found.

    • XREF code has been supplied in the CSV record, but the USAS>Accounts does not include the XREF code. Verify the Expenditure Account is in the CSV file (Column N).




 

Related content