Skip to content

Delivery Order Applet (Internal)

Tell the warehouse and the driver what goes out to a customer, on which date and by which route. Finalising moves no stock and posts no journal, because the sales invoice or a goods issue does that, and it does not put lines on the pick-pack queue either: someone has to press Send To Queue, and the button refuses a delivery order that is not yet FINAL.

Your job, and the screen for it

The jobScreen or tabRead
Raise a delivery order from a sales order — the order’s balance falls at save, not FINALDelivery Order › create form, lines from the KO For Sales Order tab (shown only when Knock Off Configuration enables Sales Order → Delivery Order)Save, FINAL and the invoice: what changes, and when
Finalise it — this moves no stock and posts no journal; FINAL is rejected for a blacklisted customerFinal on the Delivery Order listingLifecycle and effects
Put its lines on the pick-pack queue — FINAL alone puts nothing there, and a draft is refusedDelivery Details panel › Send To QueueDelivery Details
Turn queued lines into delivery jobs — nothing checks the stock is there, so read Location Balance firstPick Pack Queue › Create Delivery Job, or the Delivery and Installation appletPick Pack Queue; What it will not do, and who does it instead
Find deliveries not yet invoiced before you close a monthDelivery Order listing filtered to the month and FINAL, then an empty KO Doc; a named invoice may have taken only partVerify one delivery: what success looks like
Set up customers, document numbering, a printable format and a workflow (status, not approval)Organisation, Customer Maintenance, Printable Format Settings, Workflow Design then Workflow SettingsBefore you can use it

Overview

The Delivery Order Applet (Internal) is the workspace where the office raises, edits and finalises the outbound delivery order — the document that says these goods are going out to this customer, on this date, by this route. It is one applet with one document type: INTERNAL_OUTBOUND_DELIVERY_ORDER, short code OBDODR.

It sits after the order and before (or after) the invoice. Lines are usually not typed in: they are pulled from a Sales Order, a Sales Invoice, a Sales Return or a Purchase GRN and knocked off against it, so the source document’s open quantity falls as the delivery order consumes it — when the delivery order is saved, not when it is finalised. Lines reach the Pick Pack Queue only when someone presses Send To Queue on the document’s Delivery Details panel — FINAL by itself puts nothing there. Turning the queued quantity into a delivery job is a separate action, Create Delivery Job, on this applet’s Pick Pack Queue screen or in the Delivery and Installation applet. This applet has no way to send its rows on to the Warehouse Management applet’s picking queue: the Send To Warehouse Picking Queue button is on the Sales Order applet’s Pick Pack Queue screen, not here.

A delivery order moves no stock and posts no journal. INTERNAL_OUTBOUND_DELIVERY_ORDER carries a quantity signum of 0 and an amount signum of 0. Finalising one changes nothing in the ledger and nothing in the stock balance — it commits quantity and drives fulfilment. The stock movement is made by the Sales Invoice, by Sales GIN (Stock Out), or by a goods issue. See Lifecycle and effects.

Where it fits

AppletWhy
Upstream (knock-off sources)Sales Order (Internal), Sales Invoice (Internal), Sales Return (Internal), Purchase GRN (Internal)Searched and knocked off to copy lines and the customer into the delivery order
Upstream (created in DRAFT by)Warehouse ManagementA Packing List can create the delivery order for the office to complete
Same document, supplier’s windowSupplier Delivery Order AppletA supplier raises the same INTERNAL_OUTBOUND_DELIVERY_ORDER against itself; it has no FINAL or VOID control, so finalising happens here
Same document, driver’s windowDriver Delivery Order AppletThe assigned driver edits three header fields on the documents raised here
Downstream (fulfilment)Delivery and Installation, Delivery and Installation DriverThe pick-pack queue rows this applet produces (with Send To Queue, see Delivery Details under Fields) are turned into delivery jobs by Create Delivery Job — on this applet’s Pick Pack Queue screen or in Delivery and Installation, the same endpoint (del/jobs/create-job-doc) either way
Downstream (knock-off target)Sales Invoice (Internal), Goods Delivery Note (Internal), Packing Order (Internal)Invoice after delivery; KO For Delivery Order Item on the delivery note; KO For Delivery Order on the packing order, a tab that appears only when the company has an enabled Doc Flow row from the delivery order to the packing order
AlongsideStock AvailabilityA delivery order’s quantity not yet invoiced counts on the Details listing; the main listing’s Available ignores it
Governs status routingWorkflow DesignSupplies the process a delivery order’s workflow status is drawn from

Screens and menus

The landing screen is Delivery Order: the empty path redirects to internal-delivery-order, and anything unmatched goes to a 404 component.

Four menu entries are shipped; two more are present in the file but commented out, so Sales Invoice Template and File Import have routes and no way in from the menu.

MenuRouteWhat it is
Delivery Orderinternal-delivery-orderThe document listing, create and edit workspace
Line Itemsline-itemsLine-level view across delivery orders — item, quantity, price, tax, amount, customer, dates, with totals
Pick Pack Queuepick-pack-queuePending delivery quantity, and the Create Delivery Job action
IntercompanyintercompanyInbound and Outbound processing queues, each with an UNPROCESSED and a PROCESSED tab
(no menu entry)sales-invoice-template, file-importRouted but unreachable from the sidebar
Internal Delivery Order listing with search, printable format and email controls above an ag-Grid of delivery orders
Internal Delivery Order Listing. The document short code column shows OBDODR; Posting Status and Status are separate columns.

The listing’s action row carries Export as PDF, Final, Draft, Discard, Void and Send Email. Export as PDF, Final and Send Email are hidden by a setting alone (HIDE_EXPORT_AS_PDF_BUTTON, HIDE_GENDOC_FINAL_BUTTON, HIDE_SEND_EMAIL_BUTTON). Draft, Discard and Void also need a client-side permission: each appears only to a login whose role holds SHOW_DRAFT_BUTTON, SHOW_GENDOC_DISCARD_BUTTON or SHOW_GENDOC_VOID_BUTTON, and then only while the setting allows it — SHOW_DRAFT_BUTTON on, HIDE_GENDOC_DISCARD_BUTTON or HIDE_GENDOC_VOID_BUTTON off. The edit workspace’s own Final, Discard and Void buttons work the other way round: each shows unless its HIDE_GENDOC_*_BUTTON setting is on, and the matching SHOW_GENDOC_*_BUTTON permission brings it back for that login.

Create Internal Delivery Order form showing Main Details, Account, Lines and Delivery tabs
Create form. Which panels appear, and in what order, is set in Settings.
Edit Internal Delivery Order panel of a FINAL order, on its Main Details tab, whose header offers VOID, SAVE and CLOSE
Edit workspace of a FINAL order: the header offers VOID, SAVE and CLOSE.

The edit workspace — which + on the listing also opens, for a new document — is a set of detail panels: Search Document and KO For (both only while the document is new, before its first save), Main Details, Account, Lines, Delivery Details, Department Hdr, Posting, Doc Link, Export, Attachments and Status. Their order is stored as INTERNAL_OUTBOUND_DELIVERY_ORDER_DETAILS_TAB_ORDER. Every panel except Main Details, Account and Lines can be hidden with its own HIDE_* key. The settings model also carries keys for Main AR/AP, Trace Document, Main Contra, Settlement and Delivery Trips panels that this workspace does not show.

Pick Pack Queue

Pick Pack Queue listing: a Create Delivery Job button with delivery type, branch, location and parcel-size fields, above one sales invoice line grouped under its invoice, with Base Quantity and Qty Pending columns
Pick Pack Queue: one sales invoice line waiting, grouped under its invoice.

The queue lists the delivery orders’ lines waiting to go out, with the balance still to deliver alongside the location and company stock balances for the same item. Qty To Deliver is editable only up to the balance — a larger figure is not accepted. The rows are grouped under a column headed Sales Invoice No; the number in it is the delivery order’s own.

Create Delivery Job creates one delivery job for each delivery order among the selected queue lines — delivery logic, the four pickup dates, the four delivery dates and the recipient’s entity, code, name, e-mail, phone and address — linked to those lines.

Delivery Type is a three-value drop-down (INTERNAL_DELIVERY, EXTERNAL_DELIVERY, PICKUP), and it is a check rather than a choice: it must equal the delivery type already on every selected line, or nothing is created and the screen says Delivery Types Do Not Match. Delivery Branch and Delivery Location are checked more loosely: only a selected line whose delivery branch and delivery location both differ from the choice stops the job, with Delivery Branch And Location Do Not Match — so check the dispatch branch and location yourself.

Intercompany

Intercompany transaction listing with Inbound and Outbound sections, each with UNPROCESSED and PROCESSED tabs
Intercompany processing queues.

Two streams, Inbound and Outbound, each split into UNPROCESSED and PROCESSED tabs. The only action is CONFIRM INTERCOMPANY TRANSACTION.

Line Items

Line Items report listing delivery order lines with quantity and amount totals
Line Items.

Settings (gear) and Personalization menus

Settings is one group, System Configuration, with nine entries: Application Settings, Default Selection, Printable Format Settings, Branch Settings, Workflow Settings, Custom Status, Email Template, Custom Resource Bundle Configuration, Custom Field Placement. Ten further routes exist without a menu entry — Feature Visibility, Webhook, Applet Log, Release Notes, and the six permission screens (permission wizard, permission set, user, team, role and client-side permission listings).

Personalization has a single entry, Default Selection; the sidebar route exists without one.

Configuration

Before you can use it

  • Company, branch and location — the create form defaults come from DEFAULT_COMPANY, DEFAULT_BRANCH and DEFAULT_LOCATION, set in Organisation and selected here.
  • Customers — the account panel resolves an entity maintained in Customer Maintenance. A customer flagged as blacklisted cannot be used: FINAL is rejected by the backend (see Lifecycle and effects).
  • Document numbering for INTERNAL_OUTBOUND_DELIVERY_ORDER, otherwise the document has no number.
  • A printable format (.jrxml) if the document is to be printed or e-mailed. Uploaded in Printable Format Settings; a branch default is chosen per branch against this document type.
  • An e-mail template if Send Email is used. Templates are stored with txn_type = 'INTERNAL_OUTBOUND_DELIVERY_ORDER_EMAIL_TEMPLATE' and listed by the same filter.
  • A workflow process in Workflow Design if the delivery order is to carry a workflow status.

Applet settings

Where they live. Application Settings is the shared settings screen. Default Selection, Branch Settings, Workflow Settings, Custom Status, Email Template and Printable Format Settings are this applet’s own. Default Selection under Personalization is per-login. One of the applet’s own screens is worth naming because it looks like a filter and is not: Branch Settings › Item Category Filter stores, per branch, any number of categories at each of ten category levels (ITEM_CATEGORY_1..10) in its own link table, and nothing reads those rows except the screen that wrote them — the item search is not narrowed by these settings, so staff at that branch see the same items whatever categories are stored.

The applet has about 180 settings. The table below covers the keys whose behaviour is visible in this applet’s own code; the great majority of the remainder are HIDE_* / EXPAND_* toggles for individual fields and panels, which do exactly what their names say. Anyone with access to the gear menu can change them, with one exception met here: the row for DISABLE_EDITING_AMOUNT_TXN appears only to a login holding SHOW_DISABLE_EDITING_AMOUNT_TXN_SETTING.

SettingWhat it controlsDefaultEffect when changed
HIDE_LINE_ITEMS_MENUHides the Line Items menu entryfalseHidden only if the login also lacks the SHOW_LINE_ITEMS_MENU client-side permission
HIDE_PICK_PACK_QUEUE_MENUHides Pick Pack QueuefalseSame rule
HIDE_INTERCOMPANY_MENUHides IntercompanyfalseSame rule
HIDE_GENDOC_DISCARD_BUTTONRemoves DiscardfalseIn the edit workspace a login holding SHOW_GENDOC_DISCARD_BUTTON still sees it; on the listing that permission is needed for the button to appear at all, and the setting then hides it from that login too
HIDE_GENDOC_VOID_BUTTONRemoves VoidfalseThe same, with SHOW_GENDOC_VOID_BUTTON
DEFAULT_POSTING_STATUSPosting status the listing opens filtered tounsetWhen set and not ALL, the listing opens showing exactly that one posting status
INTERNAL_OUTBOUND_DELIVERY_ORDER_DETAILS_TAB_ORDEROrder of the edit-workspace panelsthe applet’s own tab orderSaved tabs are matched against the current tab list and unknown entries dropped
VERTICAL_ORIENTATIONStacked panels instead of horizontal tabsfalseApplies to every document and line screen in the applet, unless the orientation chosen in Default Selection says otherwise
ENABLE_SERIAL_NUMBER_VALIDATION_FINALAsks the server, at FINAL on this document (which moves no stock), to check that each serial-numbered line carries as many serial numbers as its base quantity, that each serial is in stock at the delivering location, and the batch-number countsfalseWithout it none of these is checked on a delivery order; a serial number repeated on the same item within the document is refused either way
ENABLE_CUSTOM_STATUS_1…5, …_HDR_1…5, …_LINE_1…5Turns each of the five custom status groups on, at header and/or line levelfalseThe status lists themselves are maintained in Custom Status
WORKFLOW_PROCESS_GUID and Final statusThe workflow process the document follows. The Final status selector that appears once a workflow is chosen is read by nothing — here, in the shared code or on the server; the Final button still sends the document to FINALunset
Settings screen listing Application Settings, Default Selection, Printable Format Settings, Branch Settings, Workflow Settings, Custom Status and Email Template
Settings.

Document behaviour settings

  • Status flow. Final, Draft, Discard and Void are listing actions. Final and Void are also in the edit workspace beside Save, and Discard is on its Main Details tab (in the tab layout only); Close is in the edit workspace and can be removed with HIDE_CLOSE_BUTTON.
  • Workflow. Workflow Settings maps a company and this document type to a process chosen from Workflow Design. This is status routing, not approval. Nothing in this applet approves anything, and the platform’s generic approval engine does not cover any sales-side document. A workflow status on a delivery order is a label; nothing waits on it.
  • Custom Status. Up to five status groups, each activatable at header and at line level, each a list of { name, descr, default }.
  • Printables and e-mail. .jrxml formats are uploaded in Printable Format Settings and defaulted per branch against this document type. Send Email on the listing uses a template stored under INTERNAL_OUTBOUND_DELIVERY_ORDER_EMAIL_TEMPLATE; it can be removed entirely with HIDE_SEND_EMAIL_BUTTON.
  • e-Invoice. None — a delivery order is not a submittable document type, and there is no e-Invoice setting or screen here.

Settings in other applets that control this applet

SettingWhere it is setEffect here
Workflow process definitionsWorkflow DesignSupplies the processes Workflow Settings can map to this document type
Document flow / knock-off enablementCompany document-flow configurationWhich of the knock-off tabs (Sales Order, Sales Invoice, Sales Return, Purchase GRN) appear
Packing List conversion (Create DO, Batch Process DO) and DEFAULT_PRICING_SCHEMEWarehouse ManagementDelivery orders arrive here already in DRAFT, with the packed base quantity but the UOM quantity and every amount copied from the ordered line — a short shipment of 8 against 10 ordered arrives saying 8 in base units and still priced for 10. Correct it before FINAL. DEFAULT_PRICING_SCHEME only tags the lines with a scheme; it does not reprice them

Feature visibility / permissions

Two different mechanisms, and they interact:

  1. Backend document permissions. The applet declares four targets at start-up: TNT_API_DOC_INTERNAL_OUTBOUND_DELIVERY_ORDER_READ_TGT_GUID, …_CREATE_…, …_UPDATE_…, …_DELETE_…. These are the same four the backend’s document handler enforces. Read is also checked before the document container loads.
  2. Client-side permission codes. SHOW_LINE_ITEMS_MENU, SHOW_PICK_PACK_QUEUE_MENU and SHOW_INTERCOMPANY_MENU are read from the login’s client-side permissions. A menu is hidden only when the login lacks the SHOW_ permission and the HIDE_ setting is on — so granting the permission overrides the tenant-wide hide. Buttons follow other rules: on the listing, Draft, Discard and Void appear only to a login holding their SHOW_ permission (see Screens and menus).

The six permission-administration screens are the shared ones and are reachable only by typing their address — they have no menu entry.

Fields

Reference voice; these are the form fields, not a guide.

Main Details and Account

FieldMeaningRequiredNotes
Doc No (Tenant / Company / Branch)The three numbering seriesSystemEach can be hidden: HIDE_MAIN_DETAILS_DOC_NO_TENANT, …_COMPANY, …_BRANCH
Transaction DateDocument dateYesHideable with HIDE_TRANSACTION_DATE. DEFAULT_TRANSACTION_DATE is not its default: it sets how far back the listing’s date filter starts (a month, a week or today)
ReferenceFree referenceNoHIDE_REFERENCE
Customer (entity)The account the goods go toYesBlacklisted customers are rejected at FINAL by the backend
Currency, Currency Rate, Base CurrencyTransaction currencyYesHIDE_CURRENCY, HIDE_CURRENCY_RATE, HIDE_BASE_CURRENCY
Sales AgentAgent on the headerNoHIDE_MAIN_DETAILS_SALES_AGENT; ENABLE_SALES_AGENT_AUTOFILL fills it
Ship Via, Tracking IDCarrier and consignment referenceNoHIDE_SHIP_VIA, HIDE_TRACKING_ID
Remarks, External RemarksInternal and customer-facing notesNoHIDE_REMARKS, HIDE_EXTERNAL_REMARKS
Workflow Status, Workflow ResolutionThe workflow labelNoHIDE_WORKFLOW_STATUS, HIDE_WORKFLOW_RESOLUTION
Segment, Dimension, Profit Center, Project, DepartmentAnalysis codesDependsMANDATORY_SEGMENT, MANDATORY_DIMENSION, MANDATORY_PROFIT_CENTER, MANDATORY_PROJECT each make one required on each line’s Department tab; the header’s Department Hdr panel does not read them

Lines

FieldMeaningRequiredNotes
Item, Item NameThe item deliveredYesENABLE_ITEM_NAME_MAX_LIMIT with ITEM_NAME_MAX_LIMIT caps the name length
Qty (UOM) and Qty (Base)Delivered quantity in the chosen unit and in base unitsYesHIDE_QTY_UOM, HIDE_QTY_BASE, HIDE_UOM_TO_BASE_RATIO
Unit price family (standard, net, incl./excl. tax, per UOM)PricingNoNine separate HIDE_UNIT_PRICE_* keys; ENABLE_EDITING_UNIT_PRICE_STD and DISABLE_EDITING_AMOUNT_TXN control editability
Tax Config, WHT ConfigTax selectionDependsHIDE_TAX_CONFIG_SELECTION, HIDE_WHT_CONFIG_SELECTION (the SST and WHT enable and include flags in the model have no control and no effect)
Serial / Batch / Bin number, batch issue and expiry dateTraceabilityDependsEach has a HIDE_* key; the serial count, and each serial’s presence at the delivering location, are validated at FINAL when ENABLE_SERIAL_NUMBER_VALIDATION_FINAL is on
GL CodeLine GLNoImmaterial to posting — this document posts nothing — but an Account Code or GL Code item still needs a linked GL Code before FINAL. HIDE_LINE_ITEMS_GL_CODE does nothing here: the shared settings screen offers it, but this applet never reads it

Delivery Details

The panel has four tabs. Pick Pack holds the line grid behind Send To Queue (below). External Delivery, Internal Delivery and Pickup each list the delivery jobs already made from this document with that delivery type, with a Cancel Jobs button that puts a cancelled job’s quantity back on the Pick Pack Queue. The delivery branch and delivery location fields on Main Details can be hidden with HIDE_DELIVERY_BRANCH and HIDE_DELIVERY_LOCATION, which also hide those columns in the knock-off grids.

The Pick Pack tab’s grid (the pick-pack queue; see Pick Pack Queue above):

FieldMeaningRequiredNotes
Qty To DeliverThe quantity to queue for this send—The line’s base quantity (after a send, that quantity less the queued balance). The column starts hidden and cannot be edited, so a send queues the whole line; split it into smaller jobs with Qty To Deliver on the Pick Pack Queue screen
Send To Queue (button)Sends every YES line not already marked as queued, with its Qty To Deliver, to the Pick Pack Queue—On a draft it stops with Delivery order need to be finalised. Cancelling a delivery job puts its row back; sending rows on to the warehouse picking queue removes them. FINAL does not do this; a document that is never sent never appears in the queue. A second send adds to the queued balance

Voiding a delivery order does not remove its queue rows — the pick/pack void job clears rows for sales orders only. Rows sent from a voided delivery order stay in the Pick Pack Queue until a job consumes them or they are cleared by hand.

Pick Pack Queue row

FieldMeaningRequiredNotes
Location / Company stock balanceStock on hand for the itemRead-onlyThe stored ledger balance. A delivery order never lowers it, so goods already on the lorry are still counted here until their invoice is finalised
Qty To DeliverQuantity going out on this jobYesPre-filled with Qty Pending; accepted only when ≤ Qty Pending; a typed value is cut to a whole number (2.5 becomes 2)
Delivery TypeINTERNAL_DELIVERY / EXTERNAL_DELIVERY / PICKUPYesMust equal the delivery type on every selected line
Delivery Branch, Delivery LocationWhere the job dispatches from—Empty until you choose. The job dispatches from your choice, or from the delivery order’s own branch and location when left blank; a selected line whose delivery branch and delivery location both differ from the choice stops the job
Width, Length, Height (cm), Weight (kg), Remarks, ContentShipment metadataNoWritten onto the delivery job header and printed on the trip’s job details. One set per action: every document you create jobs for in the same go gets the same values, so create jobs one document at a time when parcels differ

Lifecycle and effects

Statuses. A new document is created as TEMP and becomes ACTIVE on first save; posting status runs DRAFT → FINAL. VOID and DISCARDED take a document out of the flow; Close ends the knock-off lifecycle of a FINAL document. Posting status and record status are separate columns in the listing.

What posting does

  • Document type: INTERNAL_OUTBOUND_DELIVERY_ORDER, short code OBDODR.
  • Stock and money: neither. A delivery order moves no stock and posts no journal — finalising one posts nothing, and no GL code is resolved for posting. Open delivery-order lines are counted as committed quantity on Stock Availability’s Details listing, which is a reservation view, not a movement.
  • FINAL-time checks: a blacklisted customer is rejected. So is a foreign-currency delivery order with no exchange rate, an Account Code or GL Code item with no linked GL Code, a serial number repeated on the same item within the document, a bin line whose quantity is not positive, and a date in a locked fiscal period. The serial validation setting adds the serial-number and batch-number counts on this document’s zero-signum lines, and the check that each serial is in stock at the delivering location; the stock-balance check runs with its server default and skips every zero-signum line regardless, so the setting never touches it.
  • What an open delivery order costs you: it is a 0/0 document, but it is not inert. An open delivery order reduces the customer’s available credit and counts as committed stock on Stock Availability’s Details listing until it is invoiced or voided — the two numbers a credit controller and a store will ask about.
  • Bulk FINAL from the listing: the request is sent after an unconditional two-second pause and in parallel for every selected row, which is why nothing happens and then everything does.
  • What VOID reverses: nothing financial — there is no journal and no stock movement to reverse. VOID takes the document out of the operational flow and releases its knock-off links: a follow-on job deletes its balance for invoicing and gives the order back the quantity it took. Once an invoice has knocked it off — even a draft invoice, because its knock-off is saved with it — VOID is refused (see Troubleshooting).
  • Back to DRAFT: offered here, with two limits. The listing’s DRAFT button appears only when the SHOW_DRAFT_BUTTON setting is on and the login holds the SHOW_DRAFT_BUTTON permission, and returns the selected FINAL rows to draft in bulk. The server refuses it, as it refuses VOID, once a later document has knocked off the lines. Otherwise it releases the knock-offs and the document links, and because this document posts nothing there is no posting to leave behind. A document that posts is different: see What a Void Undoes.
  • What back to DRAFT leaves behind: the rows sent to the Pick Pack Queue and the delivery jobs made from them both stay; Cancel Jobs on Delivery Details only returns a job’s quantity to the queue.

What the applet writes besides the document. Delivery jobs, from Create Delivery Job. Settings screens write the applet settings, the workflow mapping, e-mail templates and printable formats.

Save, FINAL and the invoice: what changes, and when

A delivery order acts at three moments, and none of them moves stock. Each balance below is a row of its own for one pair of documents, and exists only when your company’s Knock Off Configuration (in Organisation) has that pair enabled — and, for a pair set to apply to pre-order items only, only for those items.

MomentWhat changesWhat stays as it was
Save, with lines knocked off a sales orderThe order’s balance for delivery orders falls by the quantity you took, at once. A draft delivery order already holds it, so the next delivery order is offered only the restThe order’s balance for invoices, if your company keeps one — a separate row (see Troubleshooting)
FINALIts own call, not a save — though Final inside the edit workspace saves your edits first, so they are kept even when FINAL then fails. It runs the checks under What posting does (blacklist, locked period, serial numbers when the setting is on, and the rest), queues the document’s follow-on jobs and returns. A follow-on job then opens each line for invoicing — only for an enabled Delivery Order → Sales Invoice pairNo stock line, no journal, no stock check, no credit-limit check
Send To Queue, then Create Delivery JobPick-pack rows, then the delivery job that uses them upThe document
The invoice that knocks it offSaving the invoice lowers this delivery order’s balance for invoicing. Finalising it takes the stock out at the line’s location on the invoice’s date, posts the sale and the receivable, and a follow-on job writes the cost back onto the invoice lineThis delivery order

Each figure, and what writes it

Figure, and where you see itStored or worked outWritten by, and when
Bal. Qty. in KO For Sales Order, adding lines hereStored: the order line’s balance for delivery ordersCreated by a follow-on job of the order’s FINAL; lowered each time a delivery order is saved; given back when one is voided
Bal. Qty. in the invoice’s KO For Delivery OrderStored: this delivery order’s balance for invoicingCreated by a follow-on job of this document’s FINAL, so a draft is not there to invoice; lowered when an invoice taking it is saved
Qty Pending on Pick Pack QueueStoredSend To Queue adds to it, a second send adds again; Create Delivery Job takes from it; cancelling the job puts it back
Location Balance, Company Balance on Pick Pack QueueStored ledger balance, read as the screen loadsRewritten only after a stock-moving FINAL. It still counts goods already on the lorry until their invoice is final
KO Doc on the listing (shown at first only to a login holding SHOW_KO_DOC while HIDE_KO_DOC is off; anyone can tick it on in the grid’s Columns side panel)Worked out as the listing loads, from the knock-off linksNames each document that took lines from this one — an invoice appears even if it took only part
The customer’s available credit — the figure the order and invoice applets check at FINAL when their credit setting is on, and quote in the refusalWorked out when askedThe credit limit less what they owe, less order value not yet on a delivery order, less delivery-order value not yet invoiced — Deciding on credit, Step 3
Cost on the lineNever written hereCost is written back onto lines that moved stock: the invoice’s

A worked delivery: 40 laptops in two lots, either side of a closing

GadgetSphere Distribution (GSD) sells a corporate customer 40 ultraportable laptops at RM 3,800 — RM 152,000 before tax — on a sales order finalised on 20 October. Warehouse GSD-WH-01 holds 50. The customer’s office opens in two phases, so 20 go on 27 October and 20 on 3 November. GSD’s Knock Off Configuration enables Sales Order → Delivery Order and Delivery Order → Sales Invoice.

DateWhat you doWhat the screens show afterwardsWhat posts
20 OctFinalise the orderA new delivery order’s KO For Sales Order: Base Qty. 40, Bal. Qty. 40. The customer’s available credit counts the full orderNothing
27 OctDelivery order 1: knock off the order, To Knockoff 20, save, FINAL, Send To Queue, Create Delivery JobOrder Bal. Qty. 20 — from the save. Qty Pending 20, then 0. Location Balance still 50. Available credit unchanged: 20 to deliver, 20 delivered and not invoicedNothing
31 OctClose OctoberThe stock report counts 50 laptops at GSD-WH-01, 20 of them in the customer’s office, and October shows no revenue from them—
3 NovDelivery order 2 for the last 20The order’s balance for delivery orders is used up, so it is no longer offeredNothing
5 NovInvoice both delivery orders from KO For Delivery Order and finaliseStock at GSD-WH-01 50 → 10, dated 5 November. KO Doc names the invoice on bothThe sale, its tax and the receivable, on 5 November

Between 27 October and 3 November the split left two balances open, each read in its own place: 20 laptops on the order waiting for a delivery order, and 20 on delivery order 1 waiting for an invoice. The customer’s available credit counted the whole order at every step in the table, because the order, the delivery order and then the receivable each carry the part the next has not yet taken. Between saving a delivery order and finalising it, though, the part it took counts nowhere — the order’s balance has fallen and the delivery order’s own balance does not exist yet — so a draft left lying overstates available credit.

Closing the month is the part left to you. Nothing stopped October closing with 20 laptops it no longer had. If deliveries and revenue belong in the same month in your books, whoever raises invoices invoices delivery order 1 before October is locked — the sales guides’ rule: invoice when the goods leave.

Verify one delivery: what success looks like

Once the invoice for a delivery order is final, four places agree:

  1. This listing: the delivery order’s KO Doc names the invoice.
  2. The invoice’s KO For Delivery Order no longer offers its lines, or offers only what you meant to leave.
  3. Stock Balance for the item at the delivering location fell by the delivered quantity on the invoice’s date, not the delivery order’s.
  4. KO For Sales Order on a new delivery order shows the order’s remaining balance, and stops offering the order once it is all delivered.

When you close a month, run it the other way. Filter this listing to the month and to FINAL: every delivery order with an empty KO Doc went out without an invoice (so did one whose KO Doc names only a delivery note or packing order), and for one that names an invoice, item 2 shows whether anything is left and the invoice itself must read FINAL — a draft invoice already takes the lines. That list is the accountant’s cut-off schedule.

One exception: a delivery order raised from an invoice (invoice first, deliver after) has an empty KO Doc too, because KO Doc names only documents that took lines from it — its Doc Link column names the invoice it came from.

What it will not do, and who does it instead

  • It takes no stock out and posts no revenue. The invoice does, on its own date. Whoever raises invoices invoices each delivery in the month it went out; the accountant confirms it with the closing check.
  • It does not check that the stock is there. The warehouse lead reads Location Balance on Pick Pack Queue before sending; the invoice is the first document that refuses, and by then the goods have gone.
  • It does not measure the credit limit at FINAL, only the blacklist. The credit controller decides before the warehouse is told (Deciding on credit).
  • It does not tell the order’s invoice report it was fulfilled. SO Line with SI KO in the Sales Order applet counts invoices knocked off the order itself. Read delivery progress from KO For Sales Order here; where your company also keeps an order-to-invoice balance, the sales administrator closes it when the last delivery order is invoiced (Troubleshooting).

Related applets

Troubleshooting

SymptomCauseFix
Line Items, Pick Pack Queue or Intercompany is missing from the menuThe login lacks the matching SHOW_*_MENU client-side permission and the tenant has the matching HIDE_*_MENU setting onEither grant the client-side permission to the login, or turn the setting off for everyone. Checking only one of the two explains most of these reports
Final, Draft, Discard or Void is missing from the listingFinal: HIDE_GENDOC_FINAL_BUTTON. Draft, Discard and Void: the login’s role lacks SHOW_DRAFT_BUTTON / SHOW_GENDOC_DISCARD_BUTTON / SHOW_GENDOC_VOID_BUTTON, or the setting (SHOW_DRAFT_BUTTON off, HIDE_GENDOC_DISCARD_BUTTON or HIDE_GENDOC_VOID_BUTTON on) hides itOn the listing Draft, Discard and Void need both: grant the client-side permission to the login’s role and set the setting to allow the button. Final has no permission override on the listing; open the document instead, where a login holding SHOW_GENDOC_FINAL_BUTTON sees Final even when the setting hides it
FINAL fails for a particular customerThe customer is blacklisted; disallowBlacklistedCustomer rejects the documentClear the blacklist flag in Customer Maintenance, or use a different account
FINAL fails complaining about serial numbersWith signum-zero validation on, the serial-number count must equal the line’s quantity in its base unit and each serial must be in stock at the delivering location; a serial entered twice for the same item in the document is refused either wayEnter the missing serials, correct the location or the serial, or turn ENABLE_SERIAL_NUMBER_VALIDATION_FINAL off if the tenant does not track them on delivery orders
The listing seems to be missing documentsDEFAULT_POSTING_STATUS is set to something other than ALL, so the listing opens filtered to a single posting status; or DEFAULT_TRANSACTION_DATE limits it to the last month, week or dayClear the setting, set the posting status to ALL, or change the filter in the search bar
Qty To Deliver will not accept the number typedThe edit is refused above the quantity still to deliverDeliver what is left, or go back to the delivery order and raise the ordered quantity
The delivery order finalised but the stock balance did not moveWorking as designed — signums are 0/0The movement is made by the Sales Invoice, Sales GIN (Stock Out) or a goods issue, not here
Send To Queue stops with Delivery order need to be finalisedThe document is still a draft; the button queues only a FINAL delivery orderFinalise it, then send
VOID stops with Cannot VOID the Document. The document(s) have been knocked off with another document(s).An invoice, or another document, has knocked off its lines — a draft one counts tooThe refusal keeps the delivery order and the documents built on it in step. The invoice is what posted: if the delivery was wrong, correct the invoice first — voiding it if that is the remedy (what that undoes), or discarding it while it is a draft — then void the delivery order
The invoice for delivered goods refuses FINAL with Not Enough Stock for item …The delivery order checked no stock, so goods went out that your books never received — the receipt is a draft, or was never enteredFinalise the receipt that brought the goods in, then the invoice
An order delivered and invoiced through delivery orders still shows its whole quantity on SO Line with SI KOThat report counts invoices knocked off the order directly. If your company also enables Sales Order → Sales Invoice, that balance never falls in this flow: it keeps Stock Availability’s main Available low, and the invoice screen still offers the order, so it can be billed twiceClose the line on SO Line with SI KO once its delivery orders are invoiced, and send each order down one route: through delivery orders, or straight to the invoice
Stock looks too high when you close the monthDelivered, not yet invoiced: a delivery order moves nothingRun the closing check under Verify one delivery and invoice what went out before the period is locked
Sales Invoice Template and File Import are missing from the menuBoth are routed but their menu entries are commented outNo menu entry opens them. Their routes (/sales-invoice-template and /file-import after the applet’s address) are still registered, so going there directly should open them — not yet tested, and not a supported path

Related documentation

Last updated on