Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Customization/src/CustomerCardExtension.PageExt.al
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pageextension 80550 "Customer Card Extension" extends "Customer Card"
{
layout
{
addafter("Balance (LCY)")
{
field("Due Amount"; Rec."Due Amount")
{
ApplicationArea = All;
Caption = 'Due Amount';
ToolTip = 'Specifies the total due amount for the customer based on the applied date filter.';
}
}
}
}
15 changes: 15 additions & 0 deletions Customization/src/CustomerExtension.TableExt.al
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
tableextension 80550 "Customer Extension" extends Customer
{
fields
{
field(80550; "Due Amount"; Decimal)
{
FieldClass = FlowField;
CalcFormula = Sum("Detailed Cust. Ledg. Entry".Amount where("Customer No." = field("No."),
"Initial Entry Due Date" = field("Date Filter")));
Caption = 'Due Amount';
Editable = false;
ToolTip = 'Specifies the total due amount for the customer based on the applied date filter.';
}
}
}
15 changes: 15 additions & 0 deletions Customization/src/VendorCardExtension.PageExt.al
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pageextension 80551 "Vendor Card Extension" extends "Vendor Card"
{
layout
{
addafter("Balance (LCY)")
{
field("Due Amount"; Rec."Due Amount")
{
ApplicationArea = All;
Caption = 'Due Amount';
ToolTip = 'Specifies the total due amount for the vendor based on the applied date filter.';
}
}
}
}
15 changes: 15 additions & 0 deletions Customization/src/VendorExtension.TableExt.al
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
tableextension 80551 "Vendor Extension" extends Vendor
{
fields
{
field(80551; "Due Amount"; Decimal)
{
FieldClass = FlowField;
CalcFormula = Sum("Detailed Vendor Ledg. Entry".Amount where("Vendor No." = field("No."),
"Initial Entry Due Date" = field("Date Filter")));
Caption = 'Due Amount';
Editable = false;
ToolTip = 'Specifies the total due amount for the vendor based on the applied date filter.';
}
}
}