Maintenance order
In this window the workshop takes a device from the customer and follows it until it hands the device back. It records the malfunctions and accessories, inspects the device, starts and ends the maintenance, calculates spare parts and fees, and delivers the device. The program calls it a "maintenance order", and the window title is the name of the order form. The window has three pages: Receive, Maintenance and Financial Data, and a Custom Fields page is added if the licence includes custom fields. For the working steps, see Handle a maintenance order. The order picks from the device, malfunction, accessory, cancellation reason and workshop cards: Device Card, Malfunction Type Card, Accessories Card, Maintenance Order Cancellation Reasons and Maintenance Workshop Card.
Opening the window
The licence must include the devices maintenance feature. Each maintenance order form has two ways in.
- From the ribbon: Systems > Workshops > the button of the form. The button shows the form's Name from Maintenance Order Properties, whatever the interface language. The button shows to a user who has the Add or Review level on the form in Users Management (the Maintenance Orders page). If you marked some forms as favorites they appear as buttons and the rest are grouped under More or by the grouping option; see Favorite Forms.
- From the Devices maintenance list: Add new maintenance order... opens a new order of the row's form, and Show Maintenance Order... opens the selected order.
The window opens on a new order. Use the navigator at the top to show a saved order. A new order has today's date, Cash in Payment, the status Receive, and the form's default values for the workshop, currency and branch.
Parts of the window
| Part | What it holds |
|---|---|
| Header | The navigator, Security Level and the data of the order, the customer, the workshop and the currency. See the header. |
| Page list | Receive, Maintenance and Financial Data, then Custom Fields if it shows. |
| Buttons | Add, New, Modify, Delete, Close, Print, Preview, Display, Operations and Events. See the buttons. |
The header
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Navigation buttons and number box | Move between the saved orders of the same form. | — | The number runs per form. See the navigator. |
| Security Level | The security level of the order. | No | Users below it cannot see the order. Disabled for a user who cannot change security levels. |
| Order Type | The type of the order. | Yes | Internal or External. The list offers what the form allows and is disabled when the form allows one type. Changing the type clears the device fields, Notes and the two options of the Receive page, and changes what opens in it; the two grids and Down Payment keep their values. |
| Payment | How the order is paid. | Yes | Cash or on Credit. It is disabled once the order is past Receive. Cash shows the customer as a typed name and on Credit shows it as a search in the customer cards. |
| Customer | The owner of the device. | Yes | With Cash: a name you type, up to 250 characters. With on Credit: a search in the customer cards. When you choose a customer the program fills Address with the country, city and area of the customer's default address, and Mobile and Phone from the card if they are empty. Clearing the customer clears the three fields. |
| Mobile | The mobile number. | Yes | Digits, or a + sign first, such as 0550000001. |
| Phone | The phone number. | No | The same check if entered. |
| Address | The customer's address. | No, and yes in an external order | Up to 250 characters. |
| Order Date | The date of the order. | Yes | Starts as today. It must fall in the file's period. |
| Workshop | The workshop that carries out the order. | Yes when there is a Down Payment and at Start maintenance | A search in the maintenance workshop cards that shows the workshops of the order's current type. It starts with the form's workshop and is disabled if the form locked it. The workshop decides the spare parts group, the fees group, the price type and the accounts. |
| Visit Date and Visit Time | When the customer or technician visits. | No | A date and a time. |
| Status | The state of the order. | — | Read only. Receive, Under Inspection, Notify Customer, Pending Maintenance, Under Maintenance, Ready to Deliver, Executed and Canceled. |
| User | The user who entered the order. | — | Read only. |
| Currency, Parity and the equivalent | The currency of the order. | Yes | Starts as the form's currency and is disabled if the form locked it. Parity and equivalent work as in the invoice. |
| Branch | The branch of the order. | Yes when shown | Shows when branches are enabled. Starts with the form's branch and is disabled if the form locked it. If left empty the message "Please select branch" appears. |
On Add and Modify the program checks the fields in this order: Customer (with Cash), Mobile, Branch, Address (external), Workshop (when there is a Down Payment), the Receive page, the format of Phone and Mobile, the custom fields, Customer (with on Credit), the lock date when the order has an invoice, and the order date. The messages are in Messages.
The buttons
| Button | What it does |
|---|---|
| Add | Saves a new order. It is disabled while a saved order is shown. A new order starts as Pending Maintenance if you ticked Customer has approved, otherwise Receive. |
| New | Clears the window for a new order with the form's default values. |
| Modify | Saves the changes of the shown order. It stays disabled until an order is loaded. It works in every state, but locked pages do not accept changes. |
| Delete | Deletes the shown order after confirmation, without checking its state. See what happens on delete. |
| Close | Closes the window and asks if it holds an unsaved change. |
| Prints the shown order. See Printing. | |
| Preview | Previews the printed order. |
| Display | Opens a menu of the documents generated from the order. See the Display menu. No menu shows for a new order. |
| Operations | Opens the order's operations menu for its state. See the Operations menu. |
| Events | Opens the Order events report for the shown order. |
The Operations menu
Operations is disabled for a new order, for an external order, and for an order that has reached Executed or Canceled. The menu lists the operations that fit the state, for a user who has the matching permission in Users Management (the Maintenance Orders page, the row of the form). If the state is Receive, Customer has approved is ticked and Call customer before maintenance is not, the program treats the state as Pending Maintenance.
| State | Operation | Permission |
|---|---|---|
| Receive | Start Inspection | Start Inspection |
| Under Inspection | End Inspection | End Inspection |
| Notify Customer | Customer Approval | Customer Approval |
| Pending Maintenance | Start maintenance | Start maintenance |
| Under Maintenance | End Maintenance | End Maintenance |
| Ready to Deliver | Deliver to Customer | Delivered |
| Not Receive and not Ready to Deliver, and not Pending Maintenance with Call customer before maintenance unticked, and with no saved cancellation reason | Cancel Order | Cancel Order |
In Pending Maintenance the reasons list is locked, so Cancel Order ends with the message "Unable to cancel order.". Cancel the order while it is Under Inspection, Notify Customer or Under Maintenance.
The Display menu
| Item | What it opens | Shows when |
|---|---|---|
| Invoice | The sales invoice generated from the order. | The order has an invoice. |
| Delivery Entry | The delivery entry. | A delivery entry was generated. |
| Down Payment Entry | The down payment entry. | A down payment entry was generated. |
Printing
If the option Print using advanced reports is on in Program Options > Display, Print opens the advanced print window for the maintenance order, in the order's currency. Otherwise it opens a window titled Print Maintenance Order, like the Print Invoice window, with the buttons Design, Preview, Print, New and Close. Design opens the designer of the maintenance order form. Print asks for the printer and prints. New closes the window and clears the order window for a new order, and Close closes it and the order window. Preview previews the chosen form, and when no print form is chosen it opens the print window instead.
The Receive page
It records the device and its condition on arrival. The fields change with the order type: in an internal order they come from the device card.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Material | The material to maintain. | In an external order | In an internal order it is disabled and takes the device card's material. In an external order it is a search in the materials. Its menu has the item Material Card; see workshop menus. |
| Serial Number | The device card to maintain. | In an internal order | A search by code (the card number) or by serial number, titled "Select a serial number". A device card cannot be added from the search. Disabled in an external order. |
| Buyer | The buyer of the device. | — | Read only, from the device card. |
| Device Notes | The notes of the device card. | — | Read only. |
| Warranty | Whether the device has a warranty. | — | Read only: Yes or NO. |
| Warranty Start and Warranty End | The warranty dates. | — | Read only. Without shows if the device has no warranty. |
| Warranty Status | The device's position against the warranty. | — | Read only: In Warranty if the end date has not passed, Out of Warranty if it has, Without if no warranty. |
| Previously Serviced | Whether the device had a maintenance order. | — | Read only: Yes or NO. |
| Observable Malfunctions | The malfunctions seen on arrival. | No | A grid, see the observable malfunctions grid. |
| Accessories | The accessories the customer handed over with the device. | No | A grid, see the accessories grid. |
| Call customer before maintenance | The customer is notified after the inspection and approves before maintenance starts. | One of the two options is required in an internal order | Enabled in an internal order while the order is new or in Receive. |
| Customer has approved | The customer approved the maintenance in advance. | As above | As above. You cannot tick both options in a new order. |
| Notes | Notes on the order. | No | Free text up to 250 characters. Disabled in an external order. |
| Down Payment | The amount the customer paid on receipt. | No | A number. Disabled in an external order, and in the states Notify Customer, Pending Maintenance, Ready to Deliver, Executed and Canceled. It needs a Workshop. See entries. |
When you choose a Serial Number, the program fills the material, the buyer, the notes, the warranty, its dates and status and Previously Serviced from the device card. It calculates Previously Serviced from whether any other saved maintenance order exists for the same device.
The observable malfunctions grid
| Column | Description |
|---|---|
| Malfunction | The malfunction from the Malfunction Type Card. Type in the cell to open a search window "Select Malfunction" that accepts several malfunctions; the program puts them in consecutive rows from the current row. A malfunction already listed is not added twice. |
| Notes | A note on the malfunction. It cannot be typed in a row that has no malfunction. |
The accessories grid
| Column | Description |
|---|---|
| Accessory | The accessory from the Accessories Card. The search "Select Accessory" works as for malfunctions. |
| Notes | A note on the accessory. |
Grid menus
The four grids of the window (observable malfunctions, accessories, the malfunctions on the Maintenance page, and fees) have a row menu and a corner menu as in grid properties, with these differences.
| Menu | What is left in it |
|---|---|
| Row menu (right-click the row number) | Delete (Ctrl+Delete) only; the program removes Copy, Paste, Cut, Insert and Insert New Line. In the malfunctions and accessories grids Delete does not delete a row that holds a malfunction or an accessory; press Delete on the Malfunction or Accessory cell to delete the row, and on the Notes cell to clear the note. |
| Corner menu (right-click the corner cell) | Clear, Find..., Find Next, Table Properties ... and Save Settings; the program removes Copy, Paste, Cut and Insert. Clear empties the grid cells on screen and does not delete the malfunctions, accessories or fees from the order. |
The Maintenance page
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Order Cancellation Reasons | The reasons for which the order is cancelled. | For Cancel Order | A list with tick boxes from the cancellation reason cards. At least one reason must be ticked to cancel the order. While a reason is ticked, the program does not complete End Inspection, Customer Approval, Start maintenance or End Maintenance. |
| Initial Inspection | The result of inspecting the device. | No | Text up to 4000 characters. |
| Maintenance Report | What was done to the device. | No | Text up to 4000 characters. |
| Estimated Cost | The expected cost of the maintenance. | No | A number. Disabled after maintenance starts. |
| Start Date and Start Time | When maintenance started. | — | The program fills them at Start maintenance; <Without> shows before that. |
| End Date and End Time | When maintenance ended. | — | The program fills them at End Maintenance. |
| Malfunctions | The malfunctions found after inspection. | No | A grid with the columns Malfunction and Notes, working like the observable malfunctions grid. It is the source of the Most Frequent Malfunctions report. |
The sentence "Customer approval is required" replaces the Maintenance Report box while the order is Under Inspection or Notify Customer, Call customer before maintenance is ticked and the customer has not approved.
The Financial Data page
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Spare Parts | The parts used in the maintenance. | No | A grid, see the spare parts grid. |
| Fees | The labour fees. | No | A grid, see the fees grid. |
| Fee- Free | Maintenance without charge (for example under warranty). | No | When ticked, the program sets the prices of parts and fees and the discount to zero at once, and the price columns are locked. Clearing the tick does not bring the prices back. It is enabled with the page. |
| Materials Total | The sum of the spare parts. | — | Read only: the unit price times the quantity of every row. |
| Fees (the total box) | The sum of the fees. | — | Read only. |
| Discount | A discount on the order. | No | A number. Enabled if the maintenance workshop allows a discount. A negative value is turned into a positive one. |
| Net Order | The amount after the discount. | — | Read only: fees + materials total − Discount. |
| Down Payment | What was paid on receipt. | — | Read only. |
| Amount Due | What remains on the customer. | — | Read only: Net Order − Down Payment. |
The spare parts grid
Its columns are the ones you ticked on the Table Fields page of Maintenance Order Properties, then the with warranty column. It works like the materials grid of the invoice, with these differences.
- The material search offers the materials of the spare parts group set in the workshop card. If the workshop has no group, or no workshop is set, typing in the material column does nothing.
- The price comes from the price type set in the workshop card, unless Fee- Free is ticked.
- The Unit Price and Total columns cannot be changed if the workshop does not allow price changes, or if Fee- Free is ticked.
- The with warranty column is a list: Without or with warranty. Choosing with warranty sets the unit price to
0. The column is enabled only for a row that has a material. - The warehouses of the rows are saved with the order, but the generated invoice uses the workshop's warehouse.
The fees grid
| Column | Description |
|---|---|
| Fees | A service material from the fees group in the workshop card. Type in the cell to open a search window that accepts several materials. The quantity is always one. A material already listed is not added twice. |
| Unit Price | The price of the fee. The program takes it from the price type set in the workshop card, and the user changes it if the workshop allows price changes. It is 0 with Fee- Free. |
| Notes | A note on the row. |
The grids are locked only according to the state; see States.
The Custom Fields page
It shows if the licence includes custom fields. It shows the fields of the group linked to the "Maintenance Orders" cards that you ticked in the form. The values are saved with the order on Add and Modify and deleted on Delete. See Custom fields.
States
Each operation records a new state, and the state changes what the pages accept.
| State | How the order gets there | Receive page | Maintenance page | Financial Data page |
|---|---|---|---|---|
| Receive | Add without Customer has approved | Editable | Locked | Locked |
| Under Inspection | Start Inspection | As it was | Editable except Maintenance Report | Editable |
| Notify Customer | End Inspection | Locked | Editable while Call customer before maintenance is ticked | Editable |
| Pending Maintenance | Customer Approval, or Add with Customer has approved | Locked | Locked | Locked |
| Under Maintenance | Start maintenance | As it was | Editable; Initial Inspection unless Call customer before maintenance is ticked; Estimated Cost locked | Editable |
| Ready to Deliver | End Maintenance, or Cancel Order | Locked | Locked | Editable |
| Executed | Deliver to Customer | Locked | Locked | Locked |
| Canceled | Deliver to Customer after Cancel Order | Locked | Locked | Locked |
The header stays editable in every state. On the Receive page, the Observable Malfunctions and Accessories grids stay editable in every state, and Modify saves them.
What each operation does
Each operation first asks a confirmation question with Yes and No, and stops if you answer No. Every operation is recorded in the order events.
| Operation | Check after the confirmation | Effect |
|---|---|---|
| Start Inspection | No check. | The state is Under Inspection. |
| End Inspection | If a cancellation reason is ticked: "Unable to complete the process; a cancellation reason is currently active.". | Saves Initial Inspection, Estimated Cost and the Malfunctions grid; the state is Notify Customer. |
| Customer Approval | The same check. | The state is Pending Maintenance, and Customer has approved is ticked. |
| Start maintenance | The same check, then Workshop must be set: "Workshop is required.". | Records the start date and time; the state is Under Maintenance. |
| End Maintenance | The same check, then at least one part or fee must exist unless Fee- Free is ticked: "Please set the consumed spare parts or fees before ending the maintenance.", then the invoice lock date check if there are parts or fees. | Saves the whole order and records the end date and time; the state is Ready to Deliver. It generates the invoice. |
| Cancel Order | At least one reason must be ticked: "Unable to cancel order." with "Please select one reason at least to cancel order.". | Saves the reasons and the fees and generates the invoice from the fees and from the parts as last saved; click Modify first if you changed the parts. The state is Ready to Deliver. |
| Deliver to Customer | In a cash order, if the net after the discount and the down payment is negative, the Refund window appears. Then the program checks the accounts: "Account:… / Cannot add! the account is related to several users" if the workshop's cash account is linked to more than one customer card; also its down payment contra account when the order has no invoice or you refund an amount, and its revenue account when part of the difference is kept. | Generates the delivery entry for a cash order; the state is Canceled if a cancellation reason is ticked, otherwise Executed. |
Only Modify and End Maintenance save the Financial Data page; the other operations do not.
The confirmation questions are: "Are you sure you want to start the inspection?", "Are you sure you want to end the inspection?", "Are you sure the customer's approval has been obtained?", "Are you sure you want to start maintenance?", "Are you sure you want to end maintenance?", "Are you sure you want to cancel the maintenance order?" and "Are you sure you want to deliver the device to the customer?".
The Refund window
It appears at Deliver to Customer in a cash order when Net Order (after the discount) is less than the Down Payment, that is, when you owe the customer money.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Difference | The amount by which the customer's payment exceeds the net. | — | Read only. |
| Refund Amount | What you actually return to the customer. | No | A number from 0 up to the Difference; empty counts as 0. When it is above zero, the part of the difference not returned is booked as maintenance revenue. |
| Button | What it does |
|---|---|
| Ok | Checks the amount, closes the window and continues the delivery. If the amount is above the Difference, the message "The refund amount cannot exceed the difference. / Cannot continue" appears. |
| Close | Asks "Do you want to cancel the delivery?"; Yes closes the window and the order is not delivered. |
Entries and the invoice
The accounts come from the Maintenance Workshop Card: the cash account, the down payment contra account, the revenue account, the discount account, the default customer, the sales invoice form and the warehouse.
- Down payment entry: on every Add, Modify and End Maintenance when the Down Payment is above zero. The program replaces the order's earlier entry with a new posted entry that debits the cash account and credits the down payment contra account for a cash order, or the order customer's account for a credit order. If you set the Down Payment back to zero after the entry was generated, the entry stays.
- Invoice: generated at End Maintenance and at Cancel Order, and on Modify of an order in Ready to Deliver. It is a sales invoice of the workshop's form dated today, with a row for every part and every fee and a discount on the discount account. Its customer is the workshop's default customer for a cash order and the order customer for a credit order. The down payment (for a cash order, up to the invoice total) is paid from the down payment contra account. The program posts the invoice and generates its entry if its form does that automatically. If the order has no parts and no fees, no invoice is generated and an existing one is deleted.
- Delivery entry: at Deliver to Customer in a cash order when Amount Due (after the discount) is not zero. If the invoice exists and no amount is refunded, it debits the cash account and credits the default customer's account with the amount due. If an amount is refunded, it credits the cash account with the refund, debits the down payment contra account with the difference, and credits the revenue account with the part of the difference not returned. No entry is generated for a credit order: the amount due stays on the customer's account.
A cash order example: Down Payment 100, a part at 300, a fee of 50 and Discount 10. Net Order is 340 and Amount Due is 240. On save: cash is debited 100 and the down payment contra account is credited 100. At End Maintenance: an invoice of 350 with a discount of 10. At Deliver to Customer: cash is debited 240 and the default customer's account is credited 240.
What happens on delete
Delete removes the order, its invoice (after unposting it), the down payment and delivery entries, its events, its tables and its custom field values, whatever the state of the order. You need the Delete level on the form.
Messages
Messages shown on two lines are written with a slash / between the lines.
| Message | Why it appears | What to do |
|---|---|---|
| Customer is missing / Cannot continue | Add or Modify and Customer is empty (a name with Cash, a card with on Credit). | Enter the customer. |
| Mobile is missing / Cannot continue | Mobile is empty. | Enter it. |
| Address is missing / Cannot continue | An external order and Address is empty. | Enter it. |
| Please select branch | Branches are enabled and Branch is empty. | Select the branch. |
| Workshop is required. | A Down Payment above zero, or Start maintenance, and no workshop. | Select the workshop. |
| Serial Number is required | An internal order and Serial Number is empty. | Choose the device. |
| Material is missing / Cannot continue | An external order and Material is empty. | Choose the material. |
| Please select one of the options in the Receive for Maintenance window. / Cannot continue | An internal order with neither Call customer before maintenance nor Customer has approved ticked. | Tick one. |
| Must check one option at least in Delivery window | A new internal order with both options ticked. | Leave one option. |
| Incorrect Number with "Please check the number" | Mobile or Phone holds something other than digits and a first +. | Correct the number. |
| Order date and lock date messages | The order date is outside the file's period, or today is before the bills lock date at End Maintenance or when saving an order that has an invoice. | Change the date; the texts are in the invoice. |
| Unable to complete the process; a cancellation reason is currently active. | End Inspection, Customer Approval, Start maintenance or End Maintenance while a reason is ticked in Order Cancellation Reasons. | Clear the reasons, or use Cancel Order. |
| Please set the consumed spare parts or fees before ending the maintenance. | End Maintenance with no parts and no fees and Fee- Free not ticked. | Add a part or a fee, or tick Fee- Free. |
| Unable to cancel order. with Please select one reason at least to cancel order. | Cancel Order with no reason ticked, or the operation failed. | Tick a reason on the Maintenance page. |
| The refund amount cannot exceed the difference. / Cannot continue | Refund Amount is above the Difference. | Reduce the amount. |
| Account:… / Cannot add! the account is related to several users | At Deliver to Customer: one of the workshop's accounts is linked to more than one customer card. The message names the account. | Open the workshop card and change the account, or link the account to one customer card. |
| Customer approval is required | A sentence that replaces the maintenance report; it is not a message. | Take the customer's approval, then use Customer Approval. |
The confirmation questions are in What each operation does. The save questions and warnings of invoices appear as in the invoice.
Related
This page applies to alameen ERP 10, version 10.1.79.764.