Page 6030 "Service Statistics"
Base Application · Microsoft.Service.Document
Across versions
- BC23-30present
Neighbourhood 5 connected objects and pages
Base Application · Microsoft.Service.Document · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Service Statistics |
| SourceTable | Service Header |
| PageType | ListPlus |
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 |
|---|---|---|---|
| General | Amount | TotalServLine[1]."Line Amount" |
Specifies the amount for the relevant service order. |
| Inv. Discount Amount | TotalServLine[1]."Inv. Discount Amount" |
Specifies the invoice discount amount for the entire service document. | |
| Pmt. Discount Amount | TotalServLine[1]."Pmt. Discount Amount" |
Specifies the payment discount amount that you have granted to customers. | |
| Total | TotalAmount1[1] |
Specifies the total amount on the service lines (including and excluding VAT), VAT part, cost, and profit on the service lines. | |
| VAT Amount | VATAmount[1] |
Specifies the total VAT amount that has been calculated for all the lines in the service document. | |
| Total Incl. VAT | TotalAmount2[1] |
Specifies the total amount on the service document, including VAT. This is the amount that will be posted to the customer’s account for all the lines in the service document. | |
| Sales (LCY) | TotalServLineLCY[1].Amount |
Specifies your total service sales turnover in the fiscal year. It is calculated from amounts excluding VAT on all completed and open service sales invoices and credit memos. | |
| Original Profit (LCY) | ProfitLCY[1] |
Specifies the original profit that was associated with the service document. | |
| Adjusted Profit (LCY) | AdjProfitLCY[1] |
Specifies the amount of profit for the service document, in LCY, adjusted for any changes in the original item costs. | |
| Original Profit % | ProfitPct[1] |
Specifies the amount of the original profit on the service document, expressed as percentage of the amount in the Amount field. | |
| Adjusted Profit % | AdjProfitPct[1] |
Specifies the amount of the adjusted profit on the service document, expressed as percentage of the amount in the Amount field. | |
| Quantity | TotalServLine[1].Quantity |
Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. | |
| Parcels | TotalServLine[1]."Units per Parcel" |
Specifies the total number of parcels in the posted service credit memo. | |
| Net Weight | TotalServLine[1]."Net Weight" |
Specifies the net weight of the items specified on the service lines in the document. | |
| Gross Weight | TotalServLine[1]."Gross Weight" |
Specifies the gross weight of the items on the service lines in the document. | |
| Volume | TotalServLine[1]."Unit Volume" |
Specifies the volume of the items on the service lines in the document. | |
| Original Cost (LCY) | TotalServLineLCY[1]."Unit Cost (LCY)" |
Specifies the total cost (in LCY) of the G/L account entries, costs, items and/or resource hours on the service document. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items, resources and/or costs. | |
| Adjusted Cost (LCY) | TotalAdjCostLCY[1] |
Specifies the total cost, in LCY, of the items in the service document, adjusted for any changes in the original costs of these items. | |
| Cost Adjmt. Amount (LCY) | TotalAdjCostLCY[1] - TotalServLineLCY[1]."Unit Cost (LCY)" |
Specifies the difference between the original cost and the total adjusted cost of the items in the service document. | |
| Content | SubForm | part Page 576 “VAT Specification Subform” | — |
| Items | Quantity | TotalServLine[5].Quantity |
Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. |
| Amount | TotalServLine[5]."Line Amount" |
Specifies the amount for the relevant service order. | |
| Inv. Discount Amount | TotalServLine[5]."Inv. Discount Amount" |
Specifies the invoice discount amount for the entire service document. | |
| Total | TotalAmount1[5] |
Specifies the total amount on the service lines (including and excluding VAT), VAT part, cost, and profit on the service lines. | |
| VAT Amount | VATAmount[5] |
Specifies the total VAT amount that has been calculated for all the lines in the service document. | |
| Total Amount | TotalAmount2[5] |
Specifies the total amount on the service lines including and excluding VAT, VAT part, cost, and profit on the service lines. | |
| Sales (LCY) | TotalServLineLCY[5].Amount |
Specifies your total service sales turnover in the fiscal year. It is calculated from amounts excluding VAT on all completed and open service sales invoices and credit memos. | |
| Original Profit (LCY) | ProfitLCY[5] |
Specifies the original profit that was associated with the service document. | |
| Adjusted Profit (LCY) | AdjProfitLCY[5] |
Specifies the amount of profit for the service document, in LCY, adjusted for any changes in the original item costs. | |
| Original Profit % | ProfitPct[5] |
Specifies the amount of the original profit on the service document, expressed as percentage of the amount in the Amount field. | |
| Adjusted Profit % | AdjProfitPct[5] |
Specifies the amount of the adjusted profit on the service document, expressed as percentage of the amount in the Amount field. | |
| Original Cost (LCY) | TotalServLineLCY[5]."Unit Cost (LCY)" |
Specifies the total cost (in LCY) of the G/L account entries, costs, items and/or resource hours on the service document. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items, resources and/or costs. | |
| Adjusted Cost (LCY) | TotalAdjCostLCY[5] |
Specifies the total cost, in LCY, of the items in the service document, adjusted for any changes in the original costs of these items. | |
| Cost Adjmt. Amount (LCY) | TotalAdjCostLCY[5] - TotalServLineLCY[5]."Unit Cost (LCY)" |
Specifies the difference between the original cost and the total adjusted cost of the items in the service document. | |
| Resources | Quantity | TotalServLine[6].Quantity |
Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. |
| Amount_Resources | TotalServLine[6]."Line Amount" |
— | |
| Inv. Discount Amount | TotalServLine[6]."Inv. Discount Amount" |
Specifies the invoice discount amount for the entire service document. | |
| TotalAmount1[6] | TotalAmount1[6] |
— | |
| VAT Amount_Resources | VATAmount[6] |
— | |
| Total Incl. VAT_Resources | TotalAmount2[6] |
— | |
| Amount (LCY) | TotalServLineLCY[6].Amount |
Specifies the amount of the ledger entry, in the local currency. | |
| Profit (LCY) | ProfitLCY[6] |
Specifies the profit related to the service document, in local currency. | |
| Profit (LCY) | AdjProfitLCY[6] |
Specifies the profit related to the service document, in local currency. | |
| Profit % | ProfitPct[6] |
Specifies the amount of profit as percentage of the invoiced amount. | |
| Text006 | Text006 |
— | |
| Cost (LCY) | TotalServLineLCY[6]."Unit Cost (LCY)" |
Specifies the total cost of the service in LCY. | |
| Control85 | Text006 |
— | |
| Placeholder2 | Text006 |
— | |
| Costs & G/L Accounts | Quantity | TotalServLine[7].Quantity |
Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. |
| Amount_Costs | TotalServLine[7]."Line Amount" |
— | |
| Inv. Discount Amount | TotalServLine[7]."Inv. Discount Amount" |
Specifies the invoice discount amount for the entire service document. | |
| TotalAmount1[7] | TotalAmount1[7] |
— | |
| VAT Amount_Costs | VATAmount[7] |
— | |
| Total Incl. VAT_Costs | TotalAmount2[7] |
— | |
| Amount (LCY) | TotalServLineLCY[7].Amount |
Specifies the amount of the ledger entry, in the local currency. | |
| Profit (LCY) | ProfitLCY[7] |
Specifies the profit related to the service document, in local currency. | |
| Profit (LCY) | AdjProfitLCY[7] |
Specifies the profit related to the service document, in local currency. | |
| Profit % | ProfitPct[7] |
Specifies the amount of profit as percentage of the invoiced amount. | |
| Placeholder3 | Text006 |
— | |
| Cost (LCY) | TotalServLineLCY[7]."Unit Cost (LCY)" |
Specifies the total cost of the service in LCY. | |
| Placeholder5 | Text006 |
— | |
| Placeholder7 | Text006 |
— | |
| Customer | Balance (LCY) | Cust."Balance (LCY)" |
Specifies the balance in LCY on the customer’s account. |
| Credit Limit (LCY) | Cust."Credit Limit (LCY)" |
Specifies the credit limit of the customer on the service document. The value 0 represents unlimited credit. | |
| Expended % of Credit Limit (LCY) | CreditLimitLCYExpendedPct |
Specifies the expended percentage of the credit limit in (LCY). |
Events published
OnAfterUpdateHeaderInfo(var TotalServLineLCY: array[7] of Record "Service Line"; var IndexNo: Integer)(integration)OnAfterGetRecordAfterCalcProfit(var ServiceHeader: Record "Service Header"; var IsHandled: Boolean)(integration)OnUpdateHeaderInfoOnAfterCalcTotalAmount(var ServiceHeader: Record "Service Header")(integration)
Procedures
9 local procedures, no public ones.
Triggers
OnAfterGetRecord, OnOpenPage, OnQueryClosePage
Relations
- source table Table 5900 “Service Header”
Extended by
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 5986 “Serv-Amounts Mgt.” (2 calls:
OnAfterGetRecord → GetServiceLines,OnAfterGetRecord → SumServiceLinesTemp) - Codeunit 5950 “Service-Calc. Discount” (1 call:
OnOpenPage → CalculateIncDiscForHeader)
Recent changes
- 2026-10-06 #12290 Remove CLEAN27 from Service Management (main, BC30, refactor)
Documented on Microsoft Learn
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: "Service Statistics"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.