mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 06:36:55 +01:00
* knowledge(performance): add job queue reliability guidance * Address Job Queue review feedback * Address Job Queue routing review feedback * Encode job queue conflict in fixtures * Add reporting review guidance and fixtures * Fix reporting article reference
37 lines
No EOL
816 B
AL
37 lines
No EOL
816 B
AL
report 50110 "Customer Export"
|
|
{
|
|
ProcessingOnly = true;
|
|
|
|
dataset
|
|
{
|
|
dataitem(Customer; Customer)
|
|
{
|
|
}
|
|
}
|
|
|
|
trigger OnPreReport()
|
|
var
|
|
ExportDate: Date;
|
|
begin
|
|
OnBeforeResolveExportDate(ExportDate);
|
|
if ExportDate = 0D then
|
|
Error(ExportDateRequiredErr);
|
|
end;
|
|
|
|
[IntegrationEvent(false, false)]
|
|
local procedure OnBeforeResolveExportDate(var ExportDate: Date)
|
|
begin
|
|
end;
|
|
|
|
var
|
|
ExportDateRequiredErr: Label 'An export date is required.';
|
|
}
|
|
|
|
codeunit 50111 "Customer Export Extension"
|
|
{
|
|
[EventSubscriber(ObjectType::Report, Report::"Customer Export", 'OnBeforeResolveExportDate', '', false, false)]
|
|
local procedure SetExportDate(var ExportDate: Date)
|
|
begin
|
|
ExportDate := Today();
|
|
end;
|
|
} |