From 561ad816e716c0028103eadd71b90a6b8b2dc5bd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 14:34:01 +0000 Subject: [PATCH 1/3] Initial plan From 7d96ba79609be6dc56324534581d4768bfb2c633 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 14:35:56 +0000 Subject: [PATCH 2/3] Fix FlowFields in PVS Case table extension and update page extension --- Prototyping/PVSCase.TableExt.al | 22 ++++++++++++++++++++++ Prototyping/PVSCaseList.PageExt.al | 21 +++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 Prototyping/PVSCase.TableExt.al create mode 100644 Prototyping/PVSCaseList.PageExt.al diff --git a/Prototyping/PVSCase.TableExt.al b/Prototyping/PVSCase.TableExt.al new file mode 100644 index 0000000..eedbf33 --- /dev/null +++ b/Prototyping/PVSCase.TableExt.al @@ -0,0 +1,22 @@ +tableextension 50100 "PVS Case Ext. Pricing" extends "PVS Case" +{ + fields + { + field(50100; "Quoted Price Total"; Decimal) + { + Caption = 'Quoted Price Total'; + Editable = false; + FieldClass = FlowField; + CalcFormula = sum("PVS Job"."Quoted Price" where("Case ID" = field("Case ID"), + Status = const(Quote))); + } + field(50101; "Ordered Price Total"; Decimal) + { + Caption = 'Ordered Price Total'; + Editable = false; + FieldClass = FlowField; + CalcFormula = sum("PVS Job"."Quoted Price" where("Case ID" = field("Case ID"), + Status = const(Order))); + } + } +} diff --git a/Prototyping/PVSCaseList.PageExt.al b/Prototyping/PVSCaseList.PageExt.al new file mode 100644 index 0000000..4989311 --- /dev/null +++ b/Prototyping/PVSCaseList.PageExt.al @@ -0,0 +1,21 @@ +pageextension 50101 "PVS Case List Ext. Pricing" extends "PVS Case List" +{ + layout + { + addlast(Content) + { + field("Quoted Price Total"; Rec."Quoted Price Total") + { + ApplicationArea = All; + Caption = 'Quoted Price Total'; + ToolTip = 'Specifies the sum of PVS Job quoted prices for this case where the status is Quote.'; + } + field("Ordered Price Total"; Rec."Ordered Price Total") + { + ApplicationArea = All; + Caption = 'Ordered Price Total'; + ToolTip = 'Specifies the sum of PVS Job quoted prices for this case where the status is Order.'; + } + } + } +} From 035f22e48e6c9455584b0498dce4ae8c14d6532c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 14:36:23 +0000 Subject: [PATCH 3/3] Fix tooltip for Ordered Price Total field --- Prototyping/PVSCaseList.PageExt.al | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Prototyping/PVSCaseList.PageExt.al b/Prototyping/PVSCaseList.PageExt.al index 4989311..8752a21 100644 --- a/Prototyping/PVSCaseList.PageExt.al +++ b/Prototyping/PVSCaseList.PageExt.al @@ -14,7 +14,7 @@ pageextension 50101 "PVS Case List Ext. Pricing" extends "PVS Case List" { ApplicationArea = All; Caption = 'Ordered Price Total'; - ToolTip = 'Specifies the sum of PVS Job quoted prices for this case where the status is Order.'; + ToolTip = 'Specifies the sum of PVS Job ordered prices for this case where the status is Order.'; } } }