Page 516 "Sales Lines"
Base Application · Microsoft.Sales.Document
Across versions
- BC23-26present
- BC27declaration changed
- BC28-30unchanged
Neighbourhood 11 connected objects and pages
Base Application · Microsoft.Sales.Document · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Sales Lines |
| SourceTable | Sales Line |
| PageType | List |
| UsageCategory | Lists |
| ApplicationArea | Basic, Suite |
Fields on this page
Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).
| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Control1 | Document Type | Document Type | Specifies the type of document that you are about to create. from the table field |
| Document No. | Document No. | Specifies the document number. from the table field | |
| Sell-to Customer No. | Sell-to Customer No. | Specifies the number of the customer. from the table field | |
| Sell-to Customer Name | Sell-to Customer Name | Specifies the name of the customer. from the table field | |
| Line No. | Line No. | Specifies the line number. from the table field | |
| Type | Type | Specifies the type of entity that will be posted for this sales line, such as Item, Resource, or G/L Account. The type that you enter in this field determines what you can select in the No. field. from the table field | |
| No. | No. | Specifies the number of the involved entry or record, according to the specified number series. from the table field | |
| Variant Code | Variant Code | Specifies the variant of the item on the line. from the table field | |
| Description | Description | Specifies a description of the entry of the product to be sold. To add a non-transactional text line, fill in the Description field only. from the table field | |
| Description 2 | Description 2 | Specifies information in addition to the description. from the table field | |
| Location Code | Location Code | Specifies the inventory location from which the items sold should be picked and where the inventory decrease is registered. from the table field | |
| Reserve | Reserve | Specifies whether a reservation can be made for items on this line. from the table field | |
| Quantity | Quantity | Specifies how many units are being sold. from the table field | |
| Qty. to Ship | Qty. to Ship | Specifies the quantity of items that remain to be shipped. from the table field | |
| Reserved Qty. (Base) | Reserved Qty. (Base) | Specifies the value in the Reserved Quantity field, expressed in the base unit of measure. from the table field | |
| Unit of Measure Code | Unit of Measure Code | Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. from the table field | |
| Line Amount | Line Amount | Specifies the net amount, excluding any invoice discount amount, that must be paid for products on the line. from the table field | |
| Allocation Account No. | Selected Alloc. Account No. | Specifies the allocation account number that will be used to distribute the amounts during the posting process. from the table field | |
| Job No. | Job No. | Specifies the number of the related project. If you fill in this field and the Project Task No. field, then a project ledger entry will be posted together with the sales line. from the table field | |
| Work Type Code | Work Type Code | Specifies which work type the resource applies to when the sale is related to a project. from the table field | |
| Shortcut Dimension 1 Code | Shortcut Dimension 1 Code | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. from the table field | |
| Shortcut Dimension 2 Code | Shortcut Dimension 2 Code | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. from the table field | |
| ShortcutDimCode[3] | ShortcutDimCode[3] |
— | |
| ShortcutDimCode[4] | ShortcutDimCode[4] |
— | |
| ShortcutDimCode[5] | ShortcutDimCode[5] |
— | |
| ShortcutDimCode[6] | ShortcutDimCode[6] |
— | |
| ShortcutDimCode[7] | ShortcutDimCode[7] |
— | |
| ShortcutDimCode[8] | ShortcutDimCode[8] |
— | |
| Shipment Date | Shipment Date | Specifies when items on the document are shipped or were shipped. A shipment date is usually calculated from a requested delivery date plus lead time. from the table field | |
| Outstanding Quantity | Outstanding Quantity | Specifies how many units on the order line have not yet been shipped. from the table field |
Actions
| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Line | Show Document | Open the document that the selected line exists on. | |
| Reservation Entries | View the entries for every reservation that is made, either manually or automatically. | ||
| Item Tracking Lines | View or edit serial, lot and package numbers that are assigned to the item on the document or journal line. | ||
| Detach Lines | Detach the selected non-inventory product lines from the inventory item line. | ||
| Redistribute Account Allocations | Use this action to redistribute the account allocations for this line. | ||
| Generate lines from Allocation Account Line | Use this action to replace the Allocation Account line with the actual lines that would be generated from the line itself. |
Triggers
OnAfterGetRecord, OnNewRecord, OnOpenPage
Relations
- source table Table 37 “Sales Line”
Pages and codeunits on this table
- Table 37 “Sales Line” (drill-down page)
- Table 37 “Sales Line” (lookup page)
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 2675 “Allocation Account Mgt.” (1 call:
OnOpenPage → UseAllocationAccountNoField)
Called by
- Table 37 “Sales Line” (3 calls:
AttachToInventoryItemLine → (object),BlanketOrderLookup → (object),ShowBlanketOrderSalesLines → (object)) - Codeunit 99000832 “Sales Line-Reserve” (2 calls:
OnLookupLine → (object),ShowSourceLines → (object)) - Codeunit 5991 “Sales Warehouse Mgt.” (1 call:
ShowSalesLines → (object)) - Page 6560 “Document Line Tracking” (1 call:
ShowRecords → (object))
Documented on Microsoft Learn
- Ad-hoc analysis of finance data
- Ad-hoc analysis of inventory data
- Ad-hoc analysis of sales data
- Sales analytics
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "page", object_name: "Sales Lines"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.