Academy index

Page referenceIntermediate/sales/orders

Sales Orders

A sales order holds what a customer asked for before delivery and billing. The main fields and buttons, delivering with its cost entry, invoicing, and known faults.

Reviewed independently, claim by claim against the sources and the screens, on 4 December 2026.

Last checked against the screen and the code: 4 December 2026, version 67fa9b402.

This page of the program is under construction: the reference states only what works in it today.

What this page is

A sales order records nothing in the books when it is saved. It moves through steps from each order's menu: «Confirm order», then «Deliver (goods issue)», which takes the goods out of the warehouse and posts their cost, then «Create Invoice», which creates a draft invoice you issue on the Invoices page. The revenue, the tax and the customer's debt are posted when that invoice is issued, not before.

Delivery issues the whole order at once. Because the order form asks for no warehouse, the goods leave the company's default warehouse. When the order's invoice is issued, the goods are not issued a second time, whatever status the delivery note shows.

What does not work today

  • «Duplicate» in the menu opens an empty new-order form, although the message says the data was copied.
  • The «Shipped» filter and card stay at zero: nothing sets an order to shipped.
  • An order left «Invoiced» before 3 December 2026 because its draft invoice was deleted, or because its only invoice was cancelled while it was never delivered, stays so: nothing re-derives it, and its menu does not offer «Create Invoice».

Freight, insurance and packaging are added to the order's total but are not carried to the invoice: add them as lines on the draft invoice before issuing it. The header discount and surcharge percentages are spread over the invoice's lines.

The «Payment Status» column is read from the settlement of this order's posted invoices, not from the order itself.

Before you start

  • A customer in Contacts, items with prices, and tax codes.
  • For delivery: enough stock in the default warehouse, cost of goods sold and inventory accounts in the chart of accounts, and an open fiscal period for today's date.

Fields

Field as on the screenMeaningRequired
CustomerThe customer placing the order.Yes
Order #A provisional number for information. The order takes its final number from the sales order number range when saved.When the company set sales order numbering to external, the field can be typed in and the number typed is the order's number.No
Order DateThe order's date; the exchange rate is read for it.Yes
Delivery DateThe planned delivery date. The actual delivery is dated the day you press «Deliver (goods issue)».The date picker offers no day before the order date, but the save does not check it: if you change the order date afterwards, the delivery date may stay earlier.Yes
CurrencyThe order's currency, carried to the invoice. By default, the company's base currency.No
Exchange RateThe rate to the company's currency, from the rate stored for the order date. It is carried to the invoice.A new order with no stored rate and no rate typed is refused. An edit does not check again: changing an existing order's currency to one with no rate saves it at a rate of 1.No
NotesThe order's notes, carried to the invoice's notes.No
Customer ReferenceThe customer's reference, such as their purchase order number.No
SalespersonThe salesperson. Carried to the invoice if still an active member of the company.No
Payment TermsThe payment terms from the setup list. Kept with the order; «Create Invoice» takes the invoice's due date from them: its date plus these terms' net days.No
Discount %A discount on the whole order. It is spread over the lines, the tax is computed after it, and it is carried into the invoice's lines.No
Surcharge %A surcharge on the whole order. It is spread over the lines like the discount.No
Freight ChargesFreight added to the order's total; not carried to the invoice.No
InsuranceInsurance added to the order's total; not carried to the invoice.No
PackagingPackaging added to the order's total; not carried to the invoice.No
ItemA stocked item or a service from the items list; it fills the description, price and tax code. The item's price, in the company's currency, is converted to the order's currency at the exchange rate.No
DescriptionThe line's description.At least one line, and each line has a description and a price above zero.Yes
QuantityThe quantity ordered; all of it is issued at delivery.Nothing checks that it is above zero: a quantity of 0 is accepted, and then nothing is issued for it.No
RateThe unit price before tax, in the order's currency.Above zero.Yes
Discount %A discount on the line, from 0 to 100 percent.No
TaxThe line's tax code, carried to the invoice line.No

Buttons and actions

ButtonWhen it showsWhat it doesPosts
New OrderAlways, at the top of the page.Opens a new order form.No
Save as DraftIn the form.On a new order, saves it as a draft. When editing, it saves the changes and keeps the order's current status.No
Create OrderIn a new order form; when editing, the button reads «Save».Saves the order as pending, ready to be confirmed or delivered.No
Add ItemIn the form, under the lines.Adds a new line.No
View DetailsIn every order's menu.Shows the order: the customer, dates, status, lines, totals, notes and attachments, with «Download PDF», «Print» and «Edit».No
EditIn every order's menu.Opens the edit form. The status does not change by an edit, only by the step buttons.No
DuplicateIn every order's menu.Today it opens an empty new-order form, although the message says the data was copied (a known fault). Enter the order yourself.No
Confirm orderFor a draft or pending order.Accepts the order: its status becomes «Processing», and the program keeps who confirmed it and when.No
Deliver (goods issue)For an open order: draft, pending, confirmed or processing.Creates a numbered delivery note with all the order's lines, dated today, takes the stocked items' quantities out of the warehouse at their value, posts their cost entry when that cost is above zero, and sets the order to «Delivered». All of it happens together or not at all. The note shows on the Delivery Notes page.Yes
Create InvoiceFor a delivered order.Creates a draft invoice dated today with the order's lines, due by the order's «Payment Terms», else by the payment terms on the customer's card, else after 30 days, and sets the order to «Invoiced» together with the draft. Nothing is posted until the invoice is issued on the Invoices page. Refused if the order already has a live invoice (a draft or an issued one, not cancelled); the message gives its number. Deleting the draft or cancelling the invoice sets the order back to what its documents say.No
Cancel OrderFor an open order not delivered or invoiced.Cancels the order after a confirmation. Refused if a delivery note or an invoice not cancelled is linked to it.No
Download PDFIn every order's menu, and in its view window.Downloads the order as a PDF in the screen's language.No
PrintIn every order's menu, and in its view window.Prints the page as shown, not one order alone. To print a single order, download its PDF.No
ShareIn every order's menu.Prepares the order's PDF and opens your device's sharing if it supports it; otherwise it downloads the file.No
ExportAlways, at the top of the page.Downloads a CSV file of the rows shown in the table, that is, the current page of the list.No

The document's statuses

  • Draft: Saved with «Save as Draft».
  • Pending: Saved with «Create Order», waiting to be confirmed or delivered.
  • Processing: Confirmed, waiting for delivery.
  • Delivered: Its goods were issued and their cost posted; it waits for the invoice.
  • Invoiced: Its invoice was created. If its draft is deleted or the invoice is cancelled, the order goes back to what its documents say: «Delivered» if its delivery issued the goods, otherwise «Processing» if it was confirmed, or «Pending». An order left «Invoiced» before 3 December 2026 by a deleted draft, or by the cancellation of its only invoice while never delivered, stays so.
  • Cancelled: Cancelled; no step is taken on it.

The journal entry

On «Deliver (goods issue)»

Goods valued in stock at AED 600 leave the warehouse
AccountDebitCredit
Dr Cost of goods sold600
Cr Inventory600
Total (AED)600600

Permissions

ToPermission needed
Open the page and read ordersSales — View
Save a new order, and «Create Invoice» from itSales — Create
Change an order, «Confirm order», «Deliver (goods issue)», and «Cancel Order»Sales — Edit

Refusals and fixes

  • INSUFFICIENT_STOCK

    At delivery, an item's stock in the warehouse it leaves from was not enough. Nothing was delivered.

    Fix: Receive the goods or transfer them to that warehouse, then deliver the order.

  • POSTING_ACCOUNT_MISSING

    The chart of accounts lacks a cost of goods sold or an inventory account. Nothing was delivered.

    Fix: Add the missing account to the chart of accounts, then deliver again.

  • PERIOD_CLOSED

    The delivery is dated today, and today's fiscal period is closed.

    Fix: Ask the accountant to open the current period.

  • SO_HAS_FOLLOW_ON_DOCUMENTS

    You tried to cancel an order linked to a delivery note or an invoice not cancelled; the message gives their numbers.

    Fix: Cancel the invoice or delete the linked delivery note first, then cancel the order. A delivery note added by hand and marked «Shipped» cannot be deleted, however, so the order then cannot be cancelled.

  • SO_ALREADY_INVOICED

    You pressed «Create Invoice» for an order that already has a live invoice (a draft or an issued one, not cancelled), such as one linked to it from the invoice form; the message gives its number.

    Fix: Delete that draft, or cancel that invoice if it is issued, then try again. Or leave the order as it is: its invoice exists.

  • SO_NOT_OPEN

    You tried to deliver an order that is no longer open, because it was delivered, invoiced or cancelled, for example by another user.

    Fix: Refresh the page to see its current status.

Learn the idea

Educational content for general understanding, not accounting, tax or legal advice. Sources · About the Academy