mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-07 23:56:56 +01:00
31 lines
No EOL
625 B
AL
31 lines
No EOL
625 B
AL
report 50110 "Customer Export"
|
|
{
|
|
ProcessingOnly = true;
|
|
|
|
dataset
|
|
{
|
|
dataitem(Customer; Customer)
|
|
{
|
|
}
|
|
}
|
|
|
|
trigger OnPreReport()
|
|
var
|
|
ExportSetup: Record "Customer Export Setup";
|
|
begin
|
|
ExportSetup.Get();
|
|
ExportSetup.TestField("Export Date");
|
|
end;
|
|
}
|
|
|
|
reportextension 50111 "Customer Export Extension" extends "Customer Export"
|
|
{
|
|
trigger OnPreReport()
|
|
var
|
|
ExportSetup: Record "Customer Export Setup";
|
|
begin
|
|
ExportSetup.Get();
|
|
ExportSetup.Validate("Export Date", Today());
|
|
ExportSetup.Modify(true);
|
|
end;
|
|
} |