Page 133 "Posted Sales Invoice Subform"
Base Application · Microsoft.Sales.History
Across versions
- BC23-30present
Neighbourhood 9 connected objects and pages
Base Application · Microsoft.Sales.History · captioned “Lines” · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Lines |
| SourceTable | Sales Invoice 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 line type. from the table field |
| Type | Rec.FormatType() |
Specifies the type of transaction that was posted with the line. | |
| No. | No. | Specifies the number of the involved entry or record, according to the specified number series. from the table field | |
| Item Reference No. | Item Reference No. | Specifies the referenced item number. from the table field | |
| 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 | |
| Variant Code | Variant Code | Specifies the variant of the item on the line. 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 VAT specification of the involved customer or vendor to link transactions made for this record 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 specification of the involved item or resource to link transactions made for this record with the appropriate general ledger account according to the VAT posting setup. from the table field | |
| Description | Description | Specifies a description of the product that was sold. | |
| Description 2 | Description 2 | Specifies information in addition to the description. 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. | |
| Bin Code | Bin Code | Specifies the bin where the items are picked or put away. from the table field | |
| Quantity | Quantity | Specifies the number of units of the item specified on the line. 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 name of the item or resource’s unit of measure, such as piece or hour. from the table field | |
| Unit Cost (LCY) | Unit Cost (LCY) | Specifies the cost, in LCY, of one unit of the item or resource on the line. | |
| Unit Price | Unit Price | Specifies the price of one unit of the item or resource. You can enter a price manually or have it entered according to the Price/Profit Calculation field on the related card. from the table field | |
| VAT % | VAT % | Specifies the VAT %. 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 | |
| Line Discount Amount | Line Discount Amount | Specifies the discount amount that is granted for the item on the line. from the table field | |
| Allow Invoice Disc. | Allow Invoice Disc. | Specifies whether the invoice line could have been included in a possible invoice discount calculation. | |
| Job No. | Job No. | Specifies the number of the related project. from the table field | |
| Job Task No. | Job Task No. | Specifies the number of the related project task. from the table field | |
| Job Contract Entry No. | Job Contract Entry No. | Specifies the entry number of the project planning line that the sales line is linked to. 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 | |
| ShortcutDimCode[3] | ShortcutDimCode[3] |
— | |
| ShortcutDimCode[4] | ShortcutDimCode[4] |
— | |
| ShortcutDimCode[5] | ShortcutDimCode[5] |
— | |
| ShortcutDimCode[6] | ShortcutDimCode[6] |
— | |
| ShortcutDimCode[7] | ShortcutDimCode[7] |
— | |
| ShortcutDimCode[8] | ShortcutDimCode[8] |
— | |
| 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 | |
| Control23 | Invoice Discount Amount | TotalSalesInvoiceHeader."Invoice Discount Amount" |
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. |
| Control9 | Total Amount Excl. VAT | TotalSalesInvoiceHeader.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 | TotalSalesInvoiceHeader."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 |
|---|---|---|---|
| Line | 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 Tracking Entries | View serial, lot or package numbers that are assigned to items. | ||
| Item Shipment Lines | View posted sales shipments for the item. | ||
| Document Line Tracking | View related open, posted, or archived documents or document lines. | ||
| Deferral Schedule | View the deferral schedule that governs how revenue made with this sales document was deferred to different accounting periods when the document was posted. | ||
| Attachments | Add a file as an attachment. You can attach images as well as documents. |
Events published
OnAfterSetDimensionsVisibility()(integration)
Procedures
ShowDocumentLineTracking(): Opens the document line tracking page for this invoice line.
Plus 1 local procedures.
Triggers
OnAfterGetCurrRecord, OnAfterGetRecord, OnInit, OnOpenPage
Relations
- source table Table 113 “Sales Invoice Line”
Extended by
- Page extension 30111 “Shpfy Post. Sal. Inv. Subform”
- Page extension 4858 “AA Post. Sales Invoice Subform”
- Page extension 5027 “SD Posted Sales Inv. Subform”
- Page extension 6238 “Sust. Pstd Sales Inv. Subform”
- Page extension 8064 “Posted Sales Invoice 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 408 “DimensionManagement” (1 call:
SetDimensionsVisibility → UseShortcutDims) - Codeunit 57 “Document Totals” (1 call:
OnAfterGetCurrRecord → CalculatePostedSalesInvoiceTotals) - Codeunit 9179 “Application Area Mgmt. Facade” (1 call:
OnInit → IsFoundationEnabled)
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: "Posted Sales Invoice Subform"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.