From 6085b1ca85ee04a07073595abf0834658b6e7b58 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 14:49:51 +0000 Subject: [PATCH 1/3] Initial plan From 43422ebf290320aa868642da400790abfb49a76b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 14:51:35 +0000 Subject: [PATCH 2/3] Add Quoted Price and Ordered Price FlowFields to PVS Case and PVS Case List --- Prototyping/PVSCaseExt.TableExt.al | 22 ++++++++++++++++++++++ Prototyping/PVSCaseListExt.PageExt.al | 19 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 Prototyping/PVSCaseExt.TableExt.al create mode 100644 Prototyping/PVSCaseListExt.PageExt.al diff --git a/Prototyping/PVSCaseExt.TableExt.al b/Prototyping/PVSCaseExt.TableExt.al new file mode 100644 index 0000000..022c91c --- /dev/null +++ b/Prototyping/PVSCaseExt.TableExt.al @@ -0,0 +1,22 @@ +tableextension 50100 "PVS Case Ext" extends "PVS Case" +{ + fields + { + field(50100; "Quoted Price"; Decimal) + { + FieldClass = FlowField; + CalcFormula = sum("PVS Job"."Quoted Price" where(ID = field(ID), + Status = const(Quote), + Active = const(true))); + Editable = false; + } + field(50101; "Ordered Price"; Decimal) + { + FieldClass = FlowField; + CalcFormula = sum("PVS Job"."Quoted Price" where(ID = field(ID), + Status = const(Order), + Active = const(true))); + Editable = false; + } + } +} diff --git a/Prototyping/PVSCaseListExt.PageExt.al b/Prototyping/PVSCaseListExt.PageExt.al new file mode 100644 index 0000000..bee10dc --- /dev/null +++ b/Prototyping/PVSCaseListExt.PageExt.al @@ -0,0 +1,19 @@ +pageextension 50101 "PVS Case List Ext" extends "PVS Case List" +{ + layout + { + addlast(content) + { + field("Quoted Price"; Rec."Quoted Price") + { + ApplicationArea = All; + ToolTip = 'Specifies the total quoted price of all active job lines with status Quote.'; + } + field("Ordered Price"; Rec."Ordered Price") + { + ApplicationArea = All; + ToolTip = 'Specifies the total quoted price of all active job lines with status Order.'; + } + } + } +} From 5445ead474ea980dd8ee1cf342a8897b5c454e50 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 14:52:01 +0000 Subject: [PATCH 3/3] Fix Ordered Price tooltip text --- Prototyping/PVSCaseListExt.PageExt.al | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Prototyping/PVSCaseListExt.PageExt.al b/Prototyping/PVSCaseListExt.PageExt.al index bee10dc..8e51a6a 100644 --- a/Prototyping/PVSCaseListExt.PageExt.al +++ b/Prototyping/PVSCaseListExt.PageExt.al @@ -12,7 +12,7 @@ pageextension 50101 "PVS Case List Ext" extends "PVS Case List" field("Ordered Price"; Rec."Ordered Price") { ApplicationArea = All; - ToolTip = 'Specifies the total quoted price of all active job lines with status Order.'; + ToolTip = 'Specifies the total ordered price of all active job lines with status Order.'; } } }