Page 46 "Sales Order Subform"
Base Application · Microsoft.Sales.Document
Across versions
- BC23-25present
- BC261 events added, 1 events removed
- BC27unchanged
- BC283 procedures added
- BC29-30unchanged
Neighbourhood 25 connected objects and pages
Base Application · Microsoft.Sales.Document · captioned “Lines” · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Lines |
| SourceTable | Sales Line |
| PageType | ListPart |
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 | Type | Type | Specifies the type of entity that will be posted for this sales line, such as Item, Resource, or G/L Account. |
| Type | TypeAsText |
Specifies the type of transaction that will be posted with the document line. If you select Comment, then you can enter any text in the Description field, such as a message to a customer. | |
| No. | No. | Specifies what you are selling, such as a product or a fixed asset. You’ll see different lists of things to choose from depending on your choice in the Type field. | |
| Item Reference No. | Item Reference No. | Specifies a reference to the item number as defined by the vendor or customer, or the item’s barcode. | |
| IC Partner Code | IC Partner Code | Specifies the code of the intercompany partner that the transaction is related to if the entry was created from an intercompany transaction. from the table field | |
| IC Partner Ref. Type | IC Partner Ref. Type | Specifies the item or account in your IC partner’s company that corresponds to the item or account on the line. from the table field | |
| IC Partner Reference | IC Partner Reference | Specifies the IC partner. If the line is being sent to one of your intercompany partners, this field is used together with the IC Partner Ref. Type field to indicate the item or account in your partner’s company that corresponds to the line. from the table field | |
| IC Item Reference | IC Item Reference No. | Specifies the IC item reference. If the line is being sent to one of your intercompany partners, this field is used together with the IC Partner Ref. Type field to indicate the item or account in your partner’s company that corresponds to the line. from the table field | |
| Variant Code | Variant Code | Specifies the variant of the item on the line. from the table field | |
| Substitution Available | Substitution Available | Specifies that a substitute is available for the item on the sales line. from the table field | |
| Purchasing Code | Purchasing Code | Specifies the code for a special procurement method, such as drop shipment. from the table field | |
| Nonstock | Nonstock | Specifies that this item is a catalog item. from the table field | |
| Gen. Bus. Posting Group | Gen. Bus. Posting Group | Specifies the vendor’s or customer’s trade type to link transactions made for this business partner with the appropriate general ledger account according to the general posting setup. from the table field | |
| Gen. Prod. Posting Group | Gen. Prod. Posting Group | Specifies the item’s product type to link transactions made for this item with the appropriate general ledger account according to the general posting setup. from the table field | |
| VAT Bus. Posting Group | VAT Bus. Posting Group | Specifies the vendor’s VAT specification to link transactions made for this vendor with the appropriate general ledger account according to the VAT posting setup. from the table field | |
| VAT Prod. Posting Group | VAT Prod. Posting Group | Specifies the VAT product posting group. Links business transactions made for the item, resource, or G/L account with the general ledger, to account for VAT amounts resulting from trade with that record. from the table field | |
| Description | Description | Specifies a description of what you’re selling. Based on your choices in the Type and No. fields, the field may show suggested text that you can change it for this document. To add a comment, set the Type field to Comment and write the comment itself here. | |
| Description 2 | Description 2 | Specifies information in addition to the description. from the table field | |
| Drop Shipment | Drop Shipment | Specifies if your vendor ships the items directly to your customer. from the table field | |
| Special Order | Special Order | Specifies that the item on the sales line is a special-order item. from the table field | |
| Return Reason Code | Return Reason Code | Specifies the code explaining why the item was returned. 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 | |
| Bin Code | Bin Code | Specifies the bin where the items are picked or put away. from the table field | |
| Control50 | 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 Assemble to Order | Qty. to Assemble to Order | Specifies how many units of the sales line quantity that you want to supply by assembly. from the table field | |
| Reserved Quantity | Reserved Quantity | Specifies how many units of the item on the line have been reserved. 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 | |
| Unit of Measure | Unit of Measure | Specifies the unit of measure for the item or resource on the sales line. from the table field | |
| Unit Cost (LCY) | Unit Cost (LCY) | Specifies the unit cost of the item on the line. | |
| Sales Price Exists | Rec.PriceExists() |
Specifies that there is a specific price for this customer. | |
| Unit Price | Unit Price | Specifies the price for one unit on the sales line. from the table field | |
| Tax Liable | Tax Liable | Specifies if the customer or vendor is liable for sales tax. from the table field | |
| Tax Area Code | Tax Area Code | Specifies the tax area that is used to calculate and post sales tax. from the table field | |
| Tax Group Code | Tax Group Code | Specifies the tax group that is used to calculate and post sales tax. from the table field | |
| Line Discount % | Line Discount % | Specifies the discount percentage that is granted for the item on the line. 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 | |
| Sales Line Disc. Exists | Rec.LineDiscExists() |
Specifies that there is a specific discount for this customer. | |
| Line Discount Amount | Line Discount Amount | Specifies the discount amount that is granted for the item on the line. from the table field | |
| Prepayment % | Prepayment % | Specifies the prepayment percentage to use to calculate the prepayment for sales. from the table field | |
| Prepmt. Line Amount | Prepmt. Line Amount | Specifies the prepayment amount of the line in the currency of the sales document if a prepayment percentage is specified for the sales line. from the table field | |
| Prepmt. Amt. Inv. | Prepmt. Amt. Inv. | Specifies the prepayment amount that has already been invoiced to the customer for this sales line. from the table field | |
| Allow Invoice Disc. | Allow Invoice Disc. | Specifies if the invoice line is included when the invoice discount is calculated. from the table field | |
| Inv. Discount Amount | Inv. Discount Amount | Specifies the total calculated invoice discount amount for the line. | |
| Inv. Disc. Amount to Invoice | Inv. Disc. Amount to Invoice | Specifies the actual invoice discount amount that will be posted for the line in next invoice. from the table field | |
| Qty. to Ship | Qty. to Ship | Specifies the quantity of items that remain to be shipped. from the table field | |
| Quantity Shipped | Quantity Shipped | Specifies how many units of the item on the line have been posted as shipped. from the table field | |
| Qty. to Invoice | Qty. to Invoice | Specifies the quantity that remains to be invoiced. It is calculated as Quantity - Qty. Invoiced. from the table field | |
| Quantity Invoiced | Quantity Invoiced | Specifies how many units of the item on the line have been posted as invoiced. from the table field | |
| Prepmt Amt to Deduct | Prepmt Amt to Deduct | Specifies the prepayment amount that has already been deducted from ordinary invoices posted for this sales order line. from the table field | |
| Prepmt Amt Deducted | Prepmt Amt Deducted | Specifies the prepayment amount that has already been deducted from ordinary invoices posted for this sales order line. from the table field | |
| Allow Item Charge Assignment | Allow Item Charge Assignment | Specifies that you can assign item charges to this line. from the table field | |
| Qty. to Assign | Qty. to Assign | Specifies how many units of the item charge are assigned to the line originally. | |
| Item Charge Qty. to Handle | Item Charge Qty. to Handle | Specifies how many items the item charge will be assigned to on the line. It can be either equal to Qty. to Assign or to zero. If it is zero, the item charge will not be assigned to the line. from the table field | |
| Qty. Assigned | Qty. Assigned | Specifies the quantity of the item charge that was assigned to a specified item when you posted this sales line. from the table field | |
| Requested Delivery Date | Requested Delivery Date | Specifies the date that the customer has asked for the order to be delivered. from the table field | |
| Promised Delivery Date | Promised Delivery Date | Specifies the date that you have promised to deliver the order, as a result of the Order Promising function. from the table field | |
| Planned Delivery Date | Planned Delivery Date | Specifies the planned date that the shipment will be delivered at the customer’s address. If the customer requests a delivery date, the program calculates whether the items will be available for delivery on this date. If the items are available, the planned delivery date will be the same as the requ… from the table field | |
| Planned Shipment Date | Planned Shipment Date | Specifies the date that the shipment should ship from the warehouse. If the customer requests a delivery date, the program calculates the planned shipment date by subtracting the shipping time from the requested delivery date. If the customer does not request a delivery date or the requested deliver… from the table field | |
| 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 | |
| Shipping Agent Code | Shipping Agent Code | Specifies the code for the shipping agent who is transporting the items. from the table field | |
| Shipping Agent Service Code | Shipping Agent Service Code | Specifies the code for the service, such as a one-day delivery, that is offered by the shipping agent. from the table field | |
| Shipping Time | Shipping Time | Specifies how long it takes from when the items are shipped from the warehouse to when they are delivered. 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 | |
| Whse. Outstanding Qty. | Whse. Outstanding Qty. | Specifies how many units on the sales order line remain to be handled in warehouse documents. from the table field | |
| Whse. Outstanding Qty. (Base) | Whse. Outstanding Qty. (Base) | Specifies how many units on the sales order line remain to be handled in warehouse documents. | |
| ATO Whse. Outstanding Qty. | ATO Whse. Outstanding Qty. | Specifies how many assemble-to-order units on the sales order line need to be assembled and handled in warehouse documents. from the table field | |
| ATO Whse. Outstd. Qty. (Base) | ATO Whse. Outstd. Qty. (Base) | Specifies how many assemble-to-order units on the sales order line remain to be assembled and handled in warehouse documents. | |
| Outbound Whse. Handling Time | Outbound Whse. Handling Time | Specifies a date formula for the time it takes to get items ready to ship from this location. The time element is used in the calculation of the delivery date as follows: Shipment Date + Outbound Warehouse Handling Time = Planned Shipment Date + Shipping Time = Planned Delivery Date. from the table field | |
| Blanket Order No. | Blanket Order No. | Specifies the number of the blanket order that the record originates from. from the table field | |
| Blanket Order Line No. | Blanket Order Line No. | Specifies the number of the blanket order line that the record originates from. from the table field | |
| FA Posting Date | FA Posting Date | Specifies the date that will be used on related fixed asset ledger entries. from the table field | |
| Depr. until FA Posting Date | Depr. until FA Posting Date | Specifies if depreciation was calculated until the FA posting date of the line. from the table field | |
| Depreciation Book Code | Depreciation Book Code | Specifies the code for the depreciation book to which the line will be posted if you have selected Fixed Asset in the Type field for this line. from the table field | |
| Use Duplication List | Use Duplication List | Specifies, if the type is Fixed Asset, that information on the line is to be posted to all the assets defined depreciation books. | |
| Duplicate in Depreciation Book | Duplicate in Depreciation Book | Specifies a depreciation book code if you want the journal line to be posted to that depreciation book, as well as to the depreciation book in the Depreciation Book Code field. from the table field | |
| Appl.-from Item Entry | Appl.-from Item Entry | Specifies the number of the item ledger entry that the document or journal line is applied from. from the table field | |
| Appl.-to Item Entry | Appl.-to Item Entry | Specifies the number of the item ledger entry that the document or journal line is applied -to. from the table field | |
| Deferral Code | Deferral Code | Specifies the deferral template that governs how revenue earned with this sales document is deferred to the different accounting periods when the good or service was delivered. 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 | |
| ShortcutDimCode3 | ShortcutDimCode[3] |
— | |
| ShortcutDimCode4 | ShortcutDimCode[4] |
— | |
| ShortcutDimCode5 | ShortcutDimCode[5] |
— | |
| ShortcutDimCode6 | ShortcutDimCode[6] |
— | |
| ShortcutDimCode7 | ShortcutDimCode[7] |
— | |
| ShortcutDimCode8 | ShortcutDimCode[8] |
— | |
| Document No. | Document No. | Specifies the document number. from the table field | |
| Line No. | Line No. | Specifies the line number. from the table field | |
| Unit Gross Weight | Gross Weight | Specifies the gross weight of one unit of the item. In the sales statistics window, the gross weight on the line is included in the total gross weight of all the lines for the particular sales document. from the table field | |
| Unit Net Weight | Net Weight | Specifies the net weight of one unit of the item. In the sales statistics window, the net weight on the line is included in the total net weight of all the lines for the particular sales document. from the table field | |
| Unit Volume | Unit Volume | Specifies the volume of one unit of the item. In the sales statistics window, the volume of one unit of the item on the line is included in the total volume of all the lines for the particular sales document. from the table field | |
| Units per Parcel | Units per Parcel | Specifies the number of units per parcel of the item. In the sales statistics window, the number of units per parcel on the line helps to determine the total number of units for all the lines for the particular sales document. from the table field | |
| Attached to Line No. | Attached to Line No. | Specifies the line number to which this sales line is attached. from the table field | |
| Attached Lines Count | Attached Lines Count | Specifies the number of non-inventory product lines attached to the sales line. from the table field | |
| Control45 | Subtotal Excl. VAT | TotalSalesLine."Line Amount" |
Specifies the sum of the value in the Line Amount Excl. VAT field on all lines in the document. |
| Invoice Discount Amount | InvoiceDiscountAmount |
Specifies a discount amount that is deducted from the value of the Total Incl. VAT field, based on sales lines where the Allow Invoice Disc. field is selected. You can enter or change the amount manually. | |
| Invoice Discount % | InvoiceDiscountPct |
Specifies a discount percentage that is applied to the invoice, based on sales lines where the Allow Invoice Disc. field is selected. The percentage and criteria are defined in the Customer Invoice Discounts page, but you can enter or change the percentage manually. | |
| Control28 | Total Amount Excl. VAT | TotalSalesLine.Amount |
Specifies the sum of the value in the Line Amount Excl. VAT field on all lines in the document minus any discount amount in the Invoice Discount Amount field. |
| Total VAT | VATAmount |
Specifies the sum of VAT amounts on all lines in the document. | |
| Total Amount Incl. VAT | TotalSalesLine."Amount Including VAT" |
Specifies the sum of the value in the Line Amount Incl. VAT field on all lines in the document minus any discount amount in the Invoice Discount Amount field. |
Actions
| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Select items | Add two or more items from the full list of your inventory items. | |
| Functions | Get Price | Insert the lowest possible price in the Unit Price field according to any special price that you have set up. | |
| Get Line Discount | Insert the best possible discount in the Line Discount field according to any special discounts that you have set up. | ||
| Get Price | Insert the lowest possible price in the Unit Price field according to any special price that you have set up. | ||
| Get Line Discount | Insert the best possible discount in the Line Discount field according to any special discounts that you have set up. | ||
| Explode BOM | Add a line for each component on the bill of materials for the selected item. For example, this is useful for selling the parent item as a kit. CAUTION: The line for the parent item will be deleted and only its description will display. To undo this action, delete the component lines and add a line … | ||
| Insert Ext. Texts | Insert the extended item description that is set up for the item that is being processed on the line. | ||
| Attach to inventory item line | Attach the selected non-inventory product lines to a inventory item line in this sales order. | ||
| Reserve | Reserve the quantity of the selected item that is required on the document line from which you opened this page. This action is available only for lines that contain an item. | ||
| Order Tracking | Track the connection of a supply to its corresponding demand for the selected item. This can help you find the original demand that created a specific production order or purchase order. This action is available only for lines that contain an item. | ||
| Select Catalog Items | View the list of catalog items that exist in the system. | ||
| Reserve from Inventory | Reserve items for the selected line from inventory. | ||
| Item Availability by | Event | View how the actual and the projected available balance of an item will develop over time according to supply and demand events. | |
| Period | Show the projected quantity of the item over time according to time periods, such as day, week, or month. | ||
| Variant | View or edit the item’s variants. Instead of setting up each color of an item as a separate item, you can set up the various colors as variants of the item. | ||
| Location | View the actual and projected quantity of the item per location. | ||
| Lot | View the current and projected quantity of the item for each lot. | Page 520 “Item Availability by Lot No.” | |
| BOM Level | View availability figures for items on bills of materials that show how many units of a parent item you can make based on the availability of child items. | ||
| Unit of Measure | View the item’s availability by a unit of measure. | ||
| Related Information | Reservation Entries | View all reservation entries for the selected item. This action is available only for lines that contain an item. | |
| Item Tracking Lines | View or edit serial, lot and package numbers for the selected item. This action is available only for lines that contain an item. | ||
| Select Item Substitution | Select another item that has been set up to be sold instead of the original item if it is unavailable. | ||
| Dimensions | View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history. | ||
| Comments | View or add comments for the record. | ||
| Item Charge Assignment | Record additional direct costs, for example for freight. This action is available only for Charge (Item) line types. | ||
| Order Promising | Calculate the shipment and delivery dates based on the item’s known and expected availability dates, and then promise the dates to the customer. | ||
| Attachments | Add a file as an attachment. You can attach images as well as documents. | ||
| Assemble to Order | Assemble-to-Order Lines | View any linked assembly order lines if the documents represents an assemble-to-order sale. | |
| Roll Up Price | Update the unit price of the assembly item according to any changes that you have made to the assembly components. | ||
| Roll Up Cost | Update the unit cost of the assembly item according to any changes that you have made to the assembly components. | ||
| Related Information | Document Line Tracking | View related open, posted, or archived documents or document lines. | |
| Deferral Schedule | View or edit the deferral schedule that governs how revenue made with this sales document is deferred to different accounting periods when the document is posted. | ||
| 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. | ||
| Drop Shipment | Purchase Order | View the purchase order that is linked to the sales order, for drop shipment or special order. | |
| Special Order | Purchase Order | View the purchase order that is linked to the sales order, for drop shipment or special order. | |
| Order | Blanket Order | View the blanket sales order. | |
| Issues | Show Lines with Issues | View a list of sales lines that have issues before you post the document. | |
| Show All Lines | View all sales lines, including lines with and without issues. | ||
| Page | Edit in Excel | Send the data in the sub page to an Excel file for analysis or editing |
Events published
OnAfterNoOnAfterValidate(var SalesLine: Record "Sales Line"; xSalesLine: Record "Sales Line")(integration)OnAfterQuantityOnAfterValidate(var SalesLine: Record "Sales Line"; xSalesLine: Record "Sales Line")(integration)OnAfterLocationCodeOnAfterValidate(var SalesLine: Record "Sales Line"; xSalesLine: Record "Sales Line")(integration)OnAfterUpdateEditableOnRow(SalesLine: Record "Sales Line"; var IsCommentLine: Boolean; var IsBlankNumber: Boolean)(integration)OnAfterValidateDescription(var SalesLine: Record "Sales Line"; xSalesLine: Record "Sales Line")(integration)OnAfterValidateShortcutDimCode(var SalesLine: Record "Sales Line"; var ShortcutDimCode: array[8] of Code[20]; DimIndex: Integer)(integration)OnBeforeDeleteReservationEntries(var SalesLine: Record "Sales Line")(integration)OnBeforeInsertExtendedText(var SalesLine: Record "Sales Line")(integration)OnBeforeNoOnAfterValidate(var SalesLine: Record "Sales Line"; xSalesLine: Record "Sales Line")(integration)OnBeforeSetDefaultType(var SalesLine: Record "Sales Line"; var xSalesLine: Record "Sales Line"; var IsHandled: Boolean)(integration)OnBeforeUpdateTypeText(var SalesLine: Record "Sales Line")(integration)OnReferenceNoOnAfterLookup(var SalesLine: Record "Sales Line")(integration)OnNoOnAfterValidateOnAfterSaveAndAutoAsmToOrder(var SalesLine: Record "Sales Line")(integration)OnNoOnAfterValidateOnBeforeSaveAndAutoAsmToOrder()(integration)OnBeforeQtyToAsmToOrderOnAfterValidate(var SalesLine: Record "Sales Line"; var IsHandled: Boolean)(integration)OnBeforeAfterGetCurrRecord(var SalesLine: Record "Sales Line"; var IsHandled: Boolean; var TotalSalesHeader: Record "Sales Header"; var Currency: Record Currency)(integration)OnBeforeCalculateTotals(var SalesLine: Record "Sales Line"; var IsHandled: Boolean; var DocumentTotals: Codeunit "Document Totals"; var SuppressTotals: Boolean)+ BC26 − BC26 (integration)OnBeforeOpenPurchOrderForm(SalesOrderLine: Record "Sales Line"; var PageEditable: Boolean; var IsHandled: Boolean)(integration)OnBeforeOpenSpecialPurchOrderForm(SalesOrderLine: Record "Sales Line"; var PageEditable: Boolean; var IsHandled: Boolean)(integration)OnBeforeSetOpenPage()(integration)OnAfterSetDimensionsVisibility()(integration)OnBeforeDeltaUpdateTotals(var SalesLine: Record "Sales Line"; var IsHandled: Boolean; xSalesLine: Record "Sales Line"; SuppressTotals: Boolean)(integration)OnBeforeQuantityOnAfterValidate(var SalesLine: Record "Sales Line"; var xSalesLine: Record "Sales Line")(integration)OnBeforeVariantCodeOnAfterValidate(var SalesLine: Record "Sales Line"; var xSalesLine: Record "Sales Line")(integration)OnBeforeUnitofMeasureCodeOnAfterValidate(var SalesLine: Record "Sales Line"; var xSalesLine: Record "Sales Line")(integration)OnAfterUnitofMeasureCodeOnAfterValidate(var SalesLine: Record "Sales Line"; xSalesLine: Record "Sales Line")(integration)OnInsertExtendedTextOnAfterInsertSalesExtText(SalesLine: Record "Sales Line")(integration)OnBeforeValidateNo(var SalesLine: Record "Sales Line"; var xSalesLine: Record "Sales Line"; var IsHandled: Boolean)(integration)
Trigger event subscribers
- OnModifyRecordEvent: Codeunit 9070 “Document Errors Mgt.” OnModifyRecordEventSalesOrderSubform
Procedures
ApproveCalcInvDisc(): Approves and calculates the invoice discount for the current line.CalcInvDisc(): Calculates the invoice discount for the current line.ExplodeBOM(): Explodes the bill of materials for the current item line.OpenPurchOrderForm(): Opens the related purchase order form for drop shipment orders.OpenSpecialPurchOrderForm(): Opens the related special order purchase order or posted receipt.InsertExtendedText(Unconditionally: Boolean): Inserts extended text for the current line if available.ShowNonstockItems(): Shows the nonstock items page for the current line.ShowTracking(): Shows the order tracking page for the current line.ItemChargeAssgnt(): Shows the item charge assignment page for the current line.UpdateForm(SetSaveRecord: Boolean): Updates the current page with optional record save.ShowPrices(): Shows available prices for the current line item.ShowLineDisc(): Shows available line discounts for the current line item.OrderPromisingLine(): Opens the order promising lines page for the current line.NoOnAfterValidate(): Handles post-validation logic after the No. field is validated.VariantCodeOnAfterValidate()(protected)LocationCodeOnAfterValidate(): Handles post-validation logic after the Location Code field is validated.ReserveOnAfterValidate()(protected)QuantityOnAfterValidate()(protected)QtyToAsmToOrderOnAfterValidate()(protected)UnitofMeasureCodeOnAfterValidate()(protected)ShipmentDateOnAfterValidate()(protected)SaveAndAutoAsmToOrder()(protected)ShowDocumentLineTracking(): Shows the document line tracking page for the current line.ClearTotalSalesHeader(): Clears the total sales header variable.CalculateTotals(): Calculates the document totals for all sales lines.DeltaUpdateTotals(): Performs an incremental update of document totals based on line changes.ForceTotalsCalculation(): Forces a recalculation of document totals on the next update.RedistributeTotalsOnAfterValidate(): Redistributes invoice discount amounts across lines after validation.UpdateEditableOnRow(): Updates the editable state of fields on the current row.UpdateTypeText(): Updates the type text display based on the current line type.
Plus 12 local procedures.
Triggers
OnAfterGetCurrRecord, OnAfterGetRecord, OnDeleteRecord, OnFindRecord, OnInit, OnModifyRecord, OnNewRecord, OnOpenPage
Relations
- source table Table 37 “Sales Line”
Extended by
- Page extension 20405 “Qlty. Sales Order Subform”
- Page extension 30117 “Shpfy Sales Order Subform”
- Page extension 4865 “AutoAcc Sales Order Subform”
- Page extension 5032 “SD Sales Order Subform”
- Page extension 6233 “Sust. Sales Order Subform”
- Page extension 7278 “Sales Order Sub Form Ext”
- Page extension 8076 “Sales Order Subform”
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 57 “Document Totals” (14 calls:
ApproveCalcInvDisc → SalesDocTotalsNotUpToDate,CalcInvDisc → SalesDocTotalsNotUpToDate,CalculateTotals → CalculateSalesSubPageTotals, …) - Codeunit 378 “Transfer Extended Text” (3 calls:
InsertExtendedText → InsertSalesExtText,InsertExtendedText → MakeUpdate,InsertExtendedText → SalesCheckIfAnyExtText) - Codeunit 9179 “Application Area Mgmt. Facade” (2 calls:
OnInit → IsAdvancedEnabled,OnInit → IsFoundationEnabled) - Codeunit 99000832 “Sales Line-Reserve” (2 calls:
OnDeleteRecord → DeleteLine,OnDeleteRecord → DeleteLineConfirm) - Codeunit 2675 “Allocation Account Mgt.” (1 call:
OnOpenPage → UseAllocationAccountNoField) - Codeunit 27 “Confirm Management” (1 call:
ValidateInvoiceDiscountAmount → GetResponseOrDefault) - Codeunit 408 “DimensionManagement” (1 call:
SetDimensionsVisibility → UseShortcutDims) - Codeunit 56 “Sales - Calc Discount By Type” (1 call:
ValidateInvoiceDiscountAmount → ApplyInvDiscBasedOnAmt) - Codeunit 60 “Sales-Calc. Discount” (1 call:
CalcInvDisc → CalculateInvoiceDiscountOnLine) - Codeunit 61 “Sales-Disc. (Yes/No)” (1 call:
ApproveCalcInvDisc → (object)) - Codeunit 63 “Sales-Explode BOM” (1 call:
ExplodeBOM → (object)) - Codeunit 6723 “Server Setting” (1 call:
SetOpenPage → GetIsSaasExcelAddinEnabled) - Codeunit 7001 “Price Calculation Mgt.” (1 call:
SetOpenPage → IsExtendedPriceCalculationEnabled) - Codeunit 9070 “Document Errors Mgt.” (1 call:
SetOpenPage → BackgroundValidationEnabled) - Page 136 “Posted Purchase Receipt” (1 call:
OpenSpecialPurchOrderForm → (object)) - Page 145 “Posted Purchase Receipts” (1 call:
OpenSpecialPurchOrderForm → (object))
Recent changes
- 2026-08-04 #9653 [Master][ALL-E] No Reservation created when the item is selected by Description in Sales Lines (main, BC30, fix)
- 2026-07-14 #8914 [Master]- Changing Sales Order Line Description on a Sales Order unexpectedly changes the invoice total amounts.Changes (main, BC30, fix)
Countries that replace it
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 Order Subform"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.