Zeroing out account balances is often done at the end of school year for graduating students. This is a simple four step process that includes the use of MS Excel and can be used for both positive and negative adjustments. The process includes exporting a balance list, modifying the balance list in Excel, creating a balance adjustment import definition and executing the import definition to finalize the balance adjustment.


Note! It's advised to test balance adjustment imports on your training database first to be sure that no mistakes are made and that the adjusted results look correct before preceding to the balance adjustment import on your live site.


TABLE OF CONTENTS

Step One - Customer Balance List

The first step in this process is to export a Customer Balance List that includes all the students who's account balances need to be zeroed out. When the list is exported, make note of the total number of students who's accounts will be zeroed and the total amount of $ being adjusted. This information will be in the exported list.


-> Go To: Point of Sale > REPORTS > Customer Accounts > Customer Balance List

1. Adjust the appropriate filters to select the balance type (positive or negative) and the students you want included in the balance list. You can also set a balance range instead, such as $00.01 to $9.99. 


2. Click the View/Print button to load the report. Once the report is loaded for view, double check that it includes the correct information. Note the total number of students and total amount of money to be adjusted. You may want to print a copy for reference.


3. Click the Export button to load the report in the export window. 


4. Once loaded, click the Select a format dropdown menu to select 'CSV (comma delimited)':


5. Click Export to download the Customer Balance List in CSV format:


Step Two - MS Excel

The second step in the process is to import the customer balance list from step 1 into Excel to remove unneeded data and invert the balances. This means if balances are negative, make them positive. If they are positive, make them negative. We do this so that when we import this file back in to MealTime in step 4, the newly inverted balances cancel out the current balances, effectively setting them to zero. 


Two columns from the balance list are required for the adjustment: Customer ID and Available Balance. Everything else can be removed if it helps to organize the file. You may also want to add a Notes column with a short comment as to why the adjustment was made. 


Only rows that contain customer data are needed. All rows that do not contain customer data should be removed from the balance list. (You can keep the single header row if it helps now and remove that row from import later).


1. Open the Customer Balance List from step 1 with Microsoft Excel.


PREPARING THE CSV

2. Remove the rows of data from the top down that do not include customer data. There should be nine rows to remove. You can leave the header row if it's helpful.


3. Remove the rows of data from the bottom up that do not include customer data.


4. Optional. Remove all columns other than Customer ID and Balance.


5. Optional. Add a new column titled "Notes" and add a short comment that describes the reason for the adjustment to each customer entry in the list.


INVERTING THE BALANCES

6. Type "-1" into an empty cell in the first row of the empty column to the right:


7. Copy the "-1" to the clipboard. You can use Control + C key combination or right-click in the cell and select Copy from the menu.


8. Select All of the values in the Account Balance column and right-click to open the Paste Options Menu:


9. Navigate to and click on Paste Special in the bottom of the menu as shown in the image above to open the Paste Special window:


10. Select Multiply in the Operation section as shown in the image above and click the OK button.


Excel will now multiply all the values in the balance column by -1, thereby inverting the values from negative to positive or positive to negative:


The final result should look like the following, which includes the Customer ID column (C), Account Balance column (H) and an added Notes column (I): 


Step Three - Balance Adjustment Import-Design

Note! It's advised to test balance adjustment imports on your training database first to be sure that no mistakes are made and that the adjusted results look correct before preceding to the balance adjustment import on your live site.


The third step in the process uses the Balance Adjustment Import-Design page. Here, you will create a new definition, upload the file you modified with Excel in step 2 and map the required fields from the balance list to the same fields in MealTime. The three fields that are mapped at this stage are Customer ID, Balance and Notes.


-> Go To: Point of Sale > CUSTOMERS > Importing > Balance Adjustment Import-Design

1. Click the Add button to create a new import definition.


2. Enter an *Import Name for the definition. It is recommended to use a simple name related to the task, such as "Clear Positive Balances".


3. Click on Upload Import File to upload the CSV balance list modified with Excel in step 2. 


4. Click the Next Step button to move on to part 2 of the design process:
5. Enter a value for Ignore # of Rows ONLY if you left header rows in the CSV file when editing in Excel. This setting tells MealTime to ignore the specified number of rows during import. Setting this incorrectly can lead to a failed import or cause some data to be left out of the import. 
The value is equal to the number of header rows above the actual dataIf there is a 1 row header, enter 1.


6. Double check that the information in the SAMPLE RECORDS window looks correct. This window helps you to see which columns in the report will be used for mapping field positions. Each column is numbered.


7. Map the three required system fields to their locations in the import file. In the above example, *Customer ID is mapped to column 2, *Balance Adjustment is mapped to column 7 and Notes is mapped to column 8.
*This is a required field.


8. Click the Finish button to complete the design. You'll be prompted to return to the design stage or continue to execute the import:
Click On to Execute to move on to Step 4 and execute the balance adjustment.


Step Four - Balance Adjustment Import-Execute

Note! It's advised to test balance adjustment imports on your training database first to be sure that no mistakes are made and that the adjusted results look correct before preceding to the balance adjustment import on your live site.


The fourth step in the process takes the Balance Adjust Import definition you created in step 3 and executes it in MealTime, applying the newly revised account balances. Once this process is complete, all account balances in the balance list should be zero.


-> Go To: Point of Sale > Customers > Importing > Balance Adjustment Import-Execute

1. Select the import definition you created in step 3 from the list window.


2. With your import definition selected, click the Import button. You'll see the following warning message:
3. Click the Continue button to move on to the Balance Adjustment Import Preview to validate the adjustments before processing them or click the Cancel button to cancel.


The Balance Adjust Import Preview window provides you with the total value of positive adjustments, total value of negative adjustments and total number of matched customers affected by the import. 
Important Note! Make sure that the total value of the adjustment and total number of students matches the counts from step 1.


To see how the import will affect your customer balances, download the Preview file to view pending changes before accepting the import.


3. Click the Accept Import button to accept and execute the balance adjustment import, click the View Pending Changes button to download the Preview file or click the Cancel button to cancel the import.


Clicking Accept Import will present you with a final message asking if you are sure you want to import the file.

4. Click the I Am Sure button to accept the import and execute the balance adjustments or click the Cancel button to cancel.


Once the balance adjustment import is complete you will see an update in the History section, which displays the Date Imported, Imported by, Status, Matched, Unmatched, Updated and Error details:
5. Click on the Date Imported timestamp to reveal Import Details to download the Input, Results or Settings files or check for Important Error Details.
If the import fails or produces an error, these details can help you to troubleshoot the problem. 


Confirmation

With the balance adjustment complete, it's a good idea to revisit step 1 and run the Customer Balance List again using the same filter settings as before. You should see that there are no longer any remaining balances in the list.