Skip to main content

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​

PartWhat it holds
HeaderThe navigator, Security Level and the data of the order, the customer, the workshop and the currency. See the header.
Page listReceive, Maintenance and Financial Data, then Custom Fields if it shows.
ButtonsAdd, New, Modify, Delete, Close, Print, Preview, Display, Operations and Events. See the buttons.
FieldDescriptionRequiredValues and rules
Navigation buttons and number boxMove between the saved orders of the same form.—The number runs per form. See the navigator.
Security LevelThe security level of the order.NoUsers below it cannot see the order. Disabled for a user who cannot change security levels.
Order TypeThe type of the order.YesInternal 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.
PaymentHow the order is paid.YesCash 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.
CustomerThe owner of the device.YesWith 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.
MobileThe mobile number.YesDigits, or a + sign first, such as 0550000001.
PhoneThe phone number.NoThe same check if entered.
AddressThe customer's address.No, and yes in an external orderUp to 250 characters.
Order DateThe date of the order.YesStarts as today. It must fall in the file's period.
WorkshopThe workshop that carries out the order.Yes when there is a Down Payment and at Start maintenanceA 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 TimeWhen the customer or technician visits.NoA date and a time.
StatusThe state of the order.—Read only. Receive, Under Inspection, Notify Customer, Pending Maintenance, Under Maintenance, Ready to Deliver, Executed and Canceled.
UserThe user who entered the order.—Read only.
Currency, Parity and the equivalentThe currency of the order.YesStarts as the form's currency and is disabled if the form locked it. Parity and equivalent work as in the invoice.
BranchThe branch of the order.Yes when shownShows 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​

ButtonWhat it does
AddSaves 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.
NewClears the window for a new order with the form's default values.
ModifySaves 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.
DeleteDeletes the shown order after confirmation, without checking its state. See what happens on delete.
CloseCloses the window and asks if it holds an unsaved change.
PrintPrints the shown order. See Printing.
PreviewPreviews the printed order.
DisplayOpens a menu of the documents generated from the order. See the Display menu. No menu shows for a new order.
OperationsOpens the order's operations menu for its state. See the Operations menu.
EventsOpens 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.

StateOperationPermission
ReceiveStart InspectionStart Inspection
Under InspectionEnd InspectionEnd Inspection
Notify CustomerCustomer ApprovalCustomer Approval
Pending MaintenanceStart maintenanceStart maintenance
Under MaintenanceEnd MaintenanceEnd Maintenance
Ready to DeliverDeliver to CustomerDelivered
Not Receive and not Ready to Deliver, and not Pending Maintenance with Call customer before maintenance unticked, and with no saved cancellation reasonCancel OrderCancel 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.

ItemWhat it opensShows when
InvoiceThe sales invoice generated from the order.The order has an invoice.
Delivery EntryThe delivery entry.A delivery entry was generated.
Down Payment EntryThe 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.

FieldDescriptionRequiredValues and rules
MaterialThe material to maintain.In an external orderIn 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 NumberThe device card to maintain.In an internal orderA 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.
BuyerThe buyer of the device.—Read only, from the device card.
Device NotesThe notes of the device card.—Read only.
WarrantyWhether the device has a warranty.—Read only: Yes or NO.
Warranty Start and Warranty EndThe warranty dates.—Read only. Without shows if the device has no warranty.
Warranty StatusThe 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 ServicedWhether the device had a maintenance order.—Read only: Yes or NO.
Observable MalfunctionsThe malfunctions seen on arrival.NoA grid, see the observable malfunctions grid.
AccessoriesThe accessories the customer handed over with the device.NoA grid, see the accessories grid.
Call customer before maintenanceThe customer is notified after the inspection and approves before maintenance starts.One of the two options is required in an internal orderEnabled in an internal order while the order is new or in Receive.
Customer has approvedThe customer approved the maintenance in advance.As aboveAs above. You cannot tick both options in a new order.
NotesNotes on the order.NoFree text up to 250 characters. Disabled in an external order.
Down PaymentThe amount the customer paid on receipt.NoA 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​

ColumnDescription
MalfunctionThe 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.
NotesA note on the malfunction. It cannot be typed in a row that has no malfunction.

The accessories grid​

ColumnDescription
AccessoryThe accessory from the Accessories Card. The search "Select Accessory" works as for malfunctions.
NotesA 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.

MenuWhat 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​

FieldDescriptionRequiredValues and rules
Order Cancellation ReasonsThe reasons for which the order is cancelled.For Cancel OrderA 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 InspectionThe result of inspecting the device.NoText up to 4000 characters.
Maintenance ReportWhat was done to the device.NoText up to 4000 characters.
Estimated CostThe expected cost of the maintenance.NoA number. Disabled after maintenance starts.
Start Date and Start TimeWhen maintenance started.—The program fills them at Start maintenance; <Without> shows before that.
End Date and End TimeWhen maintenance ended.—The program fills them at End Maintenance.
MalfunctionsThe malfunctions found after inspection.NoA 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​

FieldDescriptionRequiredValues and rules
Spare PartsThe parts used in the maintenance.NoA grid, see the spare parts grid.
FeesThe labour fees.NoA grid, see the fees grid.
Fee- FreeMaintenance without charge (for example under warranty).NoWhen 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 TotalThe 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.
DiscountA discount on the order.NoA number. Enabled if the maintenance workshop allows a discount. A negative value is turned into a positive one.
Net OrderThe amount after the discount.—Read only: fees + materials total − Discount.
Down PaymentWhat was paid on receipt.—Read only.
Amount DueWhat 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​

ColumnDescription
FeesA 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 PriceThe 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.
NotesA 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.

StateHow the order gets thereReceive pageMaintenance pageFinancial Data page
ReceiveAdd without Customer has approvedEditableLockedLocked
Under InspectionStart InspectionAs it wasEditable except Maintenance ReportEditable
Notify CustomerEnd InspectionLockedEditable while Call customer before maintenance is tickedEditable
Pending MaintenanceCustomer Approval, or Add with Customer has approvedLockedLockedLocked
Under MaintenanceStart maintenanceAs it wasEditable; Initial Inspection unless Call customer before maintenance is ticked; Estimated Cost lockedEditable
Ready to DeliverEnd Maintenance, or Cancel OrderLockedLockedEditable
ExecutedDeliver to CustomerLockedLockedLocked
CanceledDeliver to Customer after Cancel OrderLockedLockedLocked

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.

OperationCheck after the confirmationEffect
Start InspectionNo check.The state is Under Inspection.
End InspectionIf 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 ApprovalThe same check.The state is Pending Maintenance, and Customer has approved is ticked.
Start maintenanceThe same check, then Workshop must be set: "Workshop is required.".Records the start date and time; the state is Under Maintenance.
End MaintenanceThe 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 OrderAt 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 CustomerIn 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.

FieldDescriptionRequiredValues and rules
DifferenceThe amount by which the customer's payment exceeds the net.—Read only.
Refund AmountWhat you actually return to the customer.NoA 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.
ButtonWhat it does
OkChecks 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.
CloseAsks "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.

MessageWhy it appearsWhat to do
Customer is missing / Cannot continueAdd or Modify and Customer is empty (a name with Cash, a card with on Credit).Enter the customer.
Mobile is missing / Cannot continueMobile is empty.Enter it.
Address is missing / Cannot continueAn external order and Address is empty.Enter it.
Please select branchBranches 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 requiredAn internal order and Serial Number is empty.Choose the device.
Material is missing / Cannot continueAn external order and Material is empty.Choose the material.
Please select one of the options in the Receive for Maintenance window. / Cannot continueAn internal order with neither Call customer before maintenance nor Customer has approved ticked.Tick one.
Must check one option at least in Delivery windowA 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 messagesThe 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 continueRefund Amount is above the Difference.Reduce the amount.
Account:… / Cannot add! the account is related to several usersAt 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 requiredA 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.

This page applies to alameen ERP 10, version 10.1.79.764.