How to add many Adjustments to Sale items at once (check-offs, percentages, etc.)

Article ID: 110228
Category: Records
Date Added: 8/2/2006
Date Updated: 8/22/2018


This proceedure is provided for archival purposes only. ShoWorks versions since 2012 expanded the tool "Adjust Sale" (Sale Adjustment Wizard) located under the "Tools" menu, which allows users to adjust any sale item by %, flat rates, weights, and more. The instructions serve as a technique to using spreadsheets and manual intervention of records to add to or manipulate the sale. This article is for advanced users only.

Oftentimes, miscellaneous deductions other than commissions (such as swine check-offs, market adjustments, etc.) need to be taken out of an exhibitors check for their sale item.  Note, that standard commissions that are based on the percentage of the item sold are already automated in the Divisions menu under the Sale tab.  These extra deductions (non-commissions) are often based on a percentage of the weight or sale item, or perhaps a flat fee. In any case, a work-around to add these in is to use Microsoft Access and Excel.


Note:  This procedure requires the use of Microsoft Excel and Microsoft Access.  The versions of each depend on the version of ShoWorks that you are using.  For clarification on version compatibilities of Microsoft Access (and Excel), please see the article: Understanding versions of ShoWorks and Microsoft Access

To automate Misc. Adjustments to the sale by using a spreadsheet, do the following:

  1. Once the sale is completed, run the ShoWorks Companion for Microsoft Access. 
  2. Close the Companion and reopen so that the toolbars are displayed. 
  3. In the Companion, click the Queries tab. 
  4. Highlight Query "130" and click the button "Build a Query over this Query". 
  5. In the top menu bar, select View>>Totals. 
  6. In the query grid in the row marked "Field" select the field "Invoice Number" for the first column. You can then choose any fields in the remaining columns, such as "Exhibitor Name", "Sale Weight", "Show Weight", "Unit Price", etc. Just do not choose the fields "Is Add-on" NOR "Sale Transaction ID" NOR any fields that begin with "Buyer…". Once exception that you may choose is "Buyer Amount", but if you select this, you must change the "Group by" below it to "Sum".
  7. Run the query by selecting Query>>Run in the top toolbar.
  8. In the top menu bar, select Tools>>Office Links>>Analyze it with Microsoft Office Excel.
  9. Your goal now is to arrange the presented spreadsheet in the following layout (you are now in Excel): 
    1. Column A row 1 should have the word "Invoice Number" exactly as spelled. Subsequent rows 2 through … should have invoice numbers in them.
    2. Insert a blank column for Column B and make the heading (row 1) read: "Sale Adjustment Name" exactly as spelled. You can now type (and copy/paste) in subsequent rows 2 through … the name of your adjustment. For example: "Swine Check-off fee". 
    3. Insert a blank column for Column C and make the heading (row 1) read: "Sale Adjustment Amount" exactly as spelled. You can now create a formula in subsequent rows 2 through … for the value that you need. For example, if you wanted an amount that was 1.5% of the total weight of the animal, and the weight was in column E, then you would type =E2*0.015 and copy this formula down the remaining rows. Important! Use a negative number if the amount is going to be charged to the person. Otherwise, a positive number means that the fair is giving the amount to the person. So in our example, the formula should be =E2*-0.015 if we are taking the amount away.
    4. Insert a blank column for Column D and make the heading (row 1) read: "To Buyer" exactly as spelled. You can now type (and copy/paste) in subsequent rows 2 through … either "Yes" or "No". Use "Yes" if the amount is going to be applied to the buyer's bill and "No" if the amount is going to be applied to the exhibitor.
  10. You should now have a spreadsheet with the first four columns reading "Invoice Number", "Sale Adjustment Name", "Sale Adjustment Amount", and "To Buyer". The remaining columns can be anything you want.
  11. Highlight only the cells A1 through Dxxx where xxx is the total number of rows. For example, if you had 300 rows, then this would be A1 through D300.
  12. In the top menu bar, select Edit>>Copy
  13. In the Companion, on the Queries tab, click the "Build a New Query" button.
  14. While the "Design View" item is selected, click the "OK" button.
  15. Click the "Preferences" box that is located in the grid. Then select "Edit>>Delete" in the top menu bar to clear this.
  16. In the top menu bar, select Query>>Show Table.
  17. Scroll to locate the table "Sale Adjustments". Highlight and click the "Add" button, then click the "Close" button to close the dialog box.
  18. In the first column and first row of the grid, select Sale Adjustments.* This is the first item in the list. Note, this has a "dot" and an asterisk.
  19. In the top menu bar, select Query>>Run.
  20. Paste your records by selecting in the top menu bar, Edit>>Paste Append.
  21. You should now see the resulting records and may close the Companion and note that records have now been added for the adjustments.

Question not answered in this article?
Click to Contact GladStone support for more information.

Login here with your
Service Plan Number

Need help in locating your Service Plan Number?