Page 5914 "Service Order Statistics"
Base Application · Microsoft.Service.Document
Across versions
- BC23-30present
Neighbourhood 6 connected objects and pages
Base Application · Microsoft.Service.Document · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Service Order Statistics |
| SourceTable | Service Header |
| PageType | Card |
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_General | TotalServLine[1]."Line Amount" |
Specifies the line amount. |
| Inv. Discount Amount | TotalServLine[1]."Inv. Discount Amount" |
Specifies the invoice discount amount for the entire service order. | |
| TotalAmount1[1] | TotalAmount1[1] |
— | |
| VAT Amount | VATAmount[1] |
Specifies the total VAT amount that has been calculated for all the lines in the service order. | |
| Total Incl. VAT_General | TotalAmount2[1] |
— | |
| 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 total cost, in LCY, of the G/L account entries, costs, items and/or resources in the service order. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items or resources. | |
| Adjusted Profit (LCY) | AdjProfitLCY[1] |
Specifies the amount of profit for the service order, in LCY, adjusted for any changes in the original item costs. | |
| Original Profit % | ProfitPct[1] |
Specifies the profit percentage prior to any item cost adjustments on the service order. | |
| Adjusted Profit % | AdjProfitPct[1] |
Specifies the amount of the adjusted profit on the service order, expressed as percentage of the amount in the Amount Excl. VAT (Amount Incl. VAT) 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 quantity of parcels of the items specified on the service lines in the order. | |
| Net Weight | TotalServLine[1]."Net Weight" |
Specifies the net weight of the items specified on the service lines in the order. | |
| Gross Weight | TotalServLine[1]."Gross Weight" |
Specifies the gross weight of the items on the service lines in the order. | |
| Volume | TotalServLine[1]."Unit Volume" |
Specifies the volume of the items on the service lines in the order. | |
| Original Cost (LCY) | TotalServLineLCY[1]."Unit Cost (LCY)" |
Specifies the total cost, in LCY, of the G/L account entries, costs, items and/or resources in the service order. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items. | |
| Adjusted Cost (LCY) | TotalAdjCostLCY[1] |
Specifies the total cost, in LCY, of the items in the service order, 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 order. | |
| No. of VAT Lines | TempVATAmountLine1.Count |
Specifies the number of service order lines that are associated with the VAT ledger line. | |
| Reserved from stock | Rec.GetQtyReservedFromStockState() |
Specifies what part of the service order is reserved from inventory. | |
| Invoicing | Quantity | TotalServLine[2].Quantity |
Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. |
| Amount | TotalServLine[2]."Line Amount" |
Specifies the amount for the relevant service order. | |
| Inv. Discount Amount | TotalServLine[2]."Inv. Discount Amount" |
Specifies the invoice discount amount for the entire service order. | |
| Total | TotalAmount1[2] |
Specifies the total amount. | |
| VAT Amount | VATAmount[2] |
Specifies the total VAT amount that has been calculated for all the lines in the service order. | |
| Total Amount | TotalAmount2[2] |
Specifies the total amounts on the service order that result from adding the invoicing amounts to the consuming amounts. | |
| Sales (LCY) | TotalServLineLCY[2].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[2] |
Specifies the total cost, in LCY, of the G/L account entries, costs, items and/or resources in the service order. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items or resources. | |
| Adjusted Profit (LCY) | AdjProfitLCY[2] |
Specifies the amount of profit for the service order, in LCY, adjusted for any changes in the original item costs. | |
| Original Profit % | ProfitPct[2] |
Specifies the profit percentage prior to any item cost adjustments on the service order. | |
| Adjusted Profit % | AdjProfitPct[2] |
Specifies the amount of the adjusted profit on the service order, expressed as percentage of the amount in the Amount Excl. VAT (Amount Incl. VAT) field. | |
| Original Cost (LCY) | TotalServLineLCY[2]."Unit Cost (LCY)" |
Specifies the total cost, in LCY, of the G/L account entries, costs, items and/or resources in the service order. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items or resources. | |
| Adjusted Cost (LCY) | TotalAdjCostLCY[2] |
Specifies the total cost, in LCY, of the items in the service order, adjusted for any changes in the original costs of these items | |
| Cost Adjmt. Amount (LCY) | TotalAdjCostLCY[2] - TotalServLineLCY[2]."Unit Cost (LCY)" |
Specifies the difference between the original cost and the total adjusted cost of the items in the service order. | |
| Consuming | Quantity | TotalServLine[4].Quantity |
Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. |
| Text006 | Text006 |
— | |
| Placeholder2 | Text006 |
— | |
| Placeholder3 | Text006 |
— | |
| placeholder5 | Text006 |
— | |
| Placeholder6 | Text006 |
— | |
| Placeholder7 | Text006 |
— | |
| Original Profit (LCY) | ProfitLCY[4] |
Specifies the total cost, in LCY, of the G/L account entries, costs, items and/or resources in the service order. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items or resources. | |
| Adjusted Profit (LCY) | AdjProfitLCY[4] |
Specifies the amount of profit for the service order, in LCY, adjusted for any changes in the original item costs. | |
| Original Profit % | ProfitPct[4] |
Specifies the amount of original profit for the service order (in LCY), prior to any item cost adjustment. The program calculates the amount as the difference between the values in the Amount Excl. VAT (Amount Incl. VAT) and the Original Cost (LCY) fields. | |
| Adjusted Profit % | AdjProfitPct[4] |
Specifies the amount of the adjusted profit on the service order, expressed as percentage of the amount in the Amount Excl. VAT (Amount Incl. VAT) field. | |
| Cost (LCY) | TotalServLineLCY[4]."Unit Cost (LCY)" |
Specifies the total cost of the service in LCY. | |
| Adjusted Cost (LCY) | TotalAdjCostLCY[4] |
Specifies the total cost, in LCY, of the items in the service order, adjusted for any changes in the original costs of these items | |
| Adjustment Cost (LCY) | TotalAdjCostLCY[4] - TotalServLineLCY[4]."Unit Cost (LCY)" |
Specifies the total cost, in LCY, of the items in the service order, adjusted for any changes in the original costs of these items. | |
| Total | Quantity | TotalServLine[2].Quantity + TotalServLine[4].Quantity |
Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. |
| TotalServLine[2].““Line Amount”” | TotalServLine[2]."Line Amount" |
— | |
| Inv. Discount Amount | TotalServLine[2]."Inv. Discount Amount" |
Specifies the invoice discount amount for the entire service order. | |
| TotalAmount1[2] | TotalAmount1[2] |
— | |
| VATAmount[2] | VATAmount[2] |
— | |
| TotalAmount2[2] | TotalAmount2[2] |
— | |
| Amount (LCY) | TotalServLineLCY[2].Amount |
Specifies the amount of the ledger entry, in the local currency. | |
| Profit (LCY) | AdjProfitLCY[2] + AdjProfitLCY[4] |
Specifies the profit related to the service order, in local currency. | |
| Profit (LCY) | ProfitLCY[2] + ProfitLCY[4] |
Specifies the profit related to the service order, in local currency. | |
| Profit % | GetDetailsTotalAmt() |
Specifies the percent of profit related to the service order. | |
| Profit % | GetAdjDetailsTotalAmt() |
Specifies the percent of profit related to the service order. | |
| Cost (LCY) | TotalServLineLCY[2]."Unit Cost (LCY)" + TotalServLineLCY[4]."Unit Cost (LCY)" |
Specifies the total cost of the service in LCY. | |
| Cost (LCY) | TotalAdjCostLCY[2] + TotalAdjCostLCY[4] |
Specifies the total cost of the service in LCY. | |
| Cost (LCY) | (TotalAdjCostLCY[2] - TotalServLineLCY[2]."Unit Cost (LCY)") + (TotalAdjCostLCY[4] - TotalServLineLCY[4]."Unit Cost (LCY)") |
Specifies the total cost of the service in LCY. | |
| Shipping | Amount_Shipping | TotalServLine[3]."Line Amount" |
— |
| Inv. Discount Amount | TotalServLine[3]."Inv. Discount Amount" |
Specifies the invoice discount amount for the entire service order. | |
| TotalAmount1[3] | TotalAmount1[3] |
— | |
| VAT Amount_Shipping | VATAmount[3] |
— | |
| Total Incl. VAT_Shipping | TotalAmount2[3] |
— | |
| Sales (LCY) | TotalServLineLCY[3].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. | |
| Cost (LCY) | TotalServLineLCY[3]."Unit Cost (LCY)" |
Specifies the total cost of the service in LCY. | |
| Profit (LCY) | ProfitLCY[3] |
Specifies the profit related to the service order, in local currency. | |
| Profit % | ProfitPct[3] |
Specifies the percent of profit related to the service order. | |
| Quantity | TotalServLine[3].Quantity |
Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. | |
| Parcels | TotalServLine[3]."Units per Parcel" |
Specifies the quantity of parcels of the items specified on the service lines in the order. | |
| Net Weight | TotalServLine[3]."Net Weight" |
Specifies the net weight of the items specified on the service lines in the order. | |
| Gross Weight | TotalServLine[3]."Gross Weight" |
Specifies the gross weight of the items on the service lines in the order. | |
| Volume | TotalServLine[3]."Unit Volume" |
Specifies the volume of the items on the service lines in the order. | |
| No. of VAT Lines | TempVATAmountLine3.Count |
Specifies the number of service order lines that are associated with the VAT ledger line. | |
| 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 order. | |
| Total | TotalAmount1[5] |
Specifies the total amount. | |
| VAT Amount | VATAmount[5] |
Specifies the total VAT amount that has been calculated for all the lines in the service order. | |
| Total Amount | TotalAmount2[5] |
Specifies the total amount minus any invoice discount amount for the service order. The value does not include VAT. | |
| 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 total cost, in LCY, of the G/L account entries, costs, items and/or resources in the service order. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items or resources. | |
| Adjusted Profit (LCY) | AdjProfitLCY[5] |
Specifies the amount of profit for the service order, in LCY, adjusted for any changes in the original item costs. | |
| Original Profit % | ProfitPct[5] |
Specifies the amount of original profit for the service order (in LCY), prior to any item cost adjustment. The program calculates the amount as the difference between the values in the Amount Excl. VAT (Amount Incl. VAT) and the Original Cost (LCY) fields. | |
| Adjusted Profit % | AdjProfitPct[5] |
Specifies the amount of the adjusted profit on the service order, expressed as percentage of the amount in the Amount Excl. VAT (Amount Incl. VAT) 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 resources in the service order. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items. | |
| Adjusted Cost (LCY) | TotalAdjCostLCY[5] |
Specifies the total cost, in LCY, of the items in the service order, 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 order. | |
| 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 order. | |
| 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 order, in local currency. | |
| Profit (LCY) | AdjProfitLCY[6] |
Specifies the profit related to the service order, in local currency. | |
| Profit % | ProfitPct[6] |
Specifies the percent of profit related to the service order. | |
| Placeholder9 | Text006 |
— | |
| Cost (LCY) | TotalServLineLCY[6]."Unit Cost (LCY)" |
Specifies the total cost of the service in LCY. | |
| Placeholder10 | Text006 |
— | |
| Placeholder11 | 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 order. | |
| 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 order, in local currency. | |
| Profit (LCY) | AdjProfitLCY[7] |
Specifies the profit related to the service order, in local currency. | |
| Profit % | ProfitPct[7] |
Specifies the percent of profit related to the service order. | |
| Placeholder12 | Text006 |
— | |
| Cost (LCY) | TotalServLineLCY[7]."Unit Cost (LCY)" |
Specifies the total cost of the service in LCY. | |
| Placeholder14 | Text006 |
— | |
| Placeholder15 | 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
OnAfterCalcTotalAmount()(integration)OnAfterUpdateHeaderInfo(var TotalServLineLCY: array[7] of Record "Service Line"; var IndexNo: Integer)(integration)OnBeforeCalcTotalAmount(var TempServLine: Record "Service Line" temporary)(integration)OnVATLinesDrillDownOnBeforeRunVATLinesForm()(integration)OnUpdateHeaderInfoOnAfterCalcTotalAmount2()(integration)
Procedures
UpdateHeaderInfo(IndexNo: Integer; var VATAmountLine: Record "VAT Amount Line")(protected)VATLinesDrillDown(var VATLinesToDrillDown: Record "VAT Amount Line"; ThisTabAllowsVATEditing: Boolean)(protected)
Plus 10 local procedures.
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 → (object))
Called by
- Codeunit 6485 “Serv. Get Demand To Reserve” (1 call:
OnShowStatistics → (object))
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 Order Statistics"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.