Skip to main content

Receipt screen

The receipt screen opens when you click a row of the receipts list or press New. It shows one receipt. The header is in the top part. The lines are in the bottom part.

Receipt 0000000011: the Header tab on top and the list of lines below
Caption: a receipt in status InProgress. Focus: 1 The Completion field shows Partially received while the Status field shows InProgress. 2 The Damage Records tab. The lines are in the list below, with the buttons New, Delete, Refresh, Receive, Resume scan and Adjust Qty.

Layout​

The screen is a shell form (receipt_shell) with two slots.

SlotFormShare of the heightContent
Topreceipt_tabbed ("Receipt")40%The header, in seven tabs.
Bottomreceipt_detail_list ("Receipt Lines")60%The lines of the receipt.

The breadcrumb shows Dashboard > Receipts > {receipt number}. The arrow at the left of the toolbar goes back to the list.

Header tabs​

TabPageWhat it holds
HeaderHeader tabNumber, owner, status, type, carrier, supplier, PO, door, expected date.
DatesDates tabEight dates.
ShippingShipping tabVehicle, driver, trailer, temperature, weight, volume.
SummarySummary tabCompletion, version, close summary, cancel summary. Read only.
AuditAudit tabThe change history of the header. Read only.
Damage RecordsDamage Records tabReported damage. Read only.
Expected BoxesExpected Boxes tabPlanned pallets and boxes, with Move Boxes and Cancel Box.

Header toolbar (receipt_tabbed_toolbar)​

ButtonWhat it does
Back arrowReturns to the receipts list.
SaveChecks that Receipt Number and Owner are filled, then saves the header. A new receipt is created. A saved receipt is updated.
DeleteDeletes this receipt and its unreceived lines, then returns to the list. See Deleting receipts.

The status buttons (hold, release, cancel, close) are on the receipts list, not on this screen.

Lines area​

The lines list has its own toolbar. See Receipt lines list. Click a line to open the line card. The card replaces the lines list in the bottom slot. The card has its own tabs. See Line detail tab.

What changes on screen with the status​

Status of the receiptHeader fieldsLines toolbar
New, not savedReceipt Number, Owner and Receipt Type can be edited.Buttons are grey with the text "Save receipt first".
Open, InProgressReference fields can be edited. Receipt Number, Owner, Status and Completion cannot. Receipt Type can be edited only for types Sscc and CaseLevel in status Open.New and Delete work.
OnHoldSame as above.New and Delete are grey: "The receipt is closed, cancelled or on hold - lines can no longer be added or removed".
Closed, CancelledEvery field is read only.New and Delete are grey with the same text.

Source: crates/services/web-ui-server/src/extensions/customization/receipt/header_render_action.rs:29-83 and the bindings of the form receipt_detail_list.