Supply Vendors
Executive Summary
Supply Vendors is where administrators maintain the vendors that supply products (for example meals) and the products each vendor sells. The list page shows every vendor and lets users add a vendor. Opening a vendor shows its detail page, with the vendor's contact details, its product catalogue (prices, taxes, cost, premium code, discontinued status), an audit trail of product changes, and the order forms built from the vendor's products. Products and forms can be imported from Excel, and the vendor's products can be exported to Excel.
Key Features
- Add a supply vendor with a code, name and bill by method (Scheduled Visit or Visit Premiums)
- Edit a vendor's contact details, ship via, employee AlayaCare ID and PDF password
- Add, edit, delete, disable (discontinue) and re-enable products
- Import products from Excel (two file layouts) and export a vendor's products to Excel
- Review the audit trail of changes made to products
- Build vendor order forms from sections and products, add all vendor products to a section at once, and import forms from Excel
Typical Workflow
- On the list, click Add, enter the Code, Name and Bill By Method, then click Save.
- Click the edit icon on the vendor (or right-click the row and choose Edit) to open it.
- On the General tab, click Edit to enter the vendor's contact and ordering details.
- On the Products tab, add products one at a time, or use Import Products / Import Products V2 to load them from Excel.
- On the Forms tab, click Add Form, then right-click the form and choose Edit to add sections and products to it (or use Import Forms).
- Use the Audit tab to review changes made to products, and Export to save the vendor's products to Excel.
Available Permissions
The following permissions are available to be assigned to AlayaCare Roles:
| Attribute | What It Controls |
|---|---|
| View | Open the vendor list and the vendor detail page |
Main Grid
The grid lists all supply vendors (14 rows per page).
| Column | Description |
|---|---|
| Code | Vendor code. |
| Description | Vendor name. |
| Bill By Method | How the vendor's products are billed: Scheduled Visit or Visit Premiums. |
| Manage Records | Edit icon that opens the vendor detail page. |
Actions
| Button | Description |
|---|---|
| Add | Opens the Supply Vendor dialog to create a vendor. |
| Edit icon on a row / right-click a row and choose Edit | Opens the vendor detail page. |
Dialog Components
Supply Vendor (add)
Opens from Add. Code, Name and Bill By Method are all required, and the Code must not already exist ("Vendor ... already exists"). Save creates the vendor; Cancel closes without saving.
| Field | Purpose |
|---|---|
| Code | Vendor code. |
| Name | Vendor name. |
| Bill By Method | Scheduled Visit or Visit Premiums. |
Supply Vendor Detail Page
Opens from the edit actions in the main grid. The top of the page shows the vendor's Code, Name and Bill By Method (read-only) and these buttons.
| Button | Description |
|---|---|
| Export | Exports the vendor to Excel (see Processing Overviews). |
| Import Products | Opens the Import Products dialog for the original import file layout. |
| Import Products V2 | Opens the Import Products dialog for the V2 import file layout. |
| Import Forms | Opens the Import Vendor Forms dialog. |
Tabs
| Tab | Purpose |
|---|---|
| General | The vendor's contact and ordering details, with an Edit button. |
| Products | The vendor's product catalogue. |
| Audit | History of changes made to the vendor's products. |
| Forms | Order forms built from the vendor's products. |
General
Read-only display of Email Address, Address Line 1, Address Line 2, City, State/Prov, Postal Code, Ship Via and Employee AC ID. Click Edit to open the Vendor dialog.
Products — Grid
The first three columns stay in place when scrolling sideways (14 rows per page).
| Column | Description |
|---|---|
| Product Id | Vendor's product identifier. |
| Description | Product description. |
| Qty Per Case Desc | Description of the case quantity. |
| Qty Per Case | Number of items per case. |
| Price | Current selling price. |
| Apply PST | Checked when PST is applied. |
| Apply HST | Checked when HST is applied. |
| Cost | Current cost. |
| Premium Code ID | AlayaCare ID of the premium code. |
| Premium Code | Premium code. |
| Discontinued | Checked when the product is disabled. |
| Discontinued On | Date and time the product was disabled (local time). |
| By | User who disabled the product. |
| Manage Records | Delete and edit icons. |
Products — Grid Filters
| Filter | Purpose |
|---|---|
| Filter Product Description | Shows only products whose description contains the text entered (not case sensitive). |
Click Apply Filter to refresh the list. Use Clear Filter to reset the filter.
Products — Grid Actions
| Button | Description |
|---|---|
| Add | Opens the Product dialog to add a product. |
| Edit | Opens the selected product for editing. Shows "Please select a product" when no row is selected. |
| Disable | Marks the selected product as discontinued after you confirm "Are you sure you want to discontinue this product?". Records the date, time and user. |
| Enable | Re-enables the selected disabled product after you confirm "Are you sure you want to enable this product?". Clears the discontinued date and user. |
| Edit icon / right-click Edit | Opens the product for editing. |
| Delete icon / right-click Delete | Deletes the product after you confirm "Are you sure you want to delete this product?". |
Audit — Grid
A read-only list of product changes (14 rows per page).
| Column | Description |
|---|---|
| Product Id | Product that was changed. |
| Changed | Date and time of the change (local time). |
| Field | Name of the field that changed. |
| Old Value | Value before the change. |
| New Value | Value after the change. |
Forms — Grid
| Column | Description |
|---|---|
| Form ID | Form number (numbered by year). |
| Name | Form name. |
| Last Status Date | Date and time of the last status change (local time). |
| Last Status By | User who made the last status change. |
| Status | Form status. |
Forms — Grid Actions
| Button | Description |
|---|---|
| Add Form | Opens the Add Vendor Form dialog. |
| Edit (right-click a row) | Opens the Edit Vendor Form dialog. |
| Delete (right-click a row) | Deletes the form after you confirm "Are you sure you want to delete the form ...?". |
Vendor
Opens from Edit on the General tab. Vendor Name is required. Save stores the changes; Cancel closes without saving.
| Field | Purpose |
|---|---|
| Code | Vendor code (read-only). |
| Name | Vendor name. |
| Bill By Method | Scheduled Visit or Visit Premiums. It can be changed only while the vendor has no supply orders; otherwise it is read-only. |
| Email Address | Vendor email address. |
| Address Line 1, Address Line 2, City, State/Prov, Postal Code | Vendor address. |
| Ship Via | Shipping method. |
| Employee AC ID | AlayaCare ID of the employee linked to the vendor. |
| PDF Password | Password for the vendor's PDF documents. |
Product
Opens from Add or the product edit actions. Product Id and Description are required. Save stores the product; Cancel closes without saving.
| Field | Purpose |
|---|---|
| Product Id | Vendor's product identifier. Can only be entered when the product is added. |
| Description | Product description. |
| Select A Category | Blank, Entree, Soup or Dessert. |
| Qty Per Case Description | Description of the case quantity. |
| Qty Per Case | Number of items per case (0 or higher). |
| Apply PST | Applies PST. |
| Apply HST | Applies HST. |
| Selling Price | Current selling price. |
| Cost | Current cost. |
| Select A Premium | Premium code for the product. Shown only when the vendor's bill by method is not Scheduled Visit. |
Import Products
Opens from Import Products or Import Products V2. Use Excel file to process to choose an .xlsx or .xls file (up to 100 MB). Process runs the import; Clear removes the chosen file; Close closes the dialog.
Import Vendor Forms
Opens from Import Forms. Select one .xlsx or .xls file and upload it; the import starts as soon as the file is uploaded. Close closes the dialog.
Add Vendor Form
Opens from Add Form. Enter the form Name and click Save (Close closes without saving).
Edit Vendor Form
Opens from the right-click Edit on the Forms tab. The form Name can be changed and saved with Save; Close closes the dialog. It has two tabs.
| Tab | Purpose |
|---|---|
| Sections | The sections of the form. |
| Products | The products placed on the form, by section. |
Sections — Grid
| Column | Description |
|---|---|
| Sequence | Order of the section on the form. |
| Description | Section name. |
| Manage Records | Delete and edit icons. |
Sections — Grid Actions
| Button | Description |
|---|---|
| Add | Opens the Add Form Section dialog. |
| Add All Vendor Products | Adds every product of the vendor that is not yet on the form to the section selected in the grid. Nothing happens unless exactly one section is selected. |
| Edit icon / right-click Edit | Opens the section for editing. |
| Delete icon / right-click Delete | Deletes the section after you confirm "Are you sure you want to delete this section?". |
Products — Grid
| Column | Description |
|---|---|
| Section | Section the product is in. |
| Product | Product description. |
| Manage Records | Delete and edit icons. |
Products — Grid Actions
| Button | Description |
|---|---|
| Add | Opens the Edit Form Detail dialog to add a product to the form. |
| Edit icon / right-click Edit | Opens the line to change its section. |
| Delete icon / right-click Delete | Deletes the line after you confirm "Are you sure you want to delete this detail line?". |
Add Form Section
Opens from Add or edit on the Sections tab. Fields: Sequence (0 or higher) and Name. Save stores the section; Close closes the dialog.
Edit Form Detail
Opens from Add or edit on the form's Products tab. Choose the Section; when adding, also choose the Product (when editing, the product is shown read-only). Save stores the line; Close closes the dialog.
Dependencies
The following tables must be configured for lookups on this view to work:
| Table | Description |
|---|---|
| Premium Codes | Premium codes offered in the product Select A Premium dropdown and matched by the Import Products V2 file. |
Processing Overviews
This section describes what happens after you confirm a processing action.
Export
- Builds an Excel workbook with a General sheet (vendor code and name) and a Products sheet listing every product of the vendor (not just the filtered ones) with its description, category, case quantity, prices, taxes, cost, premium code and discontinued details.
- Downloads the file as supplyvendor_ followed by the vendor code and the current date and time, with the extension .xlsx.
Import Products
- Closes the dialog and opens a progress panel titled Importing File.
- Reads the first sheet of the Excel file and checks that it has the expected number of columns and column headings. A warning is shown if not, and nothing is imported.
- For each data row, finds the product by the vendor code and product ID in the row. Adds it if it does not exist, otherwise overwrites it with the values in the row. A row with invalid data shows "Invalid Data in row" and is skipped.
- Shows "Import Finished" when done.
The original layout (Import Products) expects these columns in order: SupplyVendorCode, ProductID, Description, Supplemental, qtyPerCase, currentSellingPrice, applyPST, applyHST, currentCost, premiumCodes_acId, status.
The V2 layout (Import Products V2) expects: SupplyVendorCode, ProductID, Description, QtyPerCase, QtyPerCaseDescription, CurrentSellingPrice, ApplyPST, ApplyGST, CurrentCost, PremiumCode, IsDiscontinued. Rows are silently skipped when the vendor code is not the vendor being viewed or when the premium code is not found. The product list and audit trail are refreshed at the end.
Import Forms
- Starts when the file is uploaded and opens a progress panel titled Import Data that lists any problems.
- Checks the workbook. Sheet 1 must have the headings Name and Status, sheet 2 Name and Sequence (sections), and sheet 3 Section and ProductID (products). The first data row of sheet 1 gives the form name and status.
- Adds the form for the vendor if the name is new, or updates the existing form's status.
- Adds each section on sheet 2 that does not exist on the form. Sections that already exist have their sequence reset to 0.
- For each row on sheet 3, adds the product to the named section of the form unless it is already on the form. A section that is not found is reported.
- Shows "Import Finished" on success or "Import Finished - Errors Found" when problems were reported.
Add All Vendor Products
- Opens a progress panel titled Adding All Products.
- Uses the section selected in the Sections grid (nothing happens unless exactly one is selected).
- Adds each vendor product that is not yet on the form to that section, then refreshes the product lines.